Skip to content

Commit

Permalink
[optimize] upgrade to Husky 9 & other latest Upstream packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Mar 19, 2024
1 parent 0ab7e17 commit 1fea308
Show file tree
Hide file tree
Showing 5 changed files with 2,633 additions and 2,638 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"extends": ["taro/react"],
"plugins": ["simple-import-sort"],
"rules": {
"@typescript-eslint/no-shadow": "off",
"import/first": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/no-shadow": "off",
"react/sort-comp": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run prepublishOnly
86 changes: 43 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"css": "less"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "taro build --type",
"dev": "taro build --watch --type",
"test": "lint-staged",
Expand All @@ -21,67 +21,67 @@
"ios >= 8"
],
"dependencies": {
"@antmjs/vantui": "^3.2.2",
"@authing/miniapp-taro": "^5.1.9",
"@babel/runtime": "^7.23.4",
"@antmjs/vantui": "^3.3.5",
"@authing/miniapp-taro": "^5.1.17",
"@babel/runtime": "^7.24.1",
"@ideamall/data-service": "1.0.0-alpha.1",
"@tarojs/components": "3.6.20",
"@tarojs/helper": "3.6.20",
"@tarojs/plugin-framework-react": "3.6.20",
"@tarojs/plugin-html": "3.6.20",
"@tarojs/plugin-http": "3.6.20",
"@tarojs/plugin-platform-alipay": "3.6.20",
"@tarojs/plugin-platform-h5": "3.6.20",
"@tarojs/plugin-platform-jd": "3.6.20",
"@tarojs/plugin-platform-qq": "3.6.20",
"@tarojs/plugin-platform-swan": "3.6.20",
"@tarojs/plugin-platform-tt": "3.6.20",
"@tarojs/plugin-platform-weapp": "3.6.20",
"@tarojs/runtime": "3.6.20",
"@tarojs/shared": "3.6.20",
"@tarojs/taro": "3.6.20",
"@tarojs/components": "3.6.25",
"@tarojs/helper": "3.6.25",
"@tarojs/plugin-framework-react": "3.6.25",
"@tarojs/plugin-html": "3.6.25",
"@tarojs/plugin-http": "3.6.25",
"@tarojs/plugin-platform-alipay": "3.6.25",
"@tarojs/plugin-platform-h5": "3.6.25",
"@tarojs/plugin-platform-jd": "3.6.25",
"@tarojs/plugin-platform-qq": "3.6.25",
"@tarojs/plugin-platform-swan": "3.6.25",
"@tarojs/plugin-platform-tt": "3.6.25",
"@tarojs/plugin-platform-weapp": "3.6.25",
"@tarojs/runtime": "3.6.25",
"@tarojs/shared": "3.6.25",
"@tarojs/taro": "3.6.25",
"@vant/area-data": "^1.5.1",
"@vant/icons": "^3.0.2",
"bootstrap": "^5.3.2",
"classnames": "^2.3.2",
"bootstrap": "^5.3.3",
"classnames": "^2.5.1",
"koajax": "^0.9.6",
"lodash.debounce": "^4.0.8",
"mobx": "^4.15.7",
"mobx-i18n": "^0.4.2",
"mobx-react": "^6.3.1",
"mobx-restful": "^0.6.12",
"preact": "^10.19.2",
"query-string": "^8.1.0",
"web-utility": "^4.1.3"
"preact": "^10.19.7",
"query-string": "^9.0.0",
"web-utility": "^4.3.0"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@octokit/openapi-types": "^19.0.2",
"@babel/core": "^7.24.1",
"@octokit/openapi-types": "^20.0.0",
"@prefresh/babel-plugin": "^0.5.1",
"@prefresh/core": "^1.5.2",
"@prefresh/webpack": "~4.0.0",
"@tarojs/cli": "3.6.20",
"@tarojs/webpack5-runner": "3.6.20",
"@tarojs/cli": "3.6.25",
"@tarojs/webpack5-runner": "3.6.25",
"@types/lodash.debounce": "^4.0.9",
"@types/react": "^18.2.38",
"@types/react": "^18.2.67",
"@types/webpack-env": "^1.18.4",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"babel-plugin-import": "^1.13.8",
"babel-preset-taro": "3.6.20",
"babel-preset-taro": "3.6.25",
"cross-env": "^7.0.3",
"eslint": "^8.54.0",
"eslint-config-taro": "3.6.20",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint": "^8.57.0",
"eslint-config-taro": "3.6.25",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"stylelint": "^15.11.0",
"typescript": "~5.3.2",
"webpack": "~5.89.0"
"eslint-plugin-simple-import-sort": "^12.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"stylelint": "^16.2.1",
"typescript": "~5.4.2",
"webpack": "~5.90.3"
},
"prettier": {
"trailingComma": "none",
Expand Down
Loading

0 comments on commit 1fea308

Please sign in to comment.