Skip to content

Commit

Permalink
Raise minimum NodeJS version
Browse files Browse the repository at this point in the history
  • Loading branch information
Silic0nS0ldier committed Mar 16, 2024
1 parent 3f69b9c commit 6aadb0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 70 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
node-version: [ ^14.0.0, ^16.0.0, ^18.0.0 ]
node-version: [ ^18.0.0, ^20.0.0 ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ^16.0.0
node-version: ^20.0.0
- uses: actions/cache@v3
env:
cache-name: cache-pnpm-modules
Expand All @@ -46,7 +46,7 @@ jobs:
restore-keys: pnpm-check-${{ env.cache-name }}-
- uses: pnpm/[email protected]
with:
version: ^7.12.1
version: ^8.15.4
run_install: |
- args: [--ignore-scripts]
- run: pnpm run compile
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ^16.0.0
node-version: ^20.0.0
- run: npm ci
- run: npm run release-readiness

Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ npm i -D @userfrosting/vinyl-fs-vpath

## Usage

> **IMPORTANT**<br/>
> This is an ES module package targeting NodeJS `>=14.0.0`, refer to the [NodeJS ESM docs](https://nodejs.org/api/esm.html) regarding how to correctly import.
> ESM loaders like `@babel/loader` or `esm` likely won't work as expected.
```js
// gulpfile.mjs
import { src } from "@userfrosting/vinyl-fs-vpath";
Expand Down
62 changes: 1 addition & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"vinyl-fs": "^3.0.3"
},
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"engineStrict": true,
"ava": {
Expand Down

0 comments on commit 6aadb0b

Please sign in to comment.