Skip to content

Commit

Permalink
Build: Update Dependencies (#453)
Browse files Browse the repository at this point in the history
* ci: update Node.js and pnpm setup to use LTS versions in workflows

* ci: remove redundant step from PR workflow

* build: update deps to latest versions

* ci: update Node.js setup to use LTS version and pnpm to latest

* ci: remove working-directory  in PR check workflow

* style: remove extra blank space
  • Loading branch information
DimaDemchenko authored Jan 17, 2025
1 parent e34c363 commit b117bb4
Show file tree
Hide file tree
Showing 5 changed files with 1,522 additions and 712 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: latest
node-version: 'lts/*'

- run: pnpm i
- run: pnpm lint
- run: pnpm build
- run: npx tsc
working-directory: ./demo
7 changes: 2 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
registry-url: "https://registry.npmjs.org/"
node-version: 'lts/*'

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: latest

Expand Down
12 changes: 6 additions & 6 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"create-doc": "pnpm typedoc"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.17.0",
"@eslint-react/eslint-plugin": "^1.23.2",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.15.0",
"eslint": "^9.18.0",
"eslint-plugin-import": "^2.31.0",
"globals": "^15.12.0",
"prettier": "^3.3.3",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typedoc": "^0.26.11",
"typedoc-material-theme": "^1.1.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"vite": "^5.4.11"
"typedoc": "^0.27.6",
"typedoc-material-theme": "^1.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0",
"vite": "^6.0.7"
}
}
Loading

0 comments on commit b117bb4

Please sign in to comment.