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: bcomnes/npm-run-all2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.2.6
Choose a base ref
...
head repository: bcomnes/npm-run-all2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.0
Choose a head ref
  • 12 commits
  • 8 files changed
  • 3 contributors

Commits on Oct 18, 2024

  1. Upgrade: Bump read-package-json-fast from 3.0.2 to 4.0.0

    Bumps [read-package-json-fast](https://github.com/npm/read-package-json-fast) from 3.0.2 to 4.0.0.
    - [Release notes](https://github.com/npm/read-package-json-fast/releases)
    - [Changelog](https://github.com/npm/read-package-json-fast/blob/main/CHANGELOG.md)
    - [Commits](npm/read-package-json-fast@v3.0.2...v4.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: read-package-json-fast
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    fcc4508 View commit details
  2. Remove rimraf

    bcomnes committed Oct 18, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    c77e085 View commit details
  3. Bump node engines ^18.17.0 || >=20.5.0

    BREAKING CHANGE: Bump node engines ^18.17.0 || >=20.5.0
    bcomnes committed Oct 18, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    49b95f0 View commit details
  4. Merge branch 'rewrite'

    bcomnes committed Oct 18, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    6f6c445 View commit details
  5. Upgrade: Bump minimatch from 9.0.5 to 10.0.1

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 10.0.1.
    - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
    - [Commits](isaacs/minimatch@v9.0.5...v10.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c989293 View commit details
  6. Upgrade: Bump which from 3.0.1 to 5.0.0

    Bumps [which](https://github.com/npm/node-which) from 3.0.1 to 5.0.0.
    - [Release notes](https://github.com/npm/node-which/releases)
    - [Changelog](https://github.com/npm/node-which/blob/main/CHANGELOG.md)
    - [Commits](npm/node-which@v3.0.1...v5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: which
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b667e23 View commit details
  7. Merge pull request #156 from bcomnes/rm-rf-rimraf

    bcomnes authored Oct 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c661ffc View commit details

Commits on Oct 21, 2024

  1. Prevent a throw when looking up undefined results

    bcomnes committed Oct 21, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    b0f342e View commit details
  2. Merge pull request #158 from bcomnes/fix-undefined-throw

    Prevent a throw when looking up undefined results
    bcomnes authored Oct 21, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3f28b19 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    4be26c5 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    b300a1f View commit details
  5. 7.0.0

    bcomnes committed Oct 21, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    bcomnes Bret Comnes
    Copy the full SHA
    1a2f0a1 View commit details
Showing with 35 additions and 16 deletions.
  1. +1 −1 .knip.jsonc
  2. +20 −2 CHANGELOG.md
  3. +1 −1 docs/npm-run-all.md
  4. +1 −1 docs/run-p.md
  5. +1 −1 docs/run-s.md
  6. +3 −1 lib/run-task.js
  7. +6 −7 package.json
  8. +2 −2 test-workspace/package.json
2 changes: 1 addition & 1 deletion .knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": ["lib/index.js", "bin/*/*.js", "test-workspace/tasks/*.js"],
"ignoreDependencies": ["rimraf", "yarn"]
"ignoreDependencies": ["yarn"]
}
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

## [v6.2.4](https://github.com/bcomnes/npm-run-all2/compare/v6.2.3...v6.2.4)
## [v7.0.0](https://github.com/bcomnes/npm-run-all2/compare/v6.2.6...v7.0.0)

### Merged

- Prevent a throw when looking up undefined results [`#158`](https://github.com/bcomnes/npm-run-all2/pull/158)

### Commits

- **Breaking change:** Bump node engines ^18.17.0 || &gt;=20.5.0 [`49b95f0`](https://github.com/bcomnes/npm-run-all2/commit/49b95f0c4905504a94d1a7ce87fbb7e77ab60df5)
- Merge pull request #156 from bcomnes/rm-rf-rimraf [`c661ffc`](https://github.com/bcomnes/npm-run-all2/commit/c661ffc942e09a68b1a553190d3a550dc0f6a39c)
- Remove rimraf [`c77e085`](https://github.com/bcomnes/npm-run-all2/commit/c77e0856c65115b32788c3e9a1e441ba69fbd430)

## [v6.2.6](https://github.com/bcomnes/npm-run-all2/compare/v6.2.4...v6.2.6) - 2024-10-21

### Commits

- Prevent a throw when looking up undefined results [`d928f9a`](https://github.com/bcomnes/npm-run-all2/commit/d928f9ad59c00a20797c90d35b62ef0aecf0c364)

## [v6.2.4](https://github.com/bcomnes/npm-run-all2/compare/v6.2.3...v6.2.4) - 2024-10-18

### Merged

@@ -254,8 +272,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### Commits

- 🐛 use pidtree [`1b41ac5`](https://github.com/bcomnes/npm-run-all2/commit/1b41ac569987c96e224f940ff59f9699322c7824)
- ⬆️ update dependencies [`7ec542e`](https://github.com/bcomnes/npm-run-all2/commit/7ec542e95ceb922b9abe593270d9b6f8e0df4bc5)
- 🐛 use pidtree [`1b41ac5`](https://github.com/bcomnes/npm-run-all2/commit/1b41ac569987c96e224f940ff59f9699322c7824)
- 🔖 4.1.5 [`df15118`](https://github.com/bcomnes/npm-run-all2/commit/df1511851a2b5e8a406e4a2622829b360f671afc)

## [v4.1.4](https://github.com/bcomnes/npm-run-all2/compare/v4.1.3...v4.1.4) - 2018-11-24
2 changes: 1 addition & 1 deletion docs/npm-run-all.md
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ For example:
```json
{
"scripts": {
"clean": "rimraf dist",
"clean": "rm -rf dist",
"lint": "eslint src",
"build": "babel src -o lib"
}
2 changes: 1 addition & 1 deletion docs/run-p.md
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ For example:
```json
{
"scripts": {
"clean": "rimraf dist",
"clean": "rm -rf dist",
"lint": "eslint src",
"build": "babel src -o lib"
}
2 changes: 1 addition & 1 deletion docs/run-s.md
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ For example:
```json
{
"scripts": {
"clean": "rimraf dist",
"clean": "rm -rf dist",
"lint": "eslint src",
"build": "babel src -o lib"
}
4 changes: 3 additions & 1 deletion lib/run-task.js
Original file line number Diff line number Diff line change
@@ -188,7 +188,9 @@ module.exports = function runTask (task, options) {
// Attempt to figure out whether we're running via pnpm
const projectRoot = path.dirname(options.packageInfo.path)
const hasPnpmLockfile = fs.existsSync(path.join(projectRoot, 'pnpm-lock.yaml'))
const { status: pnpmFound, output: pnpmWhichOutput } = await which('pnpm', { nothrow: true })
const whichPnpmResults = await which('pnpm', { nothrow: true })
const pnpmFound = whichPnpmResults?.status
const pnpmWhichOutput = whichPnpmResults?.output
if (hasPnpmLockfile && __dirname.split(path.delimiter).includes('.pnpm') && pnpmFound) {
execPath = pnpmWhichOutput
}
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-run-all2",
"version": "6.2.4",
"version": "7.0.0",
"description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintainence fork)",
"bin": {
"run-p": "bin/run-p/index.js",
@@ -10,8 +10,8 @@
},
"main": "lib/index.js",
"engines": {
"node": "^14.18.0 || ^16.13.0 || >=18.0.0",
"npm": ">= 8"
"node": "^20.5.0 || >=22.0.0",
"npm": ">= 9"
},
"scripts": {
"clean": "rm -rf coverage jsdoc \"test-workspace/{build,test.txt}\"",
@@ -33,11 +33,11 @@
"ansi-styles": "^6.2.1",
"cross-spawn": "^7.0.3",
"memorystream": "^0.3.1",
"minimatch": "^9.0.0",
"minimatch": "^10.0.1",
"pidtree": "^0.6.0",
"read-package-json-fast": "^3.0.2",
"read-package-json-fast": "^4.0.0",
"shell-quote": "^1.7.3",
"which": "^3.0.1"
"which": "^5.0.0"
},
"devDependencies": {
"auto-changelog": "^2.2.0",
@@ -49,7 +49,6 @@
"knip": "^5.23.3",
"mocha": "^10.0.0",
"neostandard": "^0.11.0",
"rimraf": "^5.0.7",
"yarn": "^1.12.3"
},
"repository": {
4 changes: 2 additions & 2 deletions test-workspace/package.json
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@
"test-task:stdout": "node tasks/stdout.js > test.txt",
"test-task:stderr": "node tasks/stderr.js 2> test.txt",
"test-task:stdin": "echo STDIN | node tasks/stdin.js",
"test-task:issue14:win32": "..\\node_modules\\.bin\\rimraf build && mkdir %npm_package_config_DEST% && cd build",
"test-task:issue14:posix": "../node_modules/.bin/rimraf build && mkdir $npm_package_config_DEST && cd build",
"test-task:issue14:win32": "rm -rf build && mkdir %npm_package_config_DEST% && cd build",
"test-task:issue14:posix": "rm -rf build && mkdir $npm_package_config_DEST && cd build",
"test-task:echo": "node tasks/echo.js",
"test-task:dump": "node tasks/dump.js",
"test-task:nest-append:npm-run-all": "node ../bin/npm-run-all/index.js test-task:append",