Skip to content

Commit

Permalink
feat!: drop support for Node.js 16
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js 18.19.0 is the minimum supported version.
  • Loading branch information
danez committed Sep 3, 2024
1 parent a6fd752 commit 21d90dc
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 130 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: ["18", "20", "22"]

steps:
- name: Checkout
Expand Down Expand Up @@ -57,4 +57,4 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint
run: pnpm lint
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@

<h2 align="center">Requirements</h2>

- Version 6 of `grunt-webpack` supports webpack 5 and (optional) `webpack-dev-server` version 4.
- For webpack 4 use version 5 of `grunt-webpack`
- Node.js 16.13.0 or newer
- Version 6 of `grunt-webpack` supports webpack 5 and (optional) `webpack-dev-server` version 5.
- Node.js 18.19.0 or newer

<h2 align="center">Install</h2>

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://opencollective.com/webpack"
},
"engines": {
"node": ">=16.13.0"
"node": ">=18.19.0"
},
"files": [
"src",
Expand Down Expand Up @@ -53,7 +53,7 @@
"jest": "^29.6.3",
"prettier": "^3.0.2",
"webpack": "^5.88.2",
"webpack-dev-server": "^4.15.1"
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"deep-for-each": "^3.0.0",
Expand Down
Loading

0 comments on commit 21d90dc

Please sign in to comment.