Skip to content

Commit

Permalink
Upgrade tooling to Node.js version 22
Browse files Browse the repository at this point in the history
Closes keycloak#35136

Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops committed Nov 29, 2024
1 parent d6d03e2 commit a99eb5b
Show file tree
Hide file tree
Showing 8 changed files with 544 additions and 644 deletions.
2 changes: 1 addition & 1 deletion .github/actions/pnpm-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
node-version:
description: Node.js version
required: false
default: "20"
default: "22"

runs:
using: composite
Expand Down
4 changes: 2 additions & 2 deletions js/apps/account-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"dependencies": {
"@keycloak/keycloak-ui-shared": "workspace:*",
"@patternfly/patternfly": "^5.4.1",
"@patternfly/patternfly": "^5.4.2",
"@patternfly/react-core": "^5.4.10",
"@patternfly/react-icons": "^5.4.2",
"@patternfly/react-table": "^5.4.11",
Expand All @@ -36,7 +36,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.2",
"react-i18next": "^15.1.2",
"react-i18next": "^15.1.3",
"react-router-dom": "^6.28.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions js/apps/admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"dependencies": {
"@keycloak/keycloak-admin-client": "workspace:*",
"@keycloak/keycloak-ui-shared": "workspace:*",
"@patternfly/patternfly": "^5.4.1",
"@patternfly/patternfly": "^5.4.2",
"@patternfly/react-code-editor": "^5.4.13",
"@patternfly/react-core": "^5.4.10",
"@patternfly/react-icons": "^5.4.2",
Expand All @@ -92,7 +92,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.2",
"react-i18next": "^15.1.2",
"react-i18next": "^15.1.3",
"react-router-dom": "^6.28.0",
"reactflow": "^11.11.4",
"use-react-router-breadcrumbs": "^4.0.1"
Expand Down
2 changes: 1 addition & 1 deletion js/libs/ui-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "7.53.2",
"react-i18next": "^15.1.2"
"react-i18next": "^15.1.3"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
Expand Down
2 changes: 1 addition & 1 deletion js/themes-vendor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@noble/hashes": "^1.6.1",
"@patternfly-v5/patternfly": "npm:@patternfly/patternfly@^5.4.1",
"@patternfly-v5/patternfly": "npm:@patternfly/patternfly@^5.4.2",
"@patternfly/patternfly": "^4.224.5",
"patternfly": "^3.59.5",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "root",
"private": true,
"type": "module",
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228",
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab",
"scripts": {
"prepare": "husky js/.husky"
},
Expand All @@ -19,7 +19,7 @@
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-compiler": "19.0.0-beta-63b359f-20241101",
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
"eslint-plugin-react-hooks": "^5.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
Expand Down
1,166 changes: 533 additions & 633 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@
<server.output.dir.version>${project.version}</server.output.dir.version>

<!-- Frontend -->
<node.version>v20.18.0</node.version>
<pnpm.version>9.12.2</pnpm.version>
<node.version>v22.11.0</node.version>
<pnpm.version>9.14.4</pnpm.version>
<pnpm.args.install>install --prefer-offline --frozen-lockfile --ignore-scripts</pnpm.args.install>
<!-- The clean step is skipped on Windows -->
<js.skip.clean>false</js.skip.clean>
Expand Down

0 comments on commit a99eb5b

Please sign in to comment.