chore: fix dependencies breaking change

This commit is contained in:
mutoe 2021-12-10 20:09:49 +08:00
parent c56d020525
commit a69f162b89
No known key found for this signature in database
GPG Key ID: ABE5E78D073FC208
4 changed files with 9 additions and 4 deletions

View File

@ -10,9 +10,9 @@
"lint:tsc": "vue-tsc --noEmit", "lint:tsc": "vue-tsc --noEmit",
"lint": "concurrently 'yarn build' 'yarn lint:tsc' 'yarn lint:script'", "lint": "concurrently 'yarn build' 'yarn lint:tsc' 'yarn lint:script'",
"test:unit": "cypress run-ct", "test:unit": "cypress run-ct",
"test:e2e": "yarn build && concurrently -k \"yarn serve\" \"cypress run -c baseUrl=http://localhost:5000\"", "test:e2e": "yarn build && concurrently -rk -s first \"yarn serve\" \"cypress run -c baseUrl=http://localhost:5000\"",
"test:e2e:ci": "cypress run -C cypress.prod.json", "test:e2e:ci": "cypress run -C cypress.prod.json",
"test": "test:unit && yarn test:e2e" "test": "yarn test:unit && yarn test:e2e"
}, },
"dependencies": { "dependencies": {
"@harlem/core": "^2.2.0", "@harlem/core": "^2.2.0",
@ -26,6 +26,7 @@
"@cypress/vite-dev-server": "^2.2.1", "@cypress/vite-dev-server": "^2.2.1",
"@cypress/vue": "^3.0.5", "@cypress/vue": "^3.0.5",
"@testing-library/cypress": "^8.0.2", "@testing-library/cypress": "^8.0.2",
"@types/marked": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0", "@typescript-eslint/parser": "^5.6.0",
"@vitejs/plugin-vue": "^1.10.2", "@vitejs/plugin-vue": "^1.10.2",

View File

@ -1,4 +1,4 @@
import marked from 'marked' import { marked } from 'marked'
import insane from 'insane' import insane from 'insane'
export default (markdown: string): string => { export default (markdown: string): string => {

View File

@ -1,2 +1 @@
declare module 'insane'; declare module 'insane';
declare module 'marked';

View File

@ -409,6 +409,11 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
"@types/marked@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@types/marked/-/marked-4.0.1.tgz#d588a7bbc4d6551c5e75249bc106ffda96ae33c5"
integrity sha512-ZigEmCWdNUU7IjZEuQ/iaimYdDHWHfTe3kg8ORfKjyGYd9RWumPoOJRQXB0bO+XLkNwzCthW3wUIQtANaEZ1ag==
"@types/node@*": "@types/node@*":
version "16.11.12" version "16.11.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10"