Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use Node 24 for JavaScript tooling

Manav Rathic9919d6df06e
diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml
index 31488e1b75..58ef69c145 100644
--- a/.github/workflows/desktop-lint.yml
+++ b/.github/workflows/desktop-lint.yml
@@ -23,7 +23,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "desktop/yarn.lock"
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml
index 977548f994..3188470c3b 100644
--- a/.github/workflows/docs-deploy.yml
+++ b/.github/workflows/docs-deploy.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
diff --git a/.github/workflows/docs-verify-build.yml b/.github/workflows/docs-verify-build.yml
index bca0d26b54..1fb8c3bbd1 100644
--- a/.github/workflows/docs-verify-build.yml
+++ b/.github/workflows/docs-verify-build.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
diff --git a/.github/workflows/ensu-build.yml b/.github/workflows/ensu-build.yml
index d497fef770..21a436428e 100644
--- a/.github/workflows/ensu-build.yml
+++ b/.github/workflows/ensu-build.yml
@@ -124,7 +124,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/infra-deploy-staff.yml b/.github/workflows/infra-deploy-staff.yml
index 5e6af79db7..43ca5f6ff1 100644
--- a/.github/workflows/infra-deploy-staff.yml
+++ b/.github/workflows/infra-deploy-staff.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
diff --git a/.github/workflows/infra-lint-staff.yml b/.github/workflows/infra-lint-staff.yml
index bace545d39..4986520aaa 100644
--- a/.github/workflows/infra-lint-staff.yml
+++ b/.github/workflows/infra-lint-staff.yml
@@ -25,7 +25,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
diff --git a/.github/workflows/web-deploy-2of3.yml b/.github/workflows/web-deploy-2of3.yml
index 7d4f2ea8ef..3c7ff8da64 100644
--- a/.github/workflows/web-deploy-2of3.yml
+++ b/.github/workflows/web-deploy-2of3.yml
@@ -23,7 +23,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml
index 3c0ff98a18..bcc8f7c504 100644
--- a/.github/workflows/web-deploy.yml
+++ b/.github/workflows/web-deploy.yml
@@ -43,7 +43,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index 351071e01e..516f1369ea 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -31,7 +31,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/desktop/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.yml
index 07a515a67e..5cab8b2a48 100644
--- a/desktop/.github/workflows/desktop-release.yml
+++ b/desktop/.github/workflows/desktop-release.yml
@@ -51,7 +51,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v6
with:
- node-version: 22
+ node-version: 24
- name: Increase yarn timeout
# `yarn install` times out sometimes on the Windows runner,
@@ -92,7 +92,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install libarchive-tools
- name: Build
- uses: ente-io/action-electron-builder@eff78a1d33bdab4c54ede0e5cdc71e0c2cf803e2
+ uses: ente-io/action-electron-builder@3dde7c58833c74cf0a0065c0563101065a35025f
with:
package_root: desktop
build_script_name: build:ci
diff --git a/docs/docs/self-hosting/development/lima.md b/docs/docs/self-hosting/development/lima.md
index 9013d12713..8a14bd9dad 100644
--- a/docs/docs/self-hosting/development/lima.md
+++ b/docs/docs/self-hosting/development/lima.md
@@ -70,7 +70,7 @@ limactl shell docker /bin/bash -lc '
-v "$HOME/ente/web:/workspace" \
-w /workspace \
-e NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 \
- node:22-bookworm \
+ node:24-bookworm \
bash -lc "
corepack enable &&
corepack prepare [email protected] --activate &&
diff --git a/web/Dockerfile b/web/Dockerfile
index 4235a59d6e..71b188b61f 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,6 +1,6 @@
# Docs - https://github.com/ente-io/ente/blob/main/web/docs/docker.md
-FROM node:22 AS builder
+FROM node:24 AS builder
# Install Rust for building ente-wasm
RUN apt-get update && apt-get install -y curl build-essential && rm -rf /var/lib/apt/lists/* && \
diff --git a/web/apps/albums/package.json b/web/apps/albums/package.json
index 7c90c2d9c7..43f23d0eb3 100644
--- a/web/apps/albums/package.json
+++ b/web/apps/albums/package.json
@@ -54,7 +54,7 @@
"@types/heic-convert": "^2.1.0",
"@types/leaflet": "^1.9.21",
"@types/libsodium-wrappers-sumo": "^0.7.8",
- "@types/node": "^22.15.32",
+ "@types/node": "^24.12.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/react-window": "^1.8.8",
diff --git a/web/apps/embed/package.json b/web/apps/embed/package.json
index 7cca92c0d5..29ff484ae2 100644
--- a/web/apps/embed/package.json
+++ b/web/apps/embed/package.json
@@ -13,7 +13,7 @@
"react-virtualized-auto-sizer": "^1.0.26"
},
"devDependencies": {
- "@types/node": "^22.15.32",
+ "@types/node": "^24.12.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"ente-build-config": "*"
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.json
index f2a7efd695..43078c612f 100644
--- a/web/apps/photos/package.json
+++ b/web/apps/photos/package.json
@@ -29,7 +29,7 @@
"supercluster": "^8.0.1"
},
"devDependencies": {
- "@types/node": "^22.15.32",
+ "@types/node": "^24.12.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/react-window": "^1.8.8",
diff --git a/web/docs/new.md b/web/docs/new.md
index d500ec3d15..f94c8fafd4 100644
--- a/web/docs/new.md
+++ b/web/docs/new.md
@@ -12,9 +12,9 @@ development, here is a recommended workflow:
4. Install **node** on your machine. There are myriad ways to do this, here are
some examples:
- OS agnostic: Install [NVM](https://github.com/nvm-sh/nvm), then
- `nvm install 22 && corepack enable`.
+ `nvm install 24 && corepack enable`.
- - macOS: `brew install node@22`
+ - macOS: `brew install node@24`
- Ubuntu: `sudo apt install nodejs npm && sudo npm i -g corepack`
diff --git a/web/yarn.lock b/web/yarn.lock
index 6c849ba6a1..e0bfad88f8 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -1467,12 +1467,12 @@
resolved "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz"
integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==
-"@types/node@^22.15.32":
- version "22.15.32"
- resolved "https://registry.npmjs.org/@types/node/-/node-22.15.32.tgz"
- integrity sha512-3jigKqgSjsH6gYZv2nEsqdXfZqIFGAV36XYYjf9KGZ3PSG+IhLecqPnI310RvjutyMwifE2hhhNEklOUrvx/wA==
+"@types/node@^24.12.0":
+ version "24.12.4"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-24.12.4.tgz#2709745569811dcbdc57c097fafdd387c6330382"
+ integrity sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==
dependencies:
- undici-types "~6.21.0"
+ undici-types "~7.16.0"
"@types/parse-json@^4.0.0":
version "4.0.2"
@@ -5478,10 +5478,10 @@ unbox-primitive@^1.1.0:
has-symbols "^1.1.0"
which-boxed-primitive "^1.1.1"
-undici-types@~6.21.0:
- version "6.21.0"
- resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz"
- integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
+undici-types@~7.16.0:
+ version "7.16.0"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46"
+ integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==
unified@^11.0.0:
version "11.0.5"