Skip to content

Commit 18ea0af

Browse files
committed
chore: 升级依赖等
1 parent 6853755 commit 18ea0af

File tree

4 files changed

+417
-392
lines changed

4 files changed

+417
-392
lines changed

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "一套基于react19、ts、vite6的项目模板,帮助快速搭建react项目",
44
"version": "1.0.0",
55
"type": "module",
6-
"packageManager": "pnpm@9.14.4",
6+
"packageManager": "pnpm@9.15.1",
77
"author": "huangmingfu <[email protected]>",
88
"license": "MIT",
99
"homepage": "https://github.com/huangmingfu/react-ts-template",
@@ -34,24 +34,23 @@
3434
"lint:format": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs,mjs,html,scss,css,json}\"",
3535
"lint:style": "stylelint \"**/*.{css,scss}\" --fix",
3636
"lint:all": "pnpm run lint:eslint && pnpm run lint:style && pnpm run lint:format",
37-
"lint:lint-staged": "lint-staged",
38-
"prepare": "husky install",
39-
"preinstall": "npx only-allow pnpm",
4037
"push": "sh scripts/push.sh",
4138
"clean": "rm -rf node_modules dist dist-*",
4239
"deps:check": "pnpm outdated -r",
43-
"deps:update": "pnpm update --latest"
40+
"deps:update": "pnpm update --latest",
41+
"prepare": "husky install",
42+
"preinstall": "npx only-allow pnpm"
4443
},
4544
"dependencies": {
4645
"ahooks": "^3.8.4",
4746
"axios": "^1.7.9",
4847
"classnames": "^2.5.1",
4948
"dayjs": "^1.11.13",
50-
"es-toolkit": "^1.30.1",
49+
"es-toolkit": "^1.31.0",
5150
"immer": "^10.1.1",
5251
"react": "^19.0.0",
5352
"react-dom": "^19.0.0",
54-
"react-router": "^7.1.0",
53+
"react-router": "^7.1.1",
5554
"zustand": "^5.0.2"
5655
},
5756
"devDependencies": {
@@ -61,17 +60,17 @@
6160
"@eslint/js": "^9.17.0",
6261
"@react-dev-inspector/vite-plugin": "^2.0.1",
6362
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
64-
"@types/node": "^22.10.2",
63+
"@types/node": "^22.10.3",
6564
"@types/react": "^19.0.2",
6665
"@types/react-dom": "^19.0.2",
6766
"@vitejs/plugin-react-swc": "^3.7.2",
6867
"eslint": "^9.17.0",
69-
"eslint-plugin-react": "^7.37.2",
68+
"eslint-plugin-react": "^7.37.3",
7069
"eslint-plugin-react-hooks": "^5.1.0",
7170
"eslint-plugin-react-refresh": "^0.4.16",
7271
"globals": "^15.14.0",
7372
"husky": "^9.1.7",
74-
"lint-staged": "^15.2.11",
73+
"lint-staged": "^15.3.0",
7574
"prettier": "^3.4.2",
7675
"react-dev-inspector": "^2.0.1",
7776
"sass": "^1.83.0",
@@ -81,8 +80,8 @@
8180
"stylelint-config-standard-scss": "^14.0.0",
8281
"stylelint-order": "^6.0.4",
8382
"typescript": "~5.7.2",
84-
"typescript-eslint": "^8.18.1",
85-
"vite": "^6.0.5",
83+
"typescript-eslint": "^8.19.0",
84+
"vite": "^6.0.6",
8685
"vite-plugin-checker": "^0.8.0"
8786
},
8887
"engines": {

0 commit comments

Comments
 (0)