Skip to content

Commit

Permalink
chore: use current nodejs LTS version 22
Browse files Browse the repository at this point in the history
Active LTS start was 2024-10-29
  • Loading branch information
kaufmo committed Nov 18, 2024
1 parent a168e55 commit 884c966
Show file tree
Hide file tree
Showing 22 changed files with 217 additions and 209 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- uses: pnpm/action-setup@v4

- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
2 changes: 1 addition & 1 deletion demo/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@types/lodash.escaperegexp": "^4.0.0",
"@types/lodash.isequal": "^4.0.0",
"@types/lodash.merge": "^4.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^17.0.0",
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion demo/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@types/faker": "^5.0.0",
"@types/mime": "^2.0.0",
"@types/multer": "^1.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/passport": "^1.0.0",
"@types/pg": "^8.0.0",
"@types/response-time": "^2.3.8",
Expand Down
2 changes: 1 addition & 1 deletion demo/site-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@graphql-codegen/typescript-operations": "^2.0.0",
"@types/fs-extra": "^9.0.0",
"@types/google.maps": "^3.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-is": "^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion demo/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@graphql-codegen/typescript-operations": "^2.0.0",
"@types/fs-extra": "^9.0.0",
"@types/google.maps": "^3.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-is": "^17.0.0",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@comet/dev-process-manager": "^2.5.1",
"@comet/eslint-plugin": "workspace:*",
"@formatjs/cli": "^6.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"cspell": "^8.15.4",
"dotenv-cli": "^7.0.0",
"husky": "^7.0.4",
Expand All @@ -51,7 +51,7 @@
},
"packageManager": "pnpm@8.15.5",
"engines": {
"node": "18",
"node": "22",
"pnpm": "8"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@comet/eslint-config": "workspace:^7.7.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/uuid": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/jest": "^29.5.0",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.isequal": "^4.5.5",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.11",
"@types/react-router": "^5.1.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/blocks-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mui/system": "^5.0.0",
"@types/jest": "^29.5.0",
"@types/lodash.isequal": "^4.0.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/cms-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@types/lodash.isequal": "^4.0.0",
"@types/lodash.set": "^4.3.6",
"@types/mime-db": "^1.43.1",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/object-path": "^0.11.4",
"@types/pluralize": "^0.0.29",
"@types/react": "^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/blocks-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@nestjs/common": "^9.0.0",
"@types/draft-js": "^0.11.10",
"@types/jest": "^29.5.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"chokidar-cli": "^2.0.0",
"eslint": "^8.0.0",
"jest": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/cms-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"@types/mime": "^2.0.0",
"@types/mime-db": "^1.0.0",
"@types/multer": "^1.4.4",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"@types/node-fetch": "^2.6.2",
"@types/passport-http": "^0.3.9",
"@types/passport-jwt": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@comet/eslint-config": "workspace:^7.7.0",
"@types/node": "^18.0.0",
"@types/node": "^22.0.0",
"eslint": "^8.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.0",
Expand Down
Loading

0 comments on commit 884c966

Please sign in to comment.