Skip to content

Commit 4e4ffd0

Browse files
committed
chore: 更新依赖版本
1 parent 5bfef50 commit 4e4ffd0

File tree

10 files changed

+9500
-7869
lines changed

10 files changed

+9500
-7869
lines changed

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"linebreak-style": ["error", "unix"],
1717
"quotes": ["error", "single"],
1818
"semi": ["error", "always"],
19-
"react/prop-types": "off"
19+
"react/prop-types": "off",
20+
"react/react-in-jsx-scope": "off"
2021
},
2122
"ignorePatterns": ["config/*.js"]
2223
}

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx commitlint -g ./config/commitlint.js --edit

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx lint-staged

package.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"analyze": "cross-env ANALYZE=TRUE craco build",
88
"build": "craco build",
9-
"prepare": "husky install",
9+
"prepare": "husky",
1010
"start": "craco start"
1111
},
1212
"lint-staged": {
@@ -27,40 +27,40 @@
2727
]
2828
},
2929
"dependencies": {
30-
"classnames": "^2.3.2",
31-
"react": "^18.2.0",
32-
"react-dom": "^18.2.0",
33-
"react-router-dom": "^6.8.2"
30+
"classnames": "^2.5.1",
31+
"react": "^18.3.1",
32+
"react-dom": "^18.3.1",
33+
"react-router-dom": "^6.26.2"
3434
},
3535
"devDependencies": {
36-
"@commitlint/cli": "^17.4.4",
37-
"@commitlint/config-conventional": "^17.4.4",
38-
"@craco/craco": "^7.0.0",
39-
"@craco/types": "^7.0.0",
40-
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
41-
"@types/react": "^18.0.28",
42-
"@types/react-dom": "^18.0.11",
43-
"@typescript-eslint/eslint-plugin": "^6.19.0",
44-
"@typescript-eslint/parser": "^6.19.0",
45-
"craco-css-modules": "^1.0.4",
46-
"craco-esbuild": "^0.5.1",
36+
"@commitlint/cli": "^19.5.0",
37+
"@commitlint/config-conventional": "^19.5.0",
38+
"@craco/craco": "^7.1.0",
39+
"@craco/types": "^7.1.0",
40+
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
41+
"@types/react": "^18.3.5",
42+
"@types/react-dom": "^18.3.0",
43+
"@typescript-eslint/eslint-plugin": "^8.5.0",
44+
"@typescript-eslint/parser": "^8.5.0",
45+
"craco-css-modules": "^1.0.6",
46+
"craco-esbuild": "^0.6.1",
4747
"cross-env": "^7.0.3",
48-
"eslint": "^8.35.0",
49-
"eslint-config-prettier": "^8.7.0",
50-
"husky": "^8.0.3",
51-
"lint-staged": "^13.1.2",
52-
"prettier": "^2.8.4",
53-
"prettier-plugin-packagejson": "^2.4.9",
48+
"eslint": "^8.57.0",
49+
"eslint-config-prettier": "^8.10.0",
50+
"husky": "^9.1.6",
51+
"lint-staged": "^15.2.10",
52+
"prettier": "^3.3.3",
53+
"prettier-plugin-packagejson": "^2.5.2",
5454
"react-scripts": "^5.0.1",
55-
"sass": "^1.58.3",
55+
"sass": "^1.78.0",
5656
"speed-measure-webpack-plugin": "^1.5.0",
57-
"stylelint": "^15.2.0",
58-
"stylelint-config-standard": "^30.0.1",
59-
"stylelint-config-standard-scss": "^7.0.1",
60-
"typescript": "^5.3.3",
61-
"webpack-bundle-analyzer": "^4.8.0",
57+
"stylelint": "^16.9.0",
58+
"stylelint-config-standard": "^36.0.1",
59+
"stylelint-config-standard-scss": "^13.1.0",
60+
"typescript": "^5.6.2",
61+
"webpack-bundle-analyzer": "^4.10.2",
6262
"webpack-subresource-integrity": "^5.1.0"
6363
},
64-
"packageManager": "pnpm@8.14.0",
64+
"packageManager": "pnpm@9.10.0",
6565
"cracoConfig": "./config/craco.js"
66-
}
66+
}

0 commit comments

Comments
 (0)