Skip to content

Commit

Permalink
chore: upgrade dependencies and upgrade node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
liangskyli committed Aug 18, 2024
1 parent 1429726 commit eeed3e0
Show file tree
Hide file tree
Showing 7 changed files with 5,121 additions and 3,558 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
registry-url: 'https://registry.npmjs.org/'
cache: 'pnpm'

Expand Down
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm commitlint --edit "${1}"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
pnpm test
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && dumi setup",
"prepare": "husky && dumi setup",
"prepublishOnly": "father doctor && npm run build",
"publish-all": "lerna run build && lerna publish from-package",
"publish-all-pre": "lerna run build && lerna publish from-package --pre-dist-tag beta",
Expand Down Expand Up @@ -46,35 +46,35 @@
]
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@commitlint/config-pnpm-scopes": "^18.1.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@umijs/lint": "^4.0.87",
"@vitest/coverage-v8": "^0.34.6",
"dumi": "^2.2.14",
"eslint": "^8.53.0",
"father": "^4.3.7",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lerna": "^7.4.2",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-packagejson": "^2.4.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stylelint": "^15.11.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/config-pnpm-scopes": "^19.1.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@umijs/lint": "^4.3.14",
"@vitest/coverage-v8": "^2.0.5",
"dumi": "^2.4.7",
"eslint": "^9.9.0",
"father": "^4.5.0",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-packagejson": "^2.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"stylelint": "^16.8.2",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.14.0",
"node": ">=18.13.0",
"pnpm": "^8"
},
"authors": [
Expand Down
8 changes: 4 additions & 4 deletions packages/demo1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"update:deps": "pnpm update --interactive --latest"
},
"devDependencies": {
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"peerDependencies": {
"react": "^18.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/demo2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"update:deps": "pnpm update --interactive --latest"
},
"devDependencies": {
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"peerDependencies": {
"react": "^18.0.0",
Expand Down
Loading

0 comments on commit eeed3e0

Please sign in to comment.