From b24d590befae2455aacfea357eacc88de7187bb1 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:02:56 -0700 Subject: [PATCH 01/11] chore: bumping @npmcli/template-oss from 4.30.0 to 5.1.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7256f4d..5bfc7f7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^6.0.1", - "@npmcli/template-oss": "4.30.0", + "@npmcli/template-oss": "5.1.0", "npm-package-arg": "^13.0.0", "slash": "^3.0.0", "tap": "^16.0.1" @@ -52,7 +52,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.30.0", + "version": "5.1.0", "publish": true, "updateNpm": false } From 33863cdf893be5b8ddfc08570dae829f65bc620b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:03:01 -0700 Subject: [PATCH 02/11] feat!: template-oss-apply --- .github/CODEOWNERS | 2 +- .github/workflows/audit.yml | 8 ++++---- .github/workflows/ci-release.yml | 18 ++++++++++++------ .github/workflows/ci.yml | 18 ++++++++++++------ .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/post-dependabot.yml | 8 ++++---- .github/workflows/pull-request.yml | 8 ++++---- .github/workflows/release-integration.yml | 8 ++++---- .github/workflows/release.yml | 16 ++++++++-------- 9 files changed, 50 insertions(+), 38 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2c54b0d..b6ec921 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -* @npm/cli-team +* @npm/cli-team @npm/cli-triage diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 628ed3b..c9a733f 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -21,17 +21,17 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund --package-lock - name: Run Production Audit diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 1284dd6..d92cca1 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -32,7 +32,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} - name: Setup Git User @@ -48,11 +48,11 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} sha: ${{ inputs.check-sha }} - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Lint @@ -91,6 +91,8 @@ jobs: - 20.x - 22.9.0 - 22.x + - 24.x + - 26.x exclude: - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 20.17.0 @@ -100,13 +102,17 @@ jobs: node-version: 22.9.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 22.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 24.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 26.x runs-on: ${{ matrix.platform.os }} defaults: run: shell: ${{ matrix.platform.shell }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} - name: Setup Git User @@ -122,7 +128,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} sha: ${{ inputs.check-sha }} - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd4e34d..2c406e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,17 +25,17 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Lint @@ -67,6 +67,8 @@ jobs: - 20.x - 22.9.0 - 22.x + - 24.x + - 26.x exclude: - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 20.17.0 @@ -76,19 +78,23 @@ jobs: node-version: 22.9.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 22.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 24.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 26.x runs-on: ${{ matrix.platform.os }} defaults: run: shell: ${{ matrix.platform.shell }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index af848e1..8c43556 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -26,7 +26,7 @@ jobs: security-events: write steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" diff --git a/.github/workflows/post-dependabot.yml b/.github/workflows/post-dependabot.yml index 8439f84..1118cd5 100644 --- a/.github/workflows/post-dependabot.yml +++ b/.github/workflows/post-dependabot.yml @@ -17,7 +17,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.ref }} - name: Setup Git User @@ -25,11 +25,11 @@ jobs: git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Fetch Dependabot Metadata diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bb7672c..29f868d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -23,7 +23,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup Git User @@ -31,11 +31,11 @@ jobs: git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Run Commitlint on Commits diff --git a/.github/workflows/release-integration.yml b/.github/workflows/release-integration.yml index 6d7fc3e..6614399 100644 --- a/.github/workflows/release-integration.yml +++ b/.github/workflows/release-integration.yml @@ -34,7 +34,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ fromJSON(inputs.releases)[0].tagName }} - name: Setup Git User @@ -42,11 +42,11 @@ jobs: git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Set npm authToken diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15a528d..243d347 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,17 +30,17 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Release Please @@ -103,7 +103,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ needs.release.outputs.pr-branch }} @@ -112,11 +112,11 @@ jobs: git config --global user.email "npm-cli+bot@github.com" git config --global user.name "npm CLI robot" - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 id: node with: - node-version: 22.x - check-latest: contains('22.x', '.x') + node-version: 26.x + check-latest: contains('26.x', '.x') - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Create Release Manager Checklist Text From 980b41e97dd2683b4979101288c7a7449b00fac8 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:04:08 -0700 Subject: [PATCH 03/11] feat!: bump to new node engine range BREAKING CHANGE: `@npmcli/git` now supports node `^22.22.2 || ^24.15.0 || >=26.0.0` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5bfc7f7..b540513 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "which": "^6.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", From a9dc54a31cab0f9ac2c4630553c07c6e46da6790 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:04:13 -0700 Subject: [PATCH 04/11] chore: template-oss-apply --- .github/workflows/ci-release.yml | 16 ++++++++-------- .github/workflows/ci.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index d92cca1..8b06b96 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -87,23 +87,23 @@ jobs: os: windows-latest shell: cmd node-version: - - 20.17.0 - - 20.x - - 22.9.0 + - 22.22.2 - 22.x + - 24.15.0 - 24.x + - 26.0.0 - 26.x exclude: - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 20.17.0 - - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 20.x - - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 22.9.0 + node-version: 22.22.2 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 22.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 24.15.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 24.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 26.0.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 26.x runs-on: ${{ matrix.platform.os }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c406e6..3ab03af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,23 +63,23 @@ jobs: os: windows-latest shell: cmd node-version: - - 20.17.0 - - 20.x - - 22.9.0 + - 22.22.2 - 22.x + - 24.15.0 - 24.x + - 26.0.0 - 26.x exclude: - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 20.17.0 - - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 20.x - - platform: { name: macOS, os: macos-15-intel, shell: bash } - node-version: 22.9.0 + node-version: 22.22.2 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 22.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 24.15.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 24.x + - platform: { name: macOS, os: macos-15-intel, shell: bash } + node-version: 26.0.0 - platform: { name: macOS, os: macos-15-intel, shell: bash } node-version: 26.x runs-on: ${{ matrix.platform.os }} From 791e6ffdc5d6d831cfd05bf17757c7b28895c701 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:04:29 -0700 Subject: [PATCH 05/11] deps: @npmcli/promise-spawn@10.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b540513..31242fe 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ }, "dependencies": { "@gar/promise-retry": "^1.0.0", - "@npmcli/promise-spawn": "^9.0.0", + "@npmcli/promise-spawn": "^10.0.0", "ini": "^6.0.0", "lru-cache": "^11.2.1", "npm-pick-manifest": "^11.0.1", From 8296bfd14eb2b3e6a1ec31bf2667f59879ebace8 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:04:48 -0700 Subject: [PATCH 06/11] deps: ini@7.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 31242fe..05daf87 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "dependencies": { "@gar/promise-retry": "^1.0.0", "@npmcli/promise-spawn": "^10.0.0", - "ini": "^6.0.0", + "ini": "^7.0.0", "lru-cache": "^11.2.1", "npm-pick-manifest": "^11.0.1", "proc-log": "^6.0.0", From 2de32e49520f86ca180857922b00d877ae05c1bc Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:05:00 -0700 Subject: [PATCH 07/11] chore: npm-package-arg@14.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 05daf87..da6d3f2 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@npmcli/eslint-config": "^6.0.1", "@npmcli/template-oss": "5.1.0", - "npm-package-arg": "^13.0.0", + "npm-package-arg": "^14.0.0", "slash": "^3.0.0", "tap": "^16.0.1" }, From 55108034b61360bdc36fe5d788412004068261c2 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:05:11 -0700 Subject: [PATCH 08/11] deps: npm-pick-manifest@12.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index da6d3f2..f772a75 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@npmcli/promise-spawn": "^10.0.0", "ini": "^7.0.0", "lru-cache": "^11.2.1", - "npm-pick-manifest": "^11.0.1", + "npm-pick-manifest": "^12.0.0", "proc-log": "^6.0.0", "semver": "^7.3.5", "which": "^6.0.0" From 4cfab2dc5bdc885c6d61756c7834b271e9bb3b1a Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:05:23 -0700 Subject: [PATCH 09/11] deps: proc-log@7.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f772a75..6cf68b1 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ini": "^7.0.0", "lru-cache": "^11.2.1", "npm-pick-manifest": "^12.0.0", - "proc-log": "^6.0.0", + "proc-log": "^7.0.0", "semver": "^7.3.5", "which": "^6.0.0" }, From 8f10f1d727438cafc8342001c099b24942c2f56c Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:05:34 -0700 Subject: [PATCH 10/11] deps: which@7.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6cf68b1..c42e2d1 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "npm-pick-manifest": "^12.0.0", "proc-log": "^7.0.0", "semver": "^7.3.5", - "which": "^6.0.0" + "which": "^7.0.0" }, "engines": { "node": "^22.22.2 || ^24.15.0 || >=26.0.0" From 7593f1f8a5a3a941d10f0fcc00d6654b3d166487 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 May 2026 08:05:53 -0700 Subject: [PATCH 11/11] chore: @npmcli/eslint-config@7.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c42e2d1..5a977fc 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ ] }, "devDependencies": { - "@npmcli/eslint-config": "^6.0.1", + "@npmcli/eslint-config": "^7.0.0", "@npmcli/template-oss": "5.1.0", "npm-package-arg": "^14.0.0", "slash": "^3.0.0",