Skip to content

Commit c12967c

Browse files
committed
Fixed an error that Codemirror cannot be found in vscode.
Downgrade TypeScript. TODO: d.ts is not output correctly
1 parent 00f2212 commit c12967c

File tree

3 files changed

+866
-825
lines changed

3 files changed

+866
-825
lines changed

package.json

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
"./sfc": "./src/components/CodeMirror.ts"
5454
},
5555
"engines": {
56-
"pnpm": ">=9.7.0"
56+
"pnpm": ">=9.11.0"
5757
},
58-
"packageManager": "pnpm@9.7.0",
58+
"packageManager": "pnpm@9.11.0",
5959
"sideEffects": false,
6060
"scripts": {
6161
"dev": "vite",
@@ -72,7 +72,13 @@
7272
"version": "auto-changelog -p && git add CHANGELOG.md"
7373
},
7474
"dependencies": {
75+
"@codemirror/commands": "^6.6.2",
76+
"@codemirror/language": "^6.10.3",
77+
"@codemirror/lint": "^6.8.2",
78+
"@codemirror/state": "^6.4.1",
79+
"@codemirror/view": "^6.34.1",
7580
"codemirror": "^6.0.1",
81+
"style-mod": "^4.1.2",
7682
"vue-demi": "latest"
7783
},
7884
"peerDependencies": {
@@ -81,44 +87,44 @@
8187
"devDependencies": {
8288
"@codemirror/lang-javascript": "^6.2.2",
8389
"@codemirror/lang-json": "^6.0.1",
84-
"@codemirror/lang-markdown": "^6.2.5",
90+
"@codemirror/lang-markdown": "^6.3.0",
8591
"@codemirror/lang-vue": "0.1.2",
86-
"@eslint/js": "^9.9.0",
92+
"@eslint/js": "^9.11.1",
8793
"@tsconfig/node-lts": "^20.1.3",
88-
"@types/node": "^22.2.0",
89-
"@typescript-eslint/eslint-plugin": "^8.0.1",
90-
"@vitejs/plugin-vue": "^5.1.2",
91-
"@vue/compiler-sfc": "^3.4.37",
94+
"@types/node": "^22.7.4",
95+
"@typescript-eslint/eslint-plugin": "^8.8.0",
96+
"@vitejs/plugin-vue": "^5.1.4",
97+
"@vue/compiler-sfc": "^3.5.10",
9298
"@vue/eslint-config-prettier": "^9.0.0",
9399
"@vue/tsconfig": "^0.5.1",
94-
"@vueuse/core": "^10.11.1",
100+
"@vueuse/core": "^11.1.0",
95101
"bootstrap": "^5.3.3",
96-
"eslint": "^9.9.0",
102+
"eslint": "^9.11.1",
97103
"eslint-import-resolver-alias": "^1.1.2",
98-
"eslint-import-resolver-typescript": "^3.6.1",
99-
"eslint-linter-browserify": "^9.9.0",
100-
"eslint-plugin-import": "^2.29.1",
104+
"eslint-import-resolver-typescript": "^3.6.3",
105+
"eslint-linter-browserify": "^9.11.1",
106+
"eslint-plugin-import": "^2.30.0",
101107
"eslint-plugin-tsdoc": "^0.3.0",
102-
"eslint-plugin-vue": "^9.27.0",
108+
"eslint-plugin-vue": "^9.28.0",
103109
"eslint-plugin-vuejs-accessibility": "^2.4.1",
104110
"eslint-plugin-yaml": "^1.0.3",
105-
"husky": "^9.1.4",
106-
"lint-staged": "^15.2.8",
111+
"husky": "^9.1.6",
112+
"lint-staged": "^15.2.10",
107113
"npm-run-all": "^4.1.5",
108114
"prettier": "^3.3.3",
109115
"rimraf": "^6.0.1",
110116
"rollup-plugin-visualizer": "^5.12.0",
111-
"sass": "^1.77.8",
112-
"typescript": "^5.5.4",
113-
"typescript-eslint": "^8.0.1",
114-
"vite": "^5.4.0",
115-
"vite-plugin-banner": "^0.7.1",
116-
"vite-plugin-checker": "^0.7.2",
117-
"vite-plugin-dts": "^4.0.2",
118-
"vue": "^3.4.37",
117+
"sass": "^1.79.4",
118+
"typescript": "5.4.2",
119+
"typescript-eslint": "^8.8.0",
120+
"vite": "^5.4.8",
121+
"vite-plugin-banner": "^0.8.0",
122+
"vite-plugin-checker": "^0.8.0",
123+
"vite-plugin-dts": "^4.2.3",
124+
"vue": "^3.5.10",
119125
"vue-eslint-parser": "^9.4.3",
120126
"vue-markdown-wasm": "^0.4.0",
121-
"vue-tsc": "^2.0.29"
127+
"vue-tsc": "^2.1.6"
122128
},
123129
"husky": {
124130
"hooks": {

0 commit comments

Comments
 (0)