From d5de4a8e25f800e7a7575e05660042d8785f9b05 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:44:52 -0700 Subject: [PATCH 01/10] 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 f05fb9ba..bb6ee6c6 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@npmcli/config": "^10.0.0", "@npmcli/eslint-config": "^6.0.1", - "@npmcli/template-oss": "4.30.0", + "@npmcli/template-oss": "5.1.0", "tap": "^16.0.1" }, "engines": { @@ -60,7 +60,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 118af1dc6f82fb2a0333a5c95761cf629c0798da Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:44:56 -0700 Subject: [PATCH 02/10] 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 2c54b0d2..b6ec921a 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 628ed3b4..c9a733fa 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 1284dd6a..d92cca15 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 bd4e34df..2c406e6f 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 af848e17..8c435565 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 8439f848..1118cd54 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 bb7672cd..29f868de 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 6d7fc3e8..6614399f 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 15a528d1..243d3471 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 eb22e201d1a97afab77b8ab17af9d0aeac2dff9b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:45:08 -0700 Subject: [PATCH 03/10] feat!: bump to new node engine range BREAKING CHANGE: `init-package-json` 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 bb6ee6c6..ccdce8fa 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "tap": "^16.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" }, "tap": { "test-ignore": "fixtures/", From 60f531a6c3f0e9ab57c8811517235b0e00e2a068 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:45:12 -0700 Subject: [PATCH 04/10] 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 d92cca15..8b06b960 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 2c406e6f..3ab03afd 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 8fb73d3752ac86eaa9086325d38a3ba5c369f8cb Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:48:30 -0700 Subject: [PATCH 05/10] deps: @npmcli/package-json@8.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ccdce8fa..567d39cf 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "license": "ISC", "description": "A node module to get your node module started", "dependencies": { - "@npmcli/package-json": "^7.0.0", + "@npmcli/package-json": "^8.0.0", "npm-package-arg": "^13.0.0", "promzard": "^3.0.1", "read": "^5.0.1", From 87a21da5da7ebaf09584a432740da867c9779878 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:48:39 -0700 Subject: [PATCH 06/10] deps: 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 567d39cf..4cd1e83f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "description": "A node module to get your node module started", "dependencies": { "@npmcli/package-json": "^8.0.0", - "npm-package-arg": "^13.0.0", + "npm-package-arg": "^14.0.0", "promzard": "^3.0.1", "read": "^5.0.1", "semver": "^7.7.2", From 3c9630c10261525b38d0b46f263280b71e5f01cf Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:48:48 -0700 Subject: [PATCH 07/10] deps: promzard@4.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4cd1e83f..7fd6caf4 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "dependencies": { "@npmcli/package-json": "^8.0.0", "npm-package-arg": "^14.0.0", - "promzard": "^3.0.1", + "promzard": "^4.0.0", "read": "^5.0.1", "semver": "^7.7.2", "validate-npm-package-name": "^7.0.0" From d5be430cfa7030d127dae629f11e147240591572 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:48:57 -0700 Subject: [PATCH 08/10] deps: read@6.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fd6caf4..4bed7f2f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@npmcli/package-json": "^8.0.0", "npm-package-arg": "^14.0.0", "promzard": "^4.0.0", - "read": "^5.0.1", + "read": "^6.0.0", "semver": "^7.7.2", "validate-npm-package-name": "^7.0.0" }, From 93ecd6f74a21533f6d12bc492712c81287d31dcd Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:49:11 -0700 Subject: [PATCH 09/10] deps: validate-npm-package-name@8.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4bed7f2f..3f2df21f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "promzard": "^4.0.0", "read": "^6.0.0", "semver": "^7.7.2", - "validate-npm-package-name": "^7.0.0" + "validate-npm-package-name": "^8.0.0" }, "devDependencies": { "@npmcli/config": "^10.0.0", From 354e1e41d8cde6fc4effaab94d4e174816df5de4 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 22 May 2026 09:49:25 -0700 Subject: [PATCH 10/10] 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 3f2df21f..5b9572f8 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@npmcli/config": "^10.0.0", - "@npmcli/eslint-config": "^6.0.1", + "@npmcli/eslint-config": "^7.0.0", "@npmcli/template-oss": "5.1.0", "tap": "^16.0.1" },