From a0ccf786ab5d321f3420d86b6caacc5a6401333c Mon Sep 17 00:00:00 2001 From: Tim Ellenberger Date: Thu, 12 Nov 2026 11:44:55 -0700 Subject: [PATCH] chore(node): run CI and @types/node on Node.js 26 Node.js 26 became the Active LTS line on 2026-10-28. The Tests and Release workflows now run it, and @types/node follows it at ^26, as CLAUDE.md requires. The engines range doesn't change. npm install also moves the lockfile's root version from 1.9.0 to 1.10.0, which the Version Packages PR left behind. Co-Authored-By: Claude Opus 5.5 --- .changeset/thick-sails-melt.md | 2 ++ .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 8 ++++---- CLAUDE.md | 2 +- package-lock.json | 20 ++++++++++---------- package.json | 2 +- 6 files changed, 19 insertions(+), 17 deletions(-) create mode 100644 .changeset/thick-sails-melt.md diff --git a/.changeset/thick-sails-melt.md b/.changeset/thick-sails-melt.md new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/.changeset/thick-sails-melt.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6c3f3e..019f193 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: npm registry-url: https://registry.npmjs.org - run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c864479..d1fd558 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: npm - run: npm ci --ignore-scripts - run: npx changeset status --since=origin/master @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: npm - run: npm ci - run: npm run lint:oxlint @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: npm - run: npm ci - run: npm test @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: npm - run: npm ci - run: npx playwright install --with-deps chromium firefox webkit diff --git a/CLAUDE.md b/CLAUDE.md index bef5471..c44185b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,7 @@ This file tells coding agents how to work in this repository. `react-spring-ligh ## Commands -Use npm, not Yarn. `package.json` requires Node.js `^22.18.0 || ^24.11.0 || >=26.0.0`, and CI runs Node.js 24. +Use npm, not Yarn. `package.json` requires Node.js `^22.18.0 || ^24.11.0 || >=26.0.0`, and CI runs Node.js 26. | Command | What it does | | ------------------ | ------------------------------------------------------------------------------------------------- | diff --git a/package-lock.json b/package-lock.json index 3e7793c..bfd90a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-spring-lightbox", - "version": "1.9.0", + "version": "1.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-spring-lightbox", - "version": "1.9.0", + "version": "1.10.0", "license": "MIT", "dependencies": { "@react-spring/web": "^10.1.2", @@ -19,7 +19,7 @@ "@testing-library/dom": "^10.4.2", "@testing-library/jest-dom": "~7.0.1", "@testing-library/react": "^16.3.3", - "@types/node": "^24", + "@types/node": "^26", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitest/coverage-v8": "^5.1.0", @@ -2100,13 +2100,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "24.19.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", - "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", + "version": "26.6.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz", + "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": ">=7.24.0 <7.24.7" + "undici-types": "~8.9.0" } }, "node_modules/@types/react": { @@ -5255,9 +5255,9 @@ } }, "node_modules/undici-types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", - "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 2d5229a..715ae62 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "@testing-library/dom": "^10.4.2", "@testing-library/jest-dom": "~7.0.1", "@testing-library/react": "^16.3.3", - "@types/node": "^24", + "@types/node": "^26", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitest/coverage-v8": "^5.1.0",