Skip to content

Commit

Permalink
chore: bump up Node.js to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 27, 2024
1 parent 693ec6a commit fe8081d
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/deployment/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-bookworm-slim
FROM node:22-bookworm-slim

COPY ./packages/backend/server /app
COPY ./packages/frontend/apps/web/dist /app/static
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.18.1
22.11.0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"tests/affine-legacy/*"
],
"engines": {
"node": "<21.0.0"
"node": "<23.0.0"
},
"scripts": {
"dev": "yarn workspace @affine/cli dev",
Expand Down Expand Up @@ -64,7 +64,7 @@
"@toeverything/infra": "workspace:*",
"@types/affine__env": "workspace:*",
"@types/eslint": "^9.0.0",
"@types/node": "^20.12.7",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vanilla-extract/vite-plugin": "^4.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@types/lodash-es": "^4.17.12",
"@types/mixpanel": "^2.14.8",
"@types/mustache": "^4.2.5",
"@types/node": "^20.12.7",
"@types/node": "^22.0.0",
"@types/nodemailer": "^6.4.14",
"@types/on-headers": "^1.0.3",
"@types/sinon": "^17.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.64",
"@types/node": "^20.12.7",
"@types/node": "^22.0.0",
"ava": "^6.1.2",
"nx": "^20.0.3",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion tools/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"marked": "^15.0.0"
},
"devDependencies": {
"@types/node": "^20.14.12"
"@types/node": "^22.0.0"
}
}
2 changes: 1 addition & 1 deletion tools/copilot-result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"marked": "^15.0.0"
},
"devDependencies": {
"@types/node": "^20.14.12"
"@types/node": "^22.0.0"
}
}
2 changes: 1 addition & 1 deletion tools/playstore-auto-bump/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@oxc-node/core": "^0.0.15"
},
"devDependencies": {
"@types/node": "^20.14.12",
"@types/node": "^22.0.0",
"typescript": "^5.6.3"
}
}
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ __metadata:
dependencies:
"@napi-rs/simple-git": "npm:^0.1.18"
"@slack/web-api": "npm:^7.3.4"
"@types/node": "npm:^20.14.12"
"@types/node": "npm:^22.0.0"
changelogithub: "npm:^0.13.11"
jsx-slack: "npm:^6.1.2"
marked: "npm:^15.0.0"
Expand Down Expand Up @@ -382,7 +382,7 @@ __metadata:
resolution: "@affine/copilot-result@workspace:tools/copilot-result"
dependencies:
"@slack/web-api": "npm:^7.3.4"
"@types/node": "npm:^20.14.12"
"@types/node": "npm:^22.0.0"
jsx-slack: "npm:^6.1.1"
marked: "npm:^15.0.0"
languageName: unknown
Expand Down Expand Up @@ -666,7 +666,7 @@ __metadata:
"@toeverything/infra": "workspace:*"
"@types/affine__env": "workspace:*"
"@types/eslint": "npm:^9.0.0"
"@types/node": "npm:^20.12.7"
"@types/node": "npm:^22.0.0"
"@typescript-eslint/eslint-plugin": "npm:^7.6.0"
"@typescript-eslint/parser": "npm:^7.6.0"
"@vanilla-extract/vite-plugin": "npm:^4.0.7"
Expand Down Expand Up @@ -706,7 +706,7 @@ __metadata:
resolution: "@affine/native@workspace:packages/frontend/native"
dependencies:
"@napi-rs/cli": "npm:3.0.0-alpha.64"
"@types/node": "npm:^20.12.7"
"@types/node": "npm:^22.0.0"
ava: "npm:^6.1.2"
nx: "npm:^20.0.3"
ts-node: "npm:^10.9.2"
Expand Down Expand Up @@ -735,7 +735,7 @@ __metadata:
dependencies:
"@googleapis/androidpublisher": "npm:^22.0.0"
"@oxc-node/core": "npm:^0.0.15"
"@types/node": "npm:^20.14.12"
"@types/node": "npm:^22.0.0"
typescript: "npm:^5.6.3"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -805,7 +805,7 @@ __metadata:
"@types/lodash-es": "npm:^4.17.12"
"@types/mixpanel": "npm:^2.14.8"
"@types/mustache": "npm:^4.2.5"
"@types/node": "npm:^20.12.7"
"@types/node": "npm:^22.0.0"
"@types/nodemailer": "npm:^6.4.14"
"@types/on-headers": "npm:^1.0.3"
"@types/sinon": "npm:^17.0.3"
Expand Down Expand Up @@ -13735,7 +13735,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:>=13.7.0, @types/node@npm:>=18.0.0, @types/node@npm:>=8.1.0":
"@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:>=13.7.0, @types/node@npm:>=18.0.0, @types/node@npm:>=8.1.0, @types/node@npm:^22.0.0":
version: 22.10.0
resolution: "@types/node@npm:22.10.0"
dependencies:
Expand All @@ -13753,7 +13753,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.12.7, @types/node@npm:^20.14.12, @types/node@npm:^20.9.0":
"@types/node@npm:^20.9.0":
version: 20.17.8
resolution: "@types/node@npm:20.17.8"
dependencies:
Expand Down

0 comments on commit fe8081d

Please sign in to comment.