Skip to content

Commit

Permalink
chore: @npmcli/template-oss@4.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Oct 26, 2022
1 parent 12c0f98 commit bac1918
Show file tree
Hide file tree
Showing 19 changed files with 71 additions and 64 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/ci-release.yml
Expand Up @@ -3,6 +3,12 @@
name: CI - Release

on:
workflow_dispatch:
inputs:
ref:
required: true
type: string
default: latest
workflow_call:
inputs:
ref:
Expand All @@ -23,7 +29,7 @@ jobs:
steps:
- name: Get Workflow Job
uses: actions/github-script@v6

if: inputs.check-sha
id: check-output
env:
JOB_NAME: "Lint All"
Expand Down Expand Up @@ -57,7 +63,7 @@ jobs:
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
id: check

if: inputs.check-sha
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: in_progress
Expand Down Expand Up @@ -85,7 +91,7 @@ jobs:
run: node . run postlint --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
if: always()
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down Expand Up @@ -121,7 +127,7 @@ jobs:
steps:
- name: Get Workflow Job
uses: actions/github-script@v6

if: inputs.check-sha
id: check-output
env:
JOB_NAME: "Test All"
Expand Down Expand Up @@ -155,7 +161,7 @@ jobs:
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
id: check

if: inputs.check-sha
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: in_progress
Expand Down Expand Up @@ -186,7 +192,7 @@ jobs:
run: node scripts/git-dirty.js
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
if: always()
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down Expand Up @@ -219,7 +225,7 @@ jobs:
steps:
- name: Get Workflow Job
uses: actions/github-script@v6

if: inputs.check-sha
id: check-output
env:
JOB_NAME: "Smoke Publish"
Expand Down Expand Up @@ -253,7 +259,7 @@ jobs:
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
id: check

if: inputs.check-sha
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: in_progress
Expand Down Expand Up @@ -288,7 +294,7 @@ jobs:
SMOKE_PUBLISH_NPM=1 npm test -w smoke-tests --ignore-scripts
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
if: always()
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
- latest
- release/v*

permissions:
contents: write
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
return commentId
- name: Get Workflow Job
uses: actions/github-script@v6
if: steps.release.outputs.pr-number
if: steps.release.outputs.pr-sha
id: check-output
env:
JOB_NAME: "Release"
Expand Down Expand Up @@ -119,7 +120,7 @@ jobs:
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
id: check
if: steps.release.outputs.pr-number
if: steps.release.outputs.pr-sha
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: in_progress
Expand Down Expand Up @@ -173,7 +174,7 @@ jobs:
echo "::set-output name=sha::$(git rev-parse HEAD)"
- name: Get Workflow Job
uses: actions/github-script@v6

if: steps.commit.outputs.sha
id: check-output
env:
JOB_NAME: "Update - Release"
Expand Down Expand Up @@ -207,7 +208,7 @@ jobs:
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
id: check

if: steps.commit.outputs.sha
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: in_progress
Expand All @@ -216,7 +217,7 @@ jobs:
output: ${{ steps.check-output.outputs.result }}
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
if: always()
if: needs.release.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down Expand Up @@ -254,7 +255,7 @@ jobs:
echo "::set-output name=result::$result"
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
if: always()
if: needs.update.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ steps.needs-result.outputs.result }}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"tap": "^16.0.1"
},
"author": "GitHub Inc.",
Expand All @@ -58,7 +58,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.6.2",
"version": "4.7.1",
"content": "../scripts/template-oss/index.js"
}
}
36 changes: 18 additions & 18 deletions package-lock.json
Expand Up @@ -167,7 +167,7 @@
"@npmcli/fs": "^3.0.0",
"@npmcli/git": "^4.0.1",
"@npmcli/promise-spawn": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"licensee": "^8.2.0",
"nock": "^13.2.4",
"npm-packlist": "^7.0.1",
Expand Down Expand Up @@ -195,7 +195,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"tap": "^16.0.1"
},
"engines": {
Expand Down Expand Up @@ -2368,9 +2368,9 @@
}
},
"node_modules/@npmcli/template-oss": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.6.2.tgz",
"integrity": "sha512-DNFvLfh10McWruYmvulHFC/RjGZ/frFpecl0fBPPF+B3qvJn6jcKRt8///IWl+D+KS/aQKKx9o7bqtQWUjQ9ug==",
"version": "4.7.1",
"resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.7.1.tgz",
"integrity": "sha512-nzMGV+y/hLAQs6Eu4aXvLt0FBCTJAuinfUnXJRg+u+wJI0TB/ytbhArVEjQCyMPz16RNVbYixRocjfsKoU9y5w==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
Expand Down Expand Up @@ -14027,7 +14027,7 @@
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/promise-spawn": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"minify-registry-metadata": "^2.2.0",
"rimraf": "^3.0.2",
"tap": "^16.0.1",
Expand Down Expand Up @@ -14081,7 +14081,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"benchmark": "^2.1.4",
"chalk": "^4.1.0",
"minify-registry-metadata": "^2.1.0",
Expand All @@ -14102,7 +14102,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
Expand All @@ -14126,7 +14126,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"tap": "^16.0.1"
},
"engines": {
Expand All @@ -14152,7 +14152,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"bin-links": "^4.0.1",
"minify-registry-metadata": "^2.2.0",
"mkdirp": "^1.0.4",
Expand All @@ -14170,7 +14170,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"tap": "^16.0.1"
},
"engines": {
Expand All @@ -14186,7 +14186,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
Expand All @@ -14203,7 +14203,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"minipass": "^3.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
Expand All @@ -14223,7 +14223,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"nock": "^13.0.7",
"spawk": "^1.7.1",
"tap": "^16.0.1"
Expand All @@ -14244,7 +14244,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"libnpmpack": "^5.0.0",
"lodash.clonedeep": "^4.5.0",
"nock": "^13.2.4",
Expand All @@ -14262,7 +14262,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
Expand All @@ -14279,7 +14279,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
Expand All @@ -14299,7 +14299,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"require-inject": "^1.4.4",
"tap": "^16.0.1"
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -204,7 +204,7 @@
"@npmcli/fs": "^3.0.0",
"@npmcli/git": "^4.0.1",
"@npmcli/promise-spawn": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"licensee": "^8.2.0",
"nock": "^13.2.4",
"npm-packlist": "^7.0.1",
Expand Down Expand Up @@ -254,7 +254,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.6.2",
"version": "4.7.1",
"content": "./scripts/template-oss/root.js"
},
"license": "Artistic-2.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/template-oss/ci-release.yml
Expand Up @@ -3,7 +3,7 @@
smoke-publish:
{{> jobMatrix
jobName="Smoke Publish"
jobCheck=(obj sha="${{ inputs.check-sha }}")
jobCheck=(obj sha="inputs.check-sha")
jobCheckout=(obj ref="${{ inputs.ref }}")
windowsCI=false
}}
Expand Down
4 changes: 2 additions & 2 deletions smoke-tests/package.json
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/promise-spawn": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"minify-registry-metadata": "^2.2.0",
"rimraf": "^3.0.2",
"tap": "^16.0.1",
Expand All @@ -30,7 +30,7 @@
"license": "ISC",
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.6.2",
"version": "4.7.1",
"content": "../scripts/template-oss/index.js"
},
"tap": {
Expand Down
4 changes: 2 additions & 2 deletions workspaces/arborist/package.json
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.6.2",
"@npmcli/template-oss": "4.7.1",
"benchmark": "^2.1.4",
"chalk": "^4.1.0",
"minify-registry-metadata": "^2.1.0",
Expand Down Expand Up @@ -101,7 +101,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.6.2",
"version": "4.7.1",
"content": "../../scripts/template-oss/index.js"
}
}

0 comments on commit bac1918

Please sign in to comment.