Skip to content

Open source CapCut alternative.

TypeScript

chore: Node 24 in CI, the worker image and the site's types

David Lea2183eabbb24
diff --git a/.github/workflows/browser-export-eval.yml b/.github/workflows/browser-export-eval.yml
index 0cd2eb6a..4f39f053 100644
--- a/.github/workflows/browser-export-eval.yml
+++ b/.github/workflows/browser-export-eval.yml
@@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-node@v7
with:
- node-version: 22
+ node-version: 24
cache: npm
cache-dependency-path: site/package-lock.json
diff --git a/.github/workflows/deploy-cut-worker.yml b/.github/workflows/deploy-cut-worker.yml
index 92ec1d18..42af32d2 100644
--- a/.github/workflows/deploy-cut-worker.yml
+++ b/.github/workflows/deploy-cut-worker.yml
@@ -47,7 +47,7 @@ jobs:
- uses: actions/setup-node@v7
with:
- node-version: 22
+ node-version: 24
cache: npm
cache-dependency-path: site/package-lock.json
diff --git a/.github/workflows/nightly-cut-perf.yml b/.github/workflows/nightly-cut-perf.yml
index 81b1a613..52a1291c 100644
--- a/.github/workflows/nightly-cut-perf.yml
+++ b/.github/workflows/nightly-cut-perf.yml
@@ -31,7 +31,7 @@ jobs:
- uses: actions/setup-node@v7
with:
- node-version: 22
+ node-version: 24
cache: npm
cache-dependency-path: site/package-lock.json
diff --git a/site/package-lock.json b/site/package-lock.json
index e71a4195..53f83364 100644
--- a/site/package-lock.json
+++ b/site/package-lock.json
@@ -73,7 +73,7 @@
"@cloudflare/containers": "^0.3.7",
"@react-email/ui": "^6.9.1",
"@tailwindcss/postcss": "^4",
- "@types/node": "^20",
+ "@types/node": "^24.13.3",
"@types/pg": "^8.20.0",
"@types/react": "^19",
"@types/react-dom": "^19",
@@ -5726,12 +5726,12 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "20.19.41",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.41.tgz",
- "integrity": "sha512-ECymXOukMnOoVkC2bb1Vc/w/836DXncOg5m8Xj1RH7xSHZJWNYY6Zh7EH477vcnD5egKNNfy2RpNOmuChhFPgQ==",
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
"license": "MIT",
"dependencies": {
- "undici-types": "~6.21.0"
+ "undici-types": "~7.18.0"
}
},
"node_modules/@types/pg": {
@@ -17457,9 +17457,9 @@
}
},
"node_modules/undici-types": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
- "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
"license": "MIT"
},
"node_modules/unicorn-magic": {
diff --git a/site/package.json b/site/package.json
index 34f63f35..590dd521 100644
--- a/site/package.json
+++ b/site/package.json
@@ -43,8 +43,8 @@
"@better-auth/core": "1.6.11",
"@better-auth/kysely-adapter": "1.6.11",
"@better-auth/utils": "0.4.0",
- "@donkeycut/effects-kit": "*",
"@donkeycut/abexp": "*",
+ "@donkeycut/effects-kit": "*",
"@earendil-works/pi-agent-core": "0.84.1",
"@earendil-works/pi-ai": "0.84.1",
"@elevenlabs/elevenlabs-js": "^2.49.1",
@@ -95,7 +95,7 @@
"@cloudflare/containers": "^0.3.7",
"@react-email/ui": "^6.9.1",
"@tailwindcss/postcss": "^4",
- "@types/node": "^20",
+ "@types/node": "^24.13.3",
"@types/pg": "^8.20.0",
"@types/react": "^19",
"@types/react-dom": "^19",
diff --git a/site/src/cut/worker/Dockerfile b/site/src/cut/worker/Dockerfile
index 23b307ff..f3a4949c 100644
--- a/site/src/cut/worker/Dockerfile
+++ b/site/src/cut/worker/Dockerfile
@@ -6,7 +6,7 @@
# export's final pass passes -display_rotation, which ffmpeg gained in 6.0.
# Bookworm's 5.1 encodes the entire file and then dies on that last command, at
# 98% progress, with "Unrecognized option". Trixie carries 7.1.
-FROM node:22-trixie-slim
+FROM node:24-trixie-slim
# ffmpeg/ffprobe for the render pipeline; python3 runs the yt-dlp zipapp.
RUN apt-get update \