Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/run-script
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.0
Choose a base ref
...
head repository: npm/run-script
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.1.0
Choose a head ref
  • 4 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 21, 2024

  1. chore: bump @npmcli/template-oss from 4.21.3 to 4.21.4

    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.21.3 to 4.21.4.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v4.21.3...v4.21.4)
    
    ---
    updated-dependencies:
    - dependency-name: @npmcli/template-oss
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and lukekarrys committed Apr 21, 2024
    Copy the full SHA
    5d16957 View commit details
  2. chore: postinstall for dependabot template-oss PR

    lukekarrys committed Apr 21, 2024
    Copy the full SHA
    8417f1b View commit details

Commits on Apr 29, 2024

  1. feat: call input start/end around spawned process (#202)

    lukekarrys authored Apr 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    afb3db4 View commit details
  2. chore: release 8.1.0 (#201)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [8.1.0](v8.0.0...v8.1.0)
    (2024-04-29)
    
    ### Features
    
    *
    [`afb3db4`](afb3db4)
    [#202](#202) call input start/end
    around spawned process (#202) (@lukekarrys)
    
    ### Chores
    
    *
    [`8417f1b`](8417f1b)
    [#200](#200) postinstall for
    dependabot template-oss PR (@lukekarrys)
    *
    [`5d16957`](5d16957)
    [#200](#200) bump
    @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Apr 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    211821d View commit details
Showing with 23 additions and 8 deletions.
  1. +2 −1 .commitlintrc.js
  2. +2 −1 .github/workflows/release-integration.yml
  3. +1 −1 .release-please-manifest.json
  4. +11 −0 CHANGELOG.md
  5. +4 −2 lib/run-script-pkg.js
  6. +3 −3 package.json
3 changes: 2 additions & 1 deletion .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ module.exports = {
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
'subject-case': [0],
'body-max-line-length': [0],
},
}
3 changes: 2 additions & 1 deletion .github/workflows/release-integration.yml
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@ jobs:
- name: Publish
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
RELEASES: ${{ inputs.releases }}
run: |
EXIT_CODE=0
@@ -65,7 +66,7 @@ jobs:
fi
}
for release in $(echo '${{ inputs.releases }}' | jq -r '.[] | @base64'); do
for release in $(echo $RELEASES | jq -r '.[] | @base64'); do
PUBLISH_TAG=$(echo "$release" | base64 --decode | jq -r .publishTag)
STATUS=$(each_release "$PUBLISH_TAG")
if [[ "$STATUS" -eq 1 ]]; then
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "8.0.0"
".": "8.1.0"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [8.1.0](https://github.com/npm/run-script/compare/v8.0.0...v8.1.0) (2024-04-29)

### Features

* [`afb3db4`](https://github.com/npm/run-script/commit/afb3db417f8fa84bc67b4db99cf6320308c2aceb) [#202](https://github.com/npm/run-script/pull/202) call input start/end around spawned process (#202) (@lukekarrys)

### Chores

* [`8417f1b`](https://github.com/npm/run-script/commit/8417f1bbc20a245160e4bb395d535556eaec63de) [#200](https://github.com/npm/run-script/pull/200) postinstall for dependabot template-oss PR (@lukekarrys)
* [`5d16957`](https://github.com/npm/run-script/commit/5d16957c874c9441aa3a67c47275c8d89fced74e) [#200](https://github.com/npm/run-script/pull/200) bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])

## [8.0.0](https://github.com/npm/run-script/compare/v7.0.4...v8.0.0) (2024-04-12)

### ⚠️ BREAKING CHANGES
6 changes: 4 additions & 2 deletions lib/run-script-pkg.js
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@ const runScriptPkg = async options => {
return { code: 0, signal: null }
}

let inputEnd = () => {}
if (stdio === 'inherit') {
let banner
if (pkg._id) {
@@ -56,8 +57,9 @@ const runScriptPkg = async options => {
banner += ` ${args.join(' ')}`
}
banner += '\n'
const { output } = require('proc-log')
const { output, input } = require('proc-log')
output.standard(banner)
inputEnd = input.start()
}

const [spawnShell, spawnArgs, spawnOpts] = makeSpawnArgs({
@@ -104,7 +106,7 @@ const runScriptPkg = async options => {
} else {
throw er
}
})
}).finally(inputEnd)
}

module.exports = runScriptPkg
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@npmcli/run-script",
"version": "8.0.0",
"version": "8.1.0",
"description": "Run a lifecycle script for a package (descendant of npm-lifecycle)",
"author": "GitHub Inc.",
"license": "ISC",
@@ -16,7 +16,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"@npmcli/template-oss": "4.21.4",
"spawk": "^1.8.1",
"tap": "^16.0.1"
},
@@ -42,7 +42,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.21.3",
"version": "4.21.4",
"publish": "true"
},
"tap": {