From 5d335bf457a056bd8982e2e6a1703005ae04af3d Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Fri, 13 Nov 2026 20:12:32 +0000 Subject: [PATCH] chore: upgrade Node to 24.22.2 and npm to 11.19.1 Update the current CI and release toolchain 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 1e4cd4a..d630aa0 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 @@ -121,7 +121,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 59d5468..76e41eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devalexllc/interlock-auth", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devalexllc/interlock-auth", - "version": "0.1.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "jose": "6.2.12" diff --git a/package.json b/package.json index f5cdfd8..0540a91 100644 --- a/package.json +++ b/package.json @@ -96,5 +96,8 @@ "engines": { "node": ">=22.18.0" }, - "packageManager": "npm@11.10.1" + "packageManager": "npm@11.19.1", + "allowScripts": { + "lefthook@2.1.9": true + } }