From ed24d4ce25b2539d60cd7c88cfd7803fca79430a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 20:03:57 +0000 Subject: [PATCH 1/2] chore: bump @npmcli/template-oss from 4.27.1 to 4.28.0 Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.27.1 to 4.28.0. - [Release notes](https://github.com/npm/template-oss/releases) - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/template-oss/compare/v4.27.1...v4.28.0) --- updated-dependencies: - dependency-name: "@npmcli/template-oss" dependency-version: 4.28.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d310778..c5da52c 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "license": "ISC", "devDependencies": { "@npmcli/eslint-config": "^6.0.0", - "@npmcli/template-oss": "4.27.1" + "@npmcli/template-oss": "4.28.0" }, "files": [ "bin/", From fc47e6176a62092f9f3a15f5f7e78b2ef846b7a9 Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Wed, 29 Oct 2025 20:04:39 +0000 Subject: [PATCH 2/2] chore: postinstall for dependabot template-oss PR --- .github/workflows/ci-release.yml | 7 +++++-- .github/workflows/ci.yml | 7 +++++-- package.json | 5 +++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 1768112..94bcb30 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -143,8 +143,11 @@ jobs: - name: Test (with coverage on Node >= 24) if: ${{ startsWith(matrix.node-version, '24') }} run: npm run test:cover --ignore-scripts - - name: Test (without coverage on Node < 24) - if: ${{ !startsWith(matrix.node-version, '24') }} + - name: Test (on Node 20 with globbing workaround) + if: ${{ startsWith(matrix.node-version, '20') }} + run: npm run test:node20 --ignore-scripts + - name: Test + if: ${{ !startsWith(matrix.node-version, '24') && !startsWith(matrix.node-version, '20') }} run: npm test --ignore-scripts - name: Conclude Check uses: LouisBrunner/checks-action@v1.6.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b60577a..ecfdefb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,9 @@ jobs: - name: Test (with coverage on Node >= 24) if: ${{ startsWith(matrix.node-version, '24') }} run: npm run test:cover --ignore-scripts - - name: Test (without coverage on Node < 24) - if: ${{ !startsWith(matrix.node-version, '24') }} + - name: Test (on Node 20 with globbing workaround) + if: ${{ startsWith(matrix.node-version, '20') }} + run: npm run test:node20 --ignore-scripts + - name: Test + if: ${{ !startsWith(matrix.node-version, '24') && !startsWith(matrix.node-version, '20') }} run: npm test --ignore-scripts diff --git a/package.json b/package.json index c5da52c..3b95919 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "snap": "node --test --test-update-snapshots './test/**/*.js'", "posttest": "npm run lint", "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", - "test:cover": "node --test --experimental-test-coverage --test-timeout=3000 --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 './test/**/*.js'" + "test:cover": "node --test --experimental-test-coverage --test-timeout=3000 --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 './test/**/*.js'", + "test:node20": "node --test test" }, "repository": { "type": "git", @@ -33,7 +34,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.27.1", + "version": "4.28.0", "publish": true, "testRunner": "node:test", "latestCiVersion": 24