Merge pull request #1134 from Lokowitz/update-node-version

update node to LTS 22
This commit is contained in:
Owen Schwartz
2025-08-09 10:12:57 -07:00
committed by GitHub
9 changed files with 19 additions and 2706 deletions

View File

@@ -23,7 +23,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Install dependencies
run: |

View File

@@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Copy config file
run: cp config/config.example.yml config/config.yml

2
.nvmrc
View File

@@ -1 +1 @@
20
22

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine
WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
@@ -15,7 +15,7 @@ RUN npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema
RUN npm run build:pg
RUN npm run build:cli
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
@@ -15,7 +15,7 @@ RUN npx drizzle-kit generate --dialect sqlite --schema ./server/db/sqlite/schema
RUN npm run build:sqlite
RUN npm run build:cli
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

View File

@@ -64,7 +64,7 @@ esbuild
}),
],
sourcemap: true,
target: "node20",
target: "node22",
})
.then(() => {
console.log("Build completed successfully");

2705
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@
"name": "next"
}
],
"target": "ES2017"
"target": "ES2022"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]