Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syn2mas - Use Node.js 22 #3203

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/syn2mas/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
4 changes: 2 additions & 2 deletions tools/syn2mas/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Build Node.js app
FROM --platform=${BUILDPLATFORM} docker.io/library/node:18-bookworm AS builder
FROM --platform=${BUILDPLATFORM} docker.io/library/node:22-bookworm AS builder

WORKDIR /syn2mas

Expand All @@ -10,7 +10,7 @@ RUN --network=default \
npm ci

# Install the production dependencies for each architecture we support
FROM --platform=${BUILDPLATFORM} docker.io/library/node:18-bookworm AS deps
FROM --platform=${BUILDPLATFORM} docker.io/library/node:22-bookworm AS deps

WORKDIR /deps/arm64

Expand Down
33 changes: 18 additions & 15 deletions tools/syn2mas/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tools/syn2mas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"start": "node dist/index.js"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node22": "^22.0.0",
"@tsconfig/strictest": "^2.0.2",
"@types/command-line-args": "^5.2.2",
"@types/node": "^18.18.7",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.52.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/syn2mas/tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": [
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/node18/tsconfig.json",
"@tsconfig/node22/tsconfig.json",
],
"compilerOptions": {
"noEmit": true,
Expand Down
2 changes: 1 addition & 1 deletion tools/syn2mas/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": [
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/node18/tsconfig.json"
"@tsconfig/node22/tsconfig.json"
],
"compilerOptions": {
"outDir": "dist",
Expand Down
Loading