From 7be57ee7f8079fd74180165b1fe7251f72d0fdbf Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Fri, 13 Nov 2026 20:17:16 +0000 Subject: [PATCH] chore: upgrade Node to 24.22.2 and npm to 11.19.1 Update CI and release runners while retaining Node 22.18 compatibility coverage. Approve the pinned Lefthook installer and align the lockfile with the existing 0.2.0 package version. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- package-lock.json | 4 ++-- package.json | 5 ++++- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b8e33b..7e5f73e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: # native TS type-stripping landed, which oxfmt.config.ts and # oxlint.config.ts need in order to load at all. The upper entry # tracks release.yml, which needs 24.20 for npm 11.19's OIDC support. - node: [22.18.0, 24.20.0] + node: [22.18.0, 24.22.2] steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 @@ -70,7 +70,7 @@ jobs: - uses: actions/setup-node@v7 with: # Tracks the upper matrix entry; nothing here needs the 22.18 floor. - node-version: 24.20.0 + node-version: 24.22.2 cache: npm - run: npm ci - run: npm run test:coverage diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59e9d2a..491b51f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v7 with: fetch-depth: 0 - # 24.20.0 bundles npm 11.19.0. The npm shipped with 24.13.0 (11.6.2) + # 24.22.2 bundles npm 11.19.1. The npm shipped with 24.13.0 (11.6.2) # does not perform the OIDC token exchange — it fails ENEEDAUTH even # with a valid ID token available and no competing .npmrc — so this is # a floor that trusted publishing depends on, not a preference. @@ -28,7 +28,7 @@ jobs: # OIDC credentials. npm defaults to registry.npmjs.org anyway. - uses: actions/setup-node@v7 with: - node-version: 24.20.0 + node-version: 24.22.2 package-manager-cache: false - run: npm ci diff --git a/package-lock.json b/package-lock.json index a6797db..e2af1d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devalexllc/traffic-next", - "version": "0.1.2", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devalexllc/traffic-next", - "version": "0.1.2", + "version": "0.2.0", "license": "Apache-2.0", "devDependencies": { "@changesets/cli": "3.0.1", diff --git a/package.json b/package.json index 43e48a5..1bbd0fe 100644 --- a/package.json +++ b/package.json @@ -91,5 +91,8 @@ "engines": { "node": ">=22.18.0" }, - "packageManager": "npm@11.10.1" + "packageManager": "npm@11.19.1", + "allowScripts": { + "lefthook@2.1.9": true + } }