From b1b12f858291a7b3d73b20b28ca134407d927166 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Fri, 2 May 2025 08:37:59 -0700 Subject: [PATCH 1/2] Raise engine floor to >= Node 20 BREAKING CHANGE: Node 18 EOL. Please update to Node 20 or newer (preferably 22). Running on older versions of node will stop working eventually. --- .github/workflows/release.yml | 7 +++---- .github/workflows/test.yml | 6 +++--- package.json | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 318a029..53a6692 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,7 @@ on: required: true env: - NODE_VERSION: 'lts/*' - FORCE_COLOR: 2 + FORCE_COLOR: 1 concurrency: # prevent concurrent releases group: npm-bump @@ -23,10 +22,10 @@ jobs: with: # fetch full history so things like auto-changelog work properly fetch-depth: 0 - - name: Use Node.js ${{ env.NODE_VERSION }} + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: package.json # setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED registry-url: 'https://registry.npmjs.org' - run: npm i diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a087313..a6c6cce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,10 +18,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js lts/* + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: lts/* + node-version-file: package.json - run: npm i - run: npm run check @@ -32,7 +32,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node: ['lts/*', 18] + node: ['20', 'lts/*', '23'] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index e9c96c6..47b56ae 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "npm-run-all2", "version": "7.0.2", - "description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintainence fork)", + "description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)", "bin": { "run-p": "bin/run-p/index.js", "run-s": "bin/run-s/index.js", @@ -10,8 +10,8 @@ }, "main": "lib/index.js", "engines": { - "node": "^18.17.0 || >=20.5.0", - "npm": ">= 9" + "node": ">=20.5.0", + "npm": ">= 10" }, "scripts": { "clean": "rm -rf coverage jsdoc \"test-workspace/{build,test.txt}\"", From 57337c9cb6e5c5a0f2958f7ae1e746ac3d440e07 Mon Sep 17 00:00:00 2001 From: bcomnes Date: Fri, 2 May 2025 17:55:49 +0000 Subject: [PATCH 2/2] 8.0.0 --- CHANGELOG.md | 9 ++++++++- package.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eadc23..6714367 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -## [v7.0.2](https://github.com/bcomnes/npm-run-all2/compare/v7.0.1...v7.0.2) +## [v8.0.0](https://github.com/bcomnes/npm-run-all2/compare/v7.0.2...v8.0.0) + +### Commits + +- **Breaking change:** Raise engine floor to >= Node 20 [`b1b12f8`](https://github.com/bcomnes/npm-run-all2/commit/b1b12f858291a7b3d73b20b28ca134407d927166) +- Merge pull request #169 from bcomnes/node-20-or-greater [`bb27458`](https://github.com/bcomnes/npm-run-all2/commit/bb274582dadbaaeeb2c3a2c54b4171660fb92399) + +## [v7.0.2](https://github.com/bcomnes/npm-run-all2/compare/v7.0.1...v7.0.2) - 2024-12-16 ### Merged diff --git a/package.json b/package.json index 47b56ae..c7675b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "npm-run-all2", - "version": "7.0.2", + "version": "8.0.0", "description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)", "bin": { "run-p": "bin/run-p/index.js",