Skip to content

Commit 11f5e8f

Browse files
committed
Compatible Vue 3.3 and TypeScript 5.
Update dependencies.
1 parent e124cad commit 11f5e8f

File tree

4 files changed

+340
-414
lines changed

4 files changed

+340
-414
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "vue-codemirror6",
4-
"version": "1.1.20",
4+
"version": "1.1.21",
55
"license": "MIT",
66
"description": "CodeMirror6 Component for vue2 and vue3.",
77
"keywords": [
@@ -79,28 +79,28 @@
7979
"vue": "^2.7.14 || ^3.2"
8080
},
8181
"devDependencies": {
82-
"@codemirror/lang-javascript": "^6.1.7",
82+
"@codemirror/lang-javascript": "^6.1.8",
8383
"@codemirror/lang-json": "^6.0.1",
8484
"@codemirror/lang-markdown": "^6.1.1",
8585
"@codemirror/lang-vue": "^0.1.1",
86-
"@tsconfig/node-lts": "^18.12.1",
87-
"@types/node": "^18.16.3",
88-
"@typescript-eslint/eslint-plugin": "^5.59.2",
89-
"@typescript-eslint/parser": "^5.59.2",
90-
"@vitejs/plugin-vue": "^4.2.1",
91-
"@vue/compiler-sfc": "^3.2.47",
86+
"@tsconfig/node-lts": "^18.12.2",
87+
"@types/node": "^20.1.5",
88+
"@typescript-eslint/eslint-plugin": "^5.59.6",
89+
"@typescript-eslint/parser": "^5.59.6",
90+
"@vitejs/plugin-vue": "^4.2.3",
91+
"@vue/compiler-sfc": "^3.3.2",
9292
"@vue/eslint-config-prettier": "^7.1.0",
93-
"@vue/tsconfig": "^0.3.2",
93+
"@vue/tsconfig": "^0.4.0",
9494
"@vueuse/core": "^10.1.2",
9595
"bootstrap": "5.3.0-alpha3",
96-
"eslint": "^8.39.0",
96+
"eslint": "^8.40.0",
9797
"eslint-config-standard-with-typescript": "latest",
9898
"eslint-import-resolver-alias": "^1.1.2",
9999
"eslint-import-resolver-typescript": "^3.5.5",
100-
"eslint-linter-browserify": "^8.39.0",
100+
"eslint-linter-browserify": "^8.40.0",
101101
"eslint-plugin-html": "^7.1.0",
102102
"eslint-plugin-import": "^2.27.5",
103-
"eslint-plugin-n": "^15.7.0",
103+
"eslint-plugin-n": "^16.0.0",
104104
"eslint-plugin-promise": "^6.1.1",
105105
"eslint-plugin-tsdoc": "^0.2.17",
106106
"eslint-plugin-vue": "latest",
@@ -114,14 +114,14 @@
114114
"rollup-plugin-visualizer": "^5.9.0",
115115
"sass": "^1.62.1",
116116
"typescript": "^5.0.4",
117-
"vite": "^4.3.4",
117+
"vite": "^4.3.6",
118118
"vite-plugin-banner": "^0.7.0",
119119
"vite-plugin-checker": "^0.6.0",
120120
"vite-plugin-dts": "^2.3.0",
121-
"vue": "^3.2.47",
122-
"vue-eslint-parser": "^9.2.0",
121+
"vue": "^3.3.2",
122+
"vue-eslint-parser": "^9.3.0",
123123
"vue-markdown-wasm": "^0.3.7",
124-
"vue-tsc": "^1.6.3"
124+
"vue-tsc": "^1.7.0"
125125
},
126126
"husky": {
127127
"hooks": {

tsconfig.app.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig.json",
3-
"extends": ["@vue/tsconfig/tsconfig.json", "@vue/tsconfig/tsconfig.dom.json"],
3+
"extends": "@vue/tsconfig/tsconfig.dom.json",
44
"include": [
55
"env.d.ts",
66
"src/**/*",
@@ -12,7 +12,8 @@
1212
"compilerOptions": {
1313
"composite": true,
1414
"baseUrl": ".",
15-
"paths": { "@/*": ["./src/*"], "vue-codemirror6": ["./src/index.ts"] },
16-
"lib": ["ESNext", "DOM", "DOM.Iterable"]
15+
"paths": {
16+
"@/*": ["./src/*"]
17+
}
1718
}
1819
}

tsconfig.node.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig.json",
3-
"extends": [
4-
"@tsconfig/node-lts/tsconfig.json",
5-
"@vue/tsconfig/tsconfig.json"
6-
],
3+
"extends": "@tsconfig/node-lts/tsconfig.json",
74
"include": [
85
"vite.config.*",
96
"vitest.config.*",
@@ -14,9 +11,7 @@
1411
"compilerOptions": {
1512
"composite": true,
1613
"resolveJsonModule": true,
17-
"esModuleInterop": true,
18-
"module": "NodeNext",
19-
"moduleResolution": "nodenext",
14+
"module": "ESNext",
2015
"types": ["node"]
2116
}
2217
}

0 commit comments

Comments
 (0)