Skip to content

Commit 3829998

Browse files
authored
chore: @npmcli/[email protected] (#6654)
1 parent 352ae82 commit 3829998

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+106
-114
lines changed

.github/workflows/ci-libnpmaccess.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmaccess/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmaccess/**
1616
schedule:

.github/workflows/ci-libnpmdiff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmdiff/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmdiff/**
1616
schedule:

.github/workflows/ci-libnpmexec.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmexec/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmexec/**
1616
schedule:

.github/workflows/ci-libnpmfund.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmfund/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmfund/**
1616
schedule:

.github/workflows/ci-libnpmhook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmhook/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmhook/**
1616
schedule:

.github/workflows/ci-libnpmorg.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmorg/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmorg/**
1616
schedule:

.github/workflows/ci-libnpmpack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmpack/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmpack/**
1616
schedule:

.github/workflows/ci-libnpmpublish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmpublish/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmpublish/**
1616
schedule:

.github/workflows/ci-libnpmsearch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmsearch/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmsearch/**
1616
schedule:

.github/workflows/ci-libnpmteam.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmteam/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmteam/**
1616
schedule:

.github/workflows/ci-libnpmversion.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/libnpmversion/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/libnpmversion/**
1616
schedule:

.github/workflows/ci-npmcli-arborist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/arborist/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/arborist/**
1616
schedule:

.github/workflows/ci-npmcli-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- workspaces/config/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- workspaces/config/**
1616
schedule:

.github/workflows/ci-npmcli-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- docs/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- docs/**
1616
schedule:

.github/workflows/ci-npmcli-mock-globals.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- mock-globals/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- mock-globals/**
1616
schedule:

.github/workflows/ci-npmcli-mock-registry.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- mock-registry/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- mock-registry/**
1616
schedule:

.github/workflows/ci-npmcli-smoke-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- smoke-tests/**
1010
push:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
paths:
1515
- smoke-tests/**
1616
schedule:

.github/workflows/ci-release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
return { summary }
6363
- name: Create Check
64-
uses: LouisBrunner/checks-action@v1.3.1
64+
uses: LouisBrunner/checks-action@v1.6.0
6565
id: check
6666
if: inputs.check-sha
6767
with:
@@ -92,7 +92,7 @@ jobs:
9292
- name: Post Lint
9393
run: node . run postlint --ignore-scripts -ws -iwr --if-present
9494
- name: Conclude Check
95-
uses: LouisBrunner/checks-action@v1.3.1
95+
uses: LouisBrunner/checks-action@v1.6.0
9696
if: steps.check.outputs.check_id && always()
9797
with:
9898
token: ${{ secrets.GITHUB_TOKEN }}
@@ -161,7 +161,7 @@ jobs:
161161
162162
return { summary }
163163
- name: Create Check
164-
uses: LouisBrunner/checks-action@v1.3.1
164+
uses: LouisBrunner/checks-action@v1.6.0
165165
id: check
166166
if: inputs.check-sha
167167
with:
@@ -194,7 +194,7 @@ jobs:
194194
- name: Check Git Status
195195
run: node scripts/git-dirty.js
196196
- name: Conclude Check
197-
uses: LouisBrunner/checks-action@v1.3.1
197+
uses: LouisBrunner/checks-action@v1.6.0
198198
if: steps.check.outputs.check_id && always()
199199
with:
200200
token: ${{ secrets.GITHUB_TOKEN }}
@@ -264,7 +264,7 @@ jobs:
264264
265265
return { summary }
266266
- name: Create Check
267-
uses: LouisBrunner/checks-action@v1.3.1
267+
uses: LouisBrunner/checks-action@v1.6.0
268268
id: check
269269
if: inputs.check-sha
270270
with:
@@ -312,7 +312,7 @@ jobs:
312312
exit 1
313313
fi
314314
- name: Conclude Check
315-
uses: LouisBrunner/checks-action@v1.3.1
315+
uses: LouisBrunner/checks-action@v1.6.0
316316
if: steps.check.outputs.check_id && always()
317317
with:
318318
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ on:
1313
- workspaces/**
1414
push:
1515
branches:
16-
- main
1716
- latest
17+
- release/v*
1818
paths-ignore:
1919
- docs/**
2020
- smoke-tests/**

.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ name: CodeQL
55
on:
66
push:
77
branches:
8-
- main
98
- latest
9+
- release/v*
1010
pull_request:
1111
branches:
12-
- main
1312
- latest
13+
- release/v*
1414
schedule:
1515
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
1616
- cron: "0 10 * * 1"

.github/workflows/pull-request.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ jobs:
4343
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
4444
- name: Run Commitlint on PR Title
4545
if: steps.commit.outcome == 'failure'
46+
env:
47+
PR_TITLE: ${{ github.event.pull_request.title }}
4648
run: |
47-
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V
49+
echo "$PR_TITLE" | npx --offline commitlint -V

.github/workflows/release.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
type: string
1111
push:
1212
branches:
13-
- main
1413
- latest
1514
- release/v*
1615

@@ -77,7 +76,7 @@ jobs:
7776
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
7877
7978
body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Update This Release\n\n`
80-
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`latest\`. `
79+
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`${REF_NAME}\`. `
8180
body += `To force CI to update this PR, run this command:\n\n`
8281
body += `\`\`\`\ngh workflow run release.yml -r ${REF_NAME} -R ${owner}/${repo} -f release-pr=${issue_number}\n\`\`\``
8382
@@ -123,7 +122,7 @@ jobs:
123122
124123
return { summary }
125124
- name: Create Check
126-
uses: LouisBrunner/checks-action@v1.3.1
125+
uses: LouisBrunner/checks-action@v1.6.0
127126
id: check
128127
if: steps.release.outputs.pr-sha
129128
with:
@@ -213,7 +212,7 @@ jobs:
213212
214213
return { summary }
215214
- name: Create Check
216-
uses: LouisBrunner/checks-action@v1.3.1
215+
uses: LouisBrunner/checks-action@v1.6.0
217216
id: check
218217
if: steps.commit.outputs.sha
219218
with:
@@ -223,7 +222,7 @@ jobs:
223222
sha: ${{ steps.commit.outputs.sha }}
224223
output: ${{ steps.check-output.outputs.result }}
225224
- name: Conclude Check
226-
uses: LouisBrunner/checks-action@v1.3.1
225+
uses: LouisBrunner/checks-action@v1.6.0
227226
if: needs.release.outputs.check-id && always()
228227
with:
229228
token: ${{ secrets.GITHUB_TOKEN }}
@@ -261,7 +260,7 @@ jobs:
261260
fi
262261
echo "result=$result" >> $GITHUB_OUTPUT
263262
- name: Conclude Check
264-
uses: LouisBrunner/checks-action@v1.3.1
263+
uses: LouisBrunner/checks-action@v1.6.0
265264
if: needs.update.outputs.check-id && always()
266265
with:
267266
token: ${{ secrets.GITHUB_TOKEN }}

docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@isaacs/string-locale-compare": "^1.1.0",
2424
"@npmcli/config": "^6.1.7",
2525
"@npmcli/eslint-config": "^4.0.0",
26-
"@npmcli/template-oss": "4.14.1",
26+
"@npmcli/template-oss": "4.18.0",
2727
"front-matter": "^4.0.2",
2828
"ignore-walk": "^6.0.1",
2929
"jsdom": "^21.1.0",
@@ -57,7 +57,7 @@
5757
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
5858
"ciVersions": "latest",
5959
"engines": "^14.17.0 || ^16.13.0 || >=18.0.0",
60-
"version": "4.14.1",
60+
"version": "4.18.0",
6161
"content": "../scripts/template-oss/index.js",
6262
"workspaceRepo": {
6363
"add": {

mock-globals/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"templateOSS": {
3636
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
37-
"version": "4.14.1"
37+
"version": "4.18.0"
3838
},
3939
"tap": {
4040
"branches": 89,
@@ -48,7 +48,7 @@
4848
},
4949
"devDependencies": {
5050
"@npmcli/eslint-config": "^4.0.1",
51-
"@npmcli/template-oss": "4.14.1",
51+
"@npmcli/template-oss": "4.18.0",
5252
"tap": "^16.3.2"
5353
}
5454
}

mock-registry/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"templateOSS": {
3636
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
37-
"version": "4.14.1"
37+
"version": "4.18.0"
3838
},
3939
"tap": {
4040
"no-coverage": true,
@@ -46,7 +46,7 @@
4646
"devDependencies": {
4747
"@npmcli/arborist": "^6.1.1",
4848
"@npmcli/eslint-config": "^4.0.1",
49-
"@npmcli/template-oss": "4.14.1",
49+
"@npmcli/template-oss": "4.18.0",
5050
"json-stringify-safe": "^5.0.1",
5151
"nock": "^13.3.0",
5252
"npm-package-arg": "^10.1.0",

0 commit comments

Comments
 (0)