A local-first personal finance app
bump node and electron (#9298)
Matt Fiddamand1a536f35c5a
diff --git a/.github/actions/release-notes/check/action.yml b/.github/actions/release-notes/check/action.ymlindex 36f21e12f8..d6981d9cfb 100644--- a/.github/actions/release-notes/check/action.yml+++ b/.github/actions/release-notes/check/action.yml@@ -6,7 +6,7 @@ runs:steps:- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:- node-version: 24+ node-version-file: .nvmrc- name: Install dependenciesshell: bashrun: yarn workspaces focus @actual-app/ci-actionsdiff --git a/.github/actions/release-notes/generate/action.yml b/.github/actions/release-notes/generate/action.ymlindex 92993357f4..42f6f74ed9 100644--- a/.github/actions/release-notes/generate/action.yml+++ b/.github/actions/release-notes/generate/action.yml@@ -17,7 +17,7 @@ runs:steps:- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:- node-version: 24+ node-version-file: .nvmrc- name: Install dependenciesshell: bashrun: yarn workspaces focus actual @actual-app/ci-actionsdiff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 60cf01aef9..e1021b0e5c 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -21,7 +21,7 @@ runs:- name: Install nodeuses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:- node-version: 24+ node-version-file: ${{ format('{0}/.nvmrc', inputs.working-directory) }}package-manager-cache: false- name: Install yarnrun: npm install -g yarndiff --git a/.github/workflows/issues-feature-implemented.yml b/.github/workflows/issues-feature-implemented.ymlindex 0716bf90d6..dd9296ecba 100644--- a/.github/workflows/issues-feature-implemented.yml+++ b/.github/workflows/issues-feature-implemented.yml@@ -31,7 +31,7 @@ jobs:persist-credentials: false- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:- node-version: 24+ node-version-file: .nvmrc- name: Handle feature requestsrun: node .github/actions/handle-feature-requests.jsenv:diff --git a/.nvmrc b/.nvmrcindex 87d8620cc6..474d750b50 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-v24.18.1+v24.22.1diff --git a/AGENTS.md b/AGENTS.mdindex 56af977291..69d9e6cece 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -601,7 +601,7 @@ When running the app for manual testing or demos, use **"View demo"** on the ini### Gotchas-- The `engines` field requires **Node.js >=22** and **Yarn ^4.9.1**. The `.nvmrc` specifies `v24.18.1`.+- The `engines` field requires **Node.js >=22** and **Yarn ^4.9.1**. The `.nvmrc` specifies `v24.22.1`.- Pre-commit hook runs `nano-staged` (oxfmt + oxlint, configured in `.nano-staged.json`) via Husky. Run `yarn prepare` once after install to set up hooks.- Lage caches test results in `.lage/`. If tests behave unexpectedly, clear with `rm -rf .lage`.- Native modules (`better-sqlite3`, `bcrypt`) require build tools (`gcc`, `make`, `python3`). These are pre-installed in the Cloud VM.diff --git a/packages/desktop-electron/package.json b/packages/desktop-electron/package.jsonindex af4c967d3c..9234499d43 100644--- a/packages/desktop-electron/package.json+++ b/packages/desktop-electron/package.json@@ -28,7 +28,7 @@"@typescript/native-preview": "beta","copyfiles": "^2.4.1","cross-env": "^10.1.0",- "electron": "43.5.0",+ "electron": "43.8.0","electron-builder": "26.8.1","typescript-strict-plugin": "^2.4.4","vitest": "^5.0.4"diff --git a/packages/sync-server/docker/ubuntu.Dockerfile b/packages/sync-server/docker/ubuntu.Dockerfileindex 931340fab5..15e2da9870 100644--- a/packages/sync-server/docker/ubuntu.Dockerfile+++ b/packages/sync-server/docker/ubuntu.Dockerfile@@ -1,4 +1,4 @@-FROM node:24-bookworm AS builder+FROM node:24.22.1-bookworm AS builder# Install required packagesRUN apt-get update && apt-get install -y openssl@@ -25,7 +25,7 @@ RUN find node_modules/@actual-app -maxdepth 2 -type d \\( -name src -o -name e2e -o -name __tests__ -o -name __mocks__ -o -name tests -o -name test -o -name build-stats \) \-exec rm -rf {} +-FROM node:24-bookworm-slim AS prod+FROM node:24.22.1-bookworm-slim AS prod# Minimal runtime dependenciesRUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*diff --git a/sync-server.Dockerfile b/sync-server.Dockerfileindex 946d0112bc..597eec4184 100644--- a/sync-server.Dockerfile+++ b/sync-server.Dockerfile@@ -1,4 +1,4 @@-FROM node:24-bookworm AS deps+FROM node:24.22.1-bookworm AS deps# Install required packagesRUN apt-get update && apt-get install -y openssl@@ -51,7 +51,7 @@ RUN rm -rf ./node_modules/@actual-app/web ./node_modules/@actual-app/sync-serverCOPY ./packages/desktop-client/package.json ./node_modules/@actual-app/web/package.jsonRUN cp -r ./packages/desktop-client/build ./node_modules/@actual-app/web/build-FROM node:24-bookworm-slim AS prod+FROM node:24.22.1-bookworm-slim AS prod# Minimal runtime dependenciesRUN apt-get update && apt-get install -y tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*diff --git a/upcoming-release-notes/bump-node-24-22-1.md b/upcoming-release-notes/bump-node-24-22-1.mdnew file mode 100644index 0000000000..ae001c4071--- /dev/null+++ b/upcoming-release-notes/bump-node-24-22-1.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [matt-fidd]+---++Bump Node.js and Electrondiff --git a/yarn.lock b/yarn.lockindex 017cd2610f..1c740cd042 100644--- a/yarn.lock+++ b/yarn.lock@@ -13581,7 +13581,7 @@ __metadata:better-sqlite3: "npm:^13.0.3"copyfiles: "npm:^2.4.1"cross-env: "npm:^10.1.0"- electron: "npm:43.5.0"+ electron: "npm:43.8.0"electron-builder: "npm:26.8.1"typescript-strict-plugin: "npm:^2.4.4"vitest: "npm:^5.0.4"@@ -14032,9 +14032,9 @@ __metadata:languageName: nodelinkType: hard-"electron@npm:43.5.0":- version: 43.5.0- resolution: "electron@npm:43.5.0"+"electron@npm:43.8.0":+ version: 43.8.0+ resolution: "electron@npm:43.8.0"dependencies:"@electron-internal/extract-zip": "npm:^1.0.1""@electron/get": "npm:^5.0.0"@@ -14042,7 +14042,7 @@ __metadata:bin:electron: cli.jsinstall-electron: install.js- checksum: 10/8078e8760b00d8907cd104a2371709d3cc9a82c0185d7beccc0bf535a46a99054f779b3a61789c6b354ee5689ecacb920b5c8441f627aebda9643a819b62a58f+ checksum: 10/cd5c2d0f79e2d26366551864a595a05d7c76a657c5b833b7c15f69df40bc481f444de4f3761976990632134f09be236ed533dd45571437e8afad5116be9a8905languageName: nodelinkType: hard