mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
chore: bump to Node 26 (#53589)
Aligns with our backend and updates to the latest LTS version of Node. Vercel already supports Node 26, so we can switch the Vercel configuration as well, but that shouldn't need immediate coordination as part of the deployment. To prevent errors on Vercel builds, we are using `>=24` in the `package.json`, so this can be deployed on 24.x and 26.x. Once all Vercel deployments are switched to 26.x, we can pin this to 26. The pnpm bump lives in a separate PR. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
16 files changed
+561
-551
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Runner for /test-the-docs: executes MDX fences inside the container.
|
||||
FROM node:24-bookworm-slim
|
||||
FROM node:26-bookworm-slim
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG SUPABASE_CLI_VERSION=2.39.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Supabase Monorepo
|
||||
|
||||
pnpm 11 + Turborepo monorepo. Requires Node 24 (see `.nvmrc`).
|
||||
pnpm 11 + Turborepo monorepo. Requires Node 26 (see `.nvmrc`).
|
||||
|
||||
## Structure
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# docker builder prune
|
||||
# docker build . -f apps/studio/Dockerfile --target production -t studio:latest --no-cache
|
||||
|
||||
FROM node:24-slim AS base
|
||||
FROM node:26-slim AS base
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
"@types/d3-geo": "^3.1.0",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/mdx-js__react": "^1.5.6",
|
||||
"@types/node": "catalog:",
|
||||
"@types/parse-numeric-range": "^0.0.1",
|
||||
"@types/react": "catalog:",
|
||||
"@types/react-copy-to-clipboard": "^5.0.4",
|
||||
|
||||
@@ -43,12 +43,12 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! ${DOCKER:-docker} image inspect node:22-alpine >/dev/null 2>&1; then
|
||||
echo "Pulling node:22-alpine (first-run only)..."
|
||||
${DOCKER:-docker} pull node:22-alpine
|
||||
if ! ${DOCKER:-docker} image inspect node:26-alpine >/dev/null 2>&1; then
|
||||
echo "Pulling node:26-alpine (first-run only)..."
|
||||
${DOCKER:-docker} pull node:26-alpine
|
||||
fi
|
||||
|
||||
node_runner="${DOCKER:-docker} run --rm node:22-alpine node"
|
||||
node_runner="${DOCKER:-docker} run --rm node:26-alpine node"
|
||||
fi
|
||||
|
||||
# Read JWT_SECRET from .env
|
||||
|
||||
@@ -41,12 +41,12 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! ${DOCKER:-docker} image inspect node:22-alpine >/dev/null 2>&1; then
|
||||
echo "Pulling node:22-alpine (first-run only)..."
|
||||
${DOCKER:-docker} pull node:22-alpine
|
||||
if ! ${DOCKER:-docker} image inspect node:26-alpine >/dev/null 2>&1; then
|
||||
echo "Pulling node:26-alpine (first-run only)..."
|
||||
${DOCKER:-docker} pull node:26-alpine
|
||||
fi
|
||||
|
||||
node_runner="${DOCKER:-docker} run --rm node:22-alpine node"
|
||||
node_runner="${DOCKER:-docker} run --rm node:26-alpine node"
|
||||
fi
|
||||
|
||||
if [ ! -f .env ]; then
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"resolve-docs-scope": "node --experimental-strip-types scripts/resolve-docs-scope.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.59.1",
|
||||
"@playwright/test": "^1.65.1",
|
||||
"e2e-shared": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"e2e:kb": "playwright test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.59.1"
|
||||
"@playwright/test": "^1.65.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "catalog:"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@axe-core/playwright": "^4.12.1",
|
||||
"@playwright/test": "^1.59.1",
|
||||
"@playwright/test": "^1.65.1",
|
||||
"axe-core": "^4.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.59.1",
|
||||
"@playwright/test": "^1.65.1",
|
||||
"@supabase/supabase-js": "catalog:",
|
||||
"cross-fetch": "^4.1.0",
|
||||
"dotenv": "^16.5.0",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"e2e:www:all": "node --experimental-strip-types scripts/run-e2e-www.ts --all"
|
||||
},
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.59.1",
|
||||
"@playwright/test": "^1.65.1",
|
||||
"e2e-shared": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@
|
||||
},
|
||||
"engines": {
|
||||
"pnpm": "11.13",
|
||||
"node": "24.x"
|
||||
"node": "26.x"
|
||||
},
|
||||
"keywords": ["postgres", "firebase", "storage", "functions", "database", "auth"],
|
||||
"packageManager": "pnpm@11.13.1"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "catalog:",
|
||||
"@types/pg": "^8.11.11",
|
||||
"@vitest/coverage-v8": "catalog:",
|
||||
"npm-run-all": "^4.1.5",
|
||||
|
||||
Generated
+540
-532
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -23,7 +23,7 @@ catalog:
|
||||
'@tanstack/react-router': ^1.170.44
|
||||
'@tanstack/react-start': ^1.169.2
|
||||
'@tanstack/react-table': ^8.21.3
|
||||
'@types/node': ^24.0.0
|
||||
'@types/node': ^26.6.6
|
||||
'@types/react': ^19.2.14
|
||||
'@types/react-dom': ^19.2.3
|
||||
# TypeScript 7 has no programmatic API until 7.1, so `typescript` stays aliased
|
||||
|
||||
Reference in new issue
Block a user