Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: @npmcli/template-oss@4.11.3 #6118

Merged
merged 7 commits into from Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Expand Up @@ -38,8 +38,8 @@ jobs:
id: commit
continue-on-error: true
run: |
npx --offline commitlint -V --from origin/${{ github.base_ref }} --to ${{ github.event.pull_request.head.sha }}
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
- name: Run Commitlint on PR Title
if: steps.commit.outcome == 'failure'
run: |
echo ${{ github.event.pull_request.title }} | npx --offline commitlint -V
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -351,11 +351,18 @@ jobs:

if (updateComment) {
console.log('Found comment to update:', JSON.stringify(updateComment, null, 2))
let body = updateComment.body.replace(/Workflow run: :[a-z_]+:/, `Workflow run: :${RESULT}:`)
if (RESULT === 'x') {
body += `\n\n:rotating_light:`
body += ` @npm/cli-team: The post-release workflow failed for this release.`
body += ` Manual steps may need to be taken after examining the workflow output`
body += ` from the above workflow run. :rotating_light:`
}
await github.rest.issues.updateComment({
owner,
repo,
body,
comment_id: updateComment.id,
body: updateComment.body.replace(/Workflow run: :[a-z_]+:/, `Workflow run: :${RESULT}:`),
})
} else {
console.log('No matching comments found:', JSON.stringify(comments, null, 2))
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.11.1",
"@npmcli/template-oss": "4.11.3",
"front-matter": "^4.0.2",
"ignore-walk": "^6.0.0",
"jsdom": "^20.0.3",
Expand Down Expand Up @@ -56,7 +56,7 @@
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"ciVersions": "latest",
"engines": "^14.17.0 || ^16.13.0 || >=18.0.0",
"version": "4.11.1",
"version": "4.11.3",
"content": "../scripts/template-oss/index.js",
"workspaceRepo": {
"add": {
Expand Down
6 changes: 3 additions & 3 deletions mock-registry/package.json
Expand Up @@ -34,7 +34,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.1"
"version": "4.11.3"
},
"tap": {
"no-coverage": true,
Expand All @@ -46,10 +46,10 @@
"devDependencies": {
"@npmcli/arborist": "^6.1.1",
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.11.1",
"@npmcli/template-oss": "4.11.3",
"nock": "^13.2.9",
"npm-package-arg": "^10.1.0",
"pacote": "^15.0.7",
"pacote": "^15.0.8",
"tap": "^16.3.2"
}
}
6 changes: 6 additions & 0 deletions node_modules/.gitignore
Expand Up @@ -52,6 +52,9 @@
!/buffer
!/builtins
!/cacache
!/cacache/node_modules/
/cacache/node_modules/*
!/cacache/node_modules/fs-minipass
!/chalk
!/chownr
!/ci-info
Expand Down Expand Up @@ -211,6 +214,9 @@
!/once
!/p-map
!/pacote
!/pacote/node_modules/
/pacote/node_modules/*
!/pacote/node_modules/fs-minipass
!/parse-conflict-json
!/path-is-absolute
!/postcss-selector-parser
Expand Down
10 changes: 5 additions & 5 deletions node_modules/@npmcli/map-workspaces/package.json
@@ -1,6 +1,6 @@
{
"name": "@npmcli/map-workspaces",
"version": "3.0.0",
"version": "3.0.1",
"main": "lib/index.js",
"files": [
"bin/",
Expand Down Expand Up @@ -42,18 +42,18 @@
]
},
"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "4.5.1",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.0.1"
},
"dependencies": {
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/name-from-folder": "^2.0.0",
"glob": "^8.0.1",
"minimatch": "^5.0.1",
"read-package-json-fast": "^3.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.5.1"
"version": "4.11.0"
}
}
38 changes: 27 additions & 11 deletions node_modules/@npmcli/name-from-folder/package.json
@@ -1,27 +1,43 @@
{
"name": "@npmcli/name-from-folder",
"version": "1.0.1",
"version": "2.0.0",
"files": [
"index.js"
"bin/",
"lib/"
],
"main": "lib/index.js",
"description": "Get the package name from a folder path",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/name-from-folder"
"url": "https://github.com/npm/name-from-folder.git"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"author": "GitHub Inc.",
"license": "ISC",
"scripts": {
"test": "tap",
"snap": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
},
"tap": {
"check-coverage": true
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint"
},
"devDependencies": {
"tap": "^14.10.7"
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.3.2"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.0"
},
"tap": {
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}
2 changes: 1 addition & 1 deletion node_modules/@npmcli/promise-spawn/lib/index.js
Expand Up @@ -131,7 +131,7 @@ const open = (_args, opts = {}, extra = {}) => {
let platform = process.platform
// process.platform === 'linux' may actually indicate WSL, if that's the case
// we want to treat things as win32 anyway so the host can open the argument
if (platform === 'linux' && os.release().includes('Microsoft')) {
if (platform === 'linux' && os.release().toLowerCase().includes('microsoft')) {
platform = 'win32'
}

Expand Down
8 changes: 4 additions & 4 deletions node_modules/@npmcli/promise-spawn/package.json
@@ -1,6 +1,6 @@
{
"name": "@npmcli/promise-spawn",
"version": "6.0.1",
"version": "6.0.2",
"files": [
"bin/",
"lib/"
Expand Down Expand Up @@ -32,8 +32,8 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.8.0",
"minipass": "^3.1.1",
"@npmcli/template-oss": "4.11.0",
"minipass": "^4.0.0",
"spawk": "^1.7.1",
"tap": "^16.0.1"
},
Expand All @@ -42,7 +42,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.8.0"
"version": "4.11.0"
},
"dependencies": {
"which": "^3.0.0"
Expand Down
15 changes: 15 additions & 0 deletions node_modules/cacache/node_modules/fs-minipass/LICENSE
@@ -0,0 +1,15 @@
The ISC License

Copyright (c) Isaac Z. Schlueter and Contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.