modified: .github/workflows/cicd.yml

modified:   .github/workflows/linting.yml
	modified:   .github/workflows/test.yml
	modified:   .nvmrc
	modified:   Dockerfile.dev
	modified:   Dockerfile.pg
	modified:   Dockerfile.sqlite
	modified:   esbuild.mjs
	modified:   package-lock.json
	modified:   tsconfig.json
This commit is contained in:
Marvin
2025-07-26 14:17:55 +00:00
parent 5f75813e84
commit 39c43c0c09
10 changed files with 20 additions and 2707 deletions

View File

@@ -30,7 +30,7 @@ jobs:
- name: Install Go - name: Install Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.23.0 go-version: 1.24
- name: Update version in package.json - name: Update version in package.json
run: | run: |

View File

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

View File

@@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '22'
- name: Copy config file - name: Copy config file
run: cp config/config.example.yml config/config.yml 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 WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder FROM node:22-alpine AS builder
WORKDIR /app 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:pg
RUN npm run build:cli RUN npm run build:cli
FROM node:20-alpine AS runner FROM node:22-alpine AS runner
WORKDIR /app WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder FROM node:22-alpine AS builder
WORKDIR /app 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:sqlite
RUN npm run build:cli RUN npm run build:cli
FROM node:20-alpine AS runner FROM node:22-alpine AS runner
WORKDIR /app WORKDIR /app

View File

@@ -64,7 +64,7 @@ esbuild
}), }),
], ],
sourcemap: true, sourcemap: true,
target: "node20", target: "node22",
}) })
.then(() => { .then(() => {
console.log("Build completed successfully"); 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" "name": "next"
} }
], ],
"target": "ES2017" "target": "ES2022"
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"] "exclude": ["node_modules"]