Skip to content

Commit 8035725

Browse files
committed
chore: @npmcli/[email protected]
1 parent e674987 commit 8035725

Some content is hidden

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

44 files changed

+181
-176
lines changed

.commitlintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ module.exports = {
77
'header-max-length': [2, 'always', 80],
88
'subject-case': [0],
99
'body-max-line-length': [0],
10+
'footer-max-line-length': [0],
1011
},
1112
}

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ module.exports = {
1212
root: true,
1313
ignorePatterns: [
1414
'tap-testdir*/',
15+
'/node_modules/.bin/',
16+
'/node_modules/.cache/',
1517
'docs/**',
1618
'smoke-tests/**',
1719
'mock-globals/**',

.github/actions/create-check/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
with:
2626
result-encoding: string
2727
script: |
28-
const { repo: { owner, repo}, runId, serverUrl } = context
28+
const { repo: { owner, repo}, runId, serverUrl } = context
2929
const { JOB_NAME, SHA } = process.env
3030
3131
const job = await github.rest.actions.listJobsForWorkflowRun({

.github/actions/install-latest-npm/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
MATCH=$SPEC
4545
echo "Found compatible version: npm@$MATCH"
4646
break
47-
fi
47+
fi
4848
done
4949
5050
if [ -z $MATCH ]; then

.github/workflows/ci-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: node . run postlint --ignore-scripts -ws -iwr --if-present
6161
- name: Conclude Check
6262
uses: LouisBrunner/[email protected]
63-
if: always()
63+
if: steps.create-check.outputs.check-id && always()
6464
with:
6565
token: ${{ secrets.GITHUB_TOKEN }}
6666
conclusion: ${{ job.status }}
@@ -142,7 +142,7 @@ jobs:
142142
run: node scripts/git-dirty.js
143143
- name: Conclude Check
144144
uses: LouisBrunner/[email protected]
145-
if: always()
145+
if: steps.create-check.outputs.check-id && always()
146146
with:
147147
token: ${{ secrets.GITHUB_TOKEN }}
148148
conclusion: ${{ job.status }}

.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
git config --global user.email "[email protected]"
3232
git config --global user.name "npm CLI robot"
3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@v2
34+
uses: github/codeql-action/init@v3
3535
with:
3636
languages: javascript
3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@v2
38+
uses: github/codeql-action/analyze@v3

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
# ignore everything in the root
44
/*
5-
# transient test directories
6-
tap-testdir*/
75

8-
# keep these
96
!**/.gitignore
107
!/.commitlintrc.js
118
!/.eslintrc.js
129
!/.eslintrc.local.*
10+
!/.git-blame-ignore-revs
1311
!/.gitattributes
1412
!/.github/
1513
!/.gitignore
1614
!/.licensee.json
1715
!/.mailmap
1816
!/.npmrc
17+
!/.prettierignore
18+
!/.prettierrc.js
1919
!/.release-please-manifest.json
2020
!/AUTHORS
2121
!/bin/
@@ -41,6 +41,7 @@ tap-testdir*/
4141
!/tap-snapshots/
4242
!/test/
4343
!/tsconfig.json
44+
tap-testdir*/
4445
!/docs/
4546
!/smoke-tests/
4647
!/mock-globals/

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
GitHub takes the security of our software products and services seriously, including the open source code repositories managed through our GitHub organizations, such as [GitHub](https://github.com/GitHub).
44

5-
If you believe you have found a security vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways.
5+
If you believe you have found a security vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways.
66

77
If the vulnerability you have found is *not* [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) or if you do not wish to be considered for a bounty reward, please report the issue to us directly through [[email protected]](mailto:[email protected]).
88

docs/.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
# ignore everything in the root
44
/*
5-
# transient test directories
6-
tap-testdir*/
75

8-
# keep these
96
!**/.gitignore
107
!/.eslintrc.js
118
!/.eslintrc.local.*
9+
!/.git-blame-ignore-revs
1210
!/.gitignore
1311
!/bin/
1412
!/CHANGELOG*
@@ -21,3 +19,4 @@ tap-testdir*/
2119
!/scripts/
2220
!/tap-snapshots/
2321
!/test/
22+
tap-testdir*/

docs/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
"private": true,
66
"main": "lib/index.js",
77
"scripts": {
8-
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
8+
"lint": "npm run eslint",
99
"postlint": "template-oss-check",
1010
"template-oss-apply": "template-oss-apply --force",
11-
"lintfix": "npm run lint -- --fix",
11+
"lintfix": "npm run eslint -- --fix",
1212
"snap": "tap",
1313
"test": "tap",
1414
"posttest": "npm run lint",
15-
"build": "node bin/build.js"
15+
"build": "node bin/build.js",
16+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
1617
},
1718
"repository": {
1819
"type": "git",
@@ -22,7 +23,7 @@
2223
"devDependencies": {
2324
"@isaacs/string-locale-compare": "^1.1.0",
2425
"@npmcli/eslint-config": "^4.0.0",
25-
"@npmcli/template-oss": "4.22.0",
26+
"@npmcli/template-oss": "4.23.3",
2627
"front-matter": "^4.0.2",
2728
"ignore-walk": "^6.0.5",
2829
"jsdom": "^24.0.0",
@@ -55,7 +56,7 @@
5556
"templateOSS": {
5657
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
5758
"ciVersions": "latest",
58-
"version": "4.22.0",
59+
"version": "4.23.3",
5960
"content": "../scripts/template-oss/index.js",
6061
"workspaceRepo": {
6162
"add": {

mock-globals/.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
# ignore everything in the root
44
/*
5-
# transient test directories
6-
tap-testdir*/
75

8-
# keep these
96
!**/.gitignore
107
!/.eslintrc.js
118
!/.eslintrc.local.*
9+
!/.git-blame-ignore-revs
1210
!/.gitignore
1311
!/bin/
1412
!/CHANGELOG*
@@ -21,3 +19,4 @@ tap-testdir*/
2119
!/scripts/
2220
!/tap-snapshots/
2321
!/test/
22+
tap-testdir*/

mock-globals/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
"private": true,
77
"scripts": {
88
"test": "tap",
9-
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
9+
"lint": "npm run eslint",
1010
"postlint": "template-oss-check",
1111
"template-oss-apply": "template-oss-apply --force",
12-
"lintfix": "npm run lint -- --fix",
12+
"lintfix": "npm run eslint -- --fix",
1313
"snap": "tap",
14-
"posttest": "npm run lint"
14+
"posttest": "npm run lint",
15+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
1516
},
1617
"repository": {
1718
"type": "git",
@@ -34,7 +35,7 @@
3435
},
3536
"templateOSS": {
3637
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
37-
"version": "4.22.0",
38+
"version": "4.23.3",
3839
"content": "../scripts/template-oss/index.js"
3940
},
4041
"tap": {
@@ -49,7 +50,7 @@
4950
},
5051
"devDependencies": {
5152
"@npmcli/eslint-config": "^4.0.1",
52-
"@npmcli/template-oss": "4.22.0",
53+
"@npmcli/template-oss": "4.23.3",
5354
"tap": "^16.3.8"
5455
}
5556
}

mock-registry/.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
# ignore everything in the root
44
/*
5-
# transient test directories
6-
tap-testdir*/
75

8-
# keep these
96
!**/.gitignore
107
!/.eslintrc.js
118
!/.eslintrc.local.*
9+
!/.git-blame-ignore-revs
1210
!/.gitignore
1311
!/bin/
1412
!/CHANGELOG*
@@ -21,3 +19,4 @@ tap-testdir*/
2119
!/scripts/
2220
!/tap-snapshots/
2321
!/test/
22+
tap-testdir*/

mock-registry/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
"private": true,
77
"scripts": {
88
"test": "tap",
9-
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
9+
"lint": "npm run eslint",
1010
"postlint": "template-oss-check",
1111
"template-oss-apply": "template-oss-apply --force",
12-
"lintfix": "npm run lint -- --fix",
12+
"lintfix": "npm run eslint -- --fix",
1313
"snap": "tap",
14-
"posttest": "npm run lint"
14+
"posttest": "npm run lint",
15+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
1516
},
1617
"repository": {
1718
"type": "git",
@@ -34,7 +35,7 @@
3435
},
3536
"templateOSS": {
3637
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
37-
"version": "4.22.0",
38+
"version": "4.23.3",
3839
"content": "../scripts/template-oss/index.js"
3940
},
4041
"tap": {
@@ -47,7 +48,7 @@
4748
"devDependencies": {
4849
"@npmcli/arborist": "^7.1.0",
4950
"@npmcli/eslint-config": "^4.0.1",
50-
"@npmcli/template-oss": "4.22.0",
51+
"@npmcli/template-oss": "4.23.3",
5152
"json-stringify-safe": "^5.0.1",
5253
"nock": "^13.3.3",
5354
"npm-package-arg": "^11.0.2",

0 commit comments

Comments
 (0)