Skip to content

Commit 9a744e4

Browse files
committed
chore: Update dependency
1 parent 378f54f commit 9a744e4

File tree

5 files changed

+5742
-2342
lines changed

5 files changed

+5742
-2342
lines changed

.eslintrc-auto-import.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
"ComponentPublicInstance": true,
55
"ComputedRef": true,
66
"EffectScope": true,
7+
"ExtractDefaultPropTypes": true,
8+
"ExtractPropTypes": true,
9+
"ExtractPublicPropTypes": true,
710
"InjectionKey": true,
811
"PropType": true,
912
"Ref": true,
1013
"VNode": true,
14+
"WritableComputedRef": true,
1115
"computed": true,
1216
"createApp": true,
1317
"customRef": true,
@@ -50,6 +54,7 @@
5054
"toRaw": true,
5155
"toRef": true,
5256
"toRefs": true,
57+
"toValue": true,
5358
"triggerRef": true,
5459
"unref": true,
5560
"useAttrs": true,

.eslintrc.cjs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,20 @@ module.exports = {
55
node: true
66
},
77
extends: [
8-
"./.eslintrc-auto-import.json",
9-
"airbnb-base",
8+
"eslint:recommended",
109
"plugin:@typescript-eslint/recommended",
1110
"plugin:vue/vue3-recommended",
12-
"prettier",
13-
"plugin:prettier/recommended" // 添加 prettier 插件
11+
"plugin:prettier/recommended", // 添加 prettier 插件
12+
"./.eslintrc-auto-import.json"
1413
],
1514
parserOptions: {
1615
ecmaVersion: "latest",
1716
parser: "@typescript-eslint/parser",
1817
sourceType: "module"
1918
},
20-
plugins: ["vue", "@typescript-eslint", "import"],
19+
plugins: ["vue", "prettier", "@typescript-eslint", "import"],
2120
rules: {
22-
"prettier/prettier": "error",
21+
semi: ["off"], // 要求或禁止使用分号代替 ASI
2322
quotes: ["error", "double", "avoid-escape"],
2423
"no-console": "off",
2524
"import/no-unresolved": "off",
@@ -41,4 +40,4 @@ module.exports = {
4140
}
4241
}
4342
]
44-
}
43+
};

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"printWidth": 100,
33
"tabWidth": 2,
44
"useTabs": false,
5-
"semi": false,
5+
"semi": true,
66
"vueIndentScriptAndStyle": true,
77
"singleQuote": false,
88
"quoteProps": "as-needed",

package.json

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@
4444
"scripts": {
4545
"dev": "vite",
4646
"build": "vite build",
47-
"build:types": "tsc --emitDeclarationOnly vite build",
4847
"docs-dev": "vitepress dev docs --open",
4948
"docs-build": "vitepress build docs",
5049
"docs-serve": "vitepress serve docs",
5150
"deploy-docs": "bash scripts/deploy-docs.sh",
52-
"release": "tsx scripts/release.ts",
51+
"release": "npm run build:types && tsx scripts/release.ts",
5352
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
5453
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
5554
"tsc": "tsc"
@@ -66,48 +65,46 @@
6665
"devDependencies": {
6766
"@commitlint/cli": "^16.1.0",
6867
"@commitlint/config-conventional": "^16.0.0",
69-
"@types/codemirror": "^5.60.5",
70-
"@types/diff-match-patch": "^1.0.32",
71-
"@types/node": "^16.11.13",
72-
"@typescript-eslint/eslint-plugin": "^5.54.0",
73-
"@typescript-eslint/parser": "^5.54.0",
74-
"@vitejs/plugin-vue": "^4.0.0",
75-
"@vitejs/plugin-vue-jsx": "^3.0.0",
76-
"@vue/cli-plugin-typescript": "~4.5.15",
77-
"@vueuse/core": "^9.13.0",
68+
"@types/codemirror": "^5.60.13",
69+
"@types/diff-match-patch": "^1.0.36",
70+
"@types/node": "^16.18.60",
71+
"@typescript-eslint/eslint-plugin": "^5.62.0",
72+
"@typescript-eslint/parser": "^6.10.0",
73+
"@vitejs/plugin-vue": "^4.4.0",
74+
"@vitejs/plugin-vue-jsx": "^3.0.2",
75+
"@vue/cli-plugin-typescript": "~4.5.19",
7876
"chalk": "^4.1.2",
7977
"conventional-changelog-cli": "^2.0.31",
8078
"dedent": "^0.7.0",
8179
"diff-match-patch": "^1.0.5",
82-
"eslint": "^8.35.0",
80+
"eslint": "^8.53.0",
8381
"eslint-config-airbnb-base": "^15.0.0",
84-
"eslint-config-prettier": "^8.6.0",
85-
"eslint-plugin-import": "^2.27.5",
86-
"eslint-plugin-prettier": "^4.2.1",
87-
"eslint-plugin-vue": "^9.9.0",
82+
"eslint-config-prettier": "^8.10.0",
83+
"eslint-plugin-import": "^2.29.0",
84+
"eslint-plugin-prettier": "^5.0.1",
85+
"eslint-plugin-vue": "^9.18.1",
8886
"execa": "^7.0.0",
89-
"less": "^4.1.3",
87+
"less": "^4.2.0",
9088
"lint-staged": "^10.2.10",
9189
"minimist": "^1.2.6",
9290
"picocolors": "^1.0.0",
93-
"prettier": "^2.8.4",
91+
"prettier": "^3.0.3",
9492
"prompts": "^2.4.2",
95-
"rollup-plugin-cpy": "^2.0.1",
9693
"rollup-plugin-vue": "^6.0.0",
9794
"semver": "^7.3.5",
98-
"tsx": "^3.12.3",
95+
"tsx": "^3.14.0",
9996
"enquirer": "^2.3.6",
100-
"typescript": "^4.9.5",
101-
"unplugin-auto-import": "^0.15.0",
102-
"vite": "^4.1.4",
103-
"vite-plugin-checker": "^0.5.6",
104-
"vite-plugin-dts": "^2.0.2",
105-
"vite-plugin-pages": "^0.28.0",
106-
"vite-plugin-windicss": "^1.8.10",
97+
"typescript": "^5.2.2",
98+
"unplugin-auto-import": "^0.15.3",
99+
"vite": "^4.5.0",
100+
"vite-plugin-checker": "^0.6.2",
101+
"vite-plugin-dts": "^2.3.0",
102+
"vite-plugin-pages": "^0.31.0",
103+
"vite-plugin-windicss": "^1.9.1",
107104
"vitepress": "1.0.0-alpha.49",
108-
"vue": "^3.2.47",
109-
"vue-router": "^4.1.6",
110-
"vue-tsc": "^1.2.0",
105+
"vue": "^3.3.8",
106+
"vue-router": "^4.2.5",
107+
"vue-tsc": "^1.8.22",
111108
"windicss": "^3.5.6",
112109
"yorkie-pnpm": "^2.0.1"
113110
}

0 commit comments

Comments
 (0)