OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
chore: bump Node to 24.19.0 (latest LTS) and pnpm to 11.23.0
Carl-Gerhard Lindesvärde412327e6003
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.ymlindex 234885468..7a0b8ab1b 100644--- a/.github/workflows/docker-build.yml+++ b/.github/workflows/docker-build.yml@@ -78,11 +78,11 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- # Matches ARG NODE_VERSION in apps/*/Dockerfile. Must stay >=22.19.0:+ # .nvmrc is the source of truth; keep ARG NODE_VERSION in+ # apps/*/Dockerfile in sync with it. Must stay >=22.19.0:# undici@8 fails at import on older Node with# "webidl.util.markAsUncloneable is not a function".- # TODO: make this a single source of truth (.nvmrc + engines).- node-version: "22.20.0"+ node-version-file: ".nvmrc"- name: Install pnpmuses: pnpm/action-setup@v4diff --git a/.nvmrc b/.nvmrcnew file mode 100644index 000000000..60ade1ae0--- /dev/null+++ b/.nvmrc@@ -0,0 +1 @@+24.19.0diff --git a/apps/api/Dockerfile b/apps/api/Dockerfileindex 34b0129bc..2dcea4d99 100644--- a/apps/api/Dockerfile+++ b/apps/api/Dockerfile@@ -1,4 +1,4 @@-ARG NODE_VERSION=22.20.0+ARG NODE_VERSION=24.19.0FROM node:${NODE_VERSION}-slim AS basediff --git a/apps/start/Dockerfile b/apps/start/Dockerfileindex 9c013da41..a612ee8f0 100644--- a/apps/start/Dockerfile+++ b/apps/start/Dockerfile@@ -1,4 +1,4 @@-ARG NODE_VERSION=22.20.0+ARG NODE_VERSION=24.19.0FROM node:${NODE_VERSION}-slim AS basediff --git a/apps/worker/Dockerfile b/apps/worker/Dockerfileindex 657876e7f..46bbab61e 100644--- a/apps/worker/Dockerfile+++ b/apps/worker/Dockerfile@@ -1,4 +1,4 @@-ARG NODE_VERSION=22.20.0+ARG NODE_VERSION=24.19.0FROM node:${NODE_VERSION}-slim AS basediff --git a/package.json b/package.jsonindex fdd4c0473..3561bac5f 100644--- a/package.json+++ b/package.json@@ -5,7 +5,7 @@"private": true,"license": "MIT","author": "Carl-Gerhard Lindesvärd",- "packageManager": "[email protected]",+ "packageManager": "[email protected]","scripts": {"test": "vitest run","gen:bots": "pnpm -r --filter api gen:bots",@@ -53,14 +53,5 @@"simple-git-hooks": "^2.12.1","ultracite": "7.2.0","vitest": "^3.0.4"- },- "pnpm": {- "patchedDependencies": {- "nuqs": "patches/nuqs.patch"- },- "overrides": {- "rolldown": "1.0.0-beta.43",- "esm-env": "npm:esm-env-runtime@^0.1.0"- }}}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex a25106a5b..9a71c29a8 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -4,6 +4,14 @@ packages:- "tooling/*"- "admin"+# pnpm 11 no longer reads the "pnpm" field in package.json — these moved here.+patchedDependencies:+ nuqs: patches/nuqs.patch++overrides:+ rolldown: 1.0.0-beta.43+ esm-env: npm:esm-env-runtime@^0.1.0+# Define a catalog of version ranges.catalog:zod: ^4.1.8@@ -17,3 +25,20 @@ catalog:pino: ^10.3.1pino-pretty: ^13.1.3"@hyperdx/node-opentelemetry": ^0.10.3++# pnpm 11 replacement for build-script approval. true = matches the intent of+# the old root "trustedDependencies" list; false = keep the previous+# (ignored) behavior.+allowBuilds:+ '@biomejs/biome': true+ '@parcel/watcher': false+ '@prisma/client': true+ '@prisma/engines': true+ '@tailwindcss/oxide': false+ esbuild: true+ msgpackr-extract: true+ prisma: true+ protobufjs: true+ sharp: true+ simple-git-hooks: false+ workerd: false