Skip to content

Commit e62b495

Browse files
committed
Drop Node < 14
1 parent 3ceede6 commit e62b495

File tree

10 files changed

+5299
-7426
lines changed

10 files changed

+5299
-7426
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,7 @@ updates:
1313
patterns:
1414
- "*babel*"
1515
ignore:
16-
- dependency-name: husky
17-
versions:
18-
- ">= 5.0.0"
19-
# require node >= 12
20-
- dependency-name: lint-staged
21-
versions:
22-
- ">= 11.0.0"
23-
# require node >= 12
24-
- dependency-name: fs-extra
25-
versions:
26-
- ">= 10.0.0"
27-
# require node > 10
28-
- dependency-name: mocha
29-
versions:
30-
- ">= 9.0.0"
31-
# require node > 10
32-
- dependency-name: jest
33-
versions:
34-
- ">= 28.0.0"
35-
# require node > 10
16+
# require node > 16
3617
- dependency-name: glob
3718
versions:
38-
- ">= 8.0.0"
19+
- ">= 9.0.0"

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: "Install Node.js"
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 16
27+
node-version: 18
2828

2929
- name: "Install dependencies"
3030
run: npm ci

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 16
15+
node-version: 18
1616
registry-url: https://registry.npmjs.org/
1717
- run: npm ci
1818
- run: npm test

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121
- windows-latest
2222
- ubuntu-20.04
2323
node:
24-
- "10"
25-
- "12"
2624
- "14"
2725
- "16"
2826
- "18"
@@ -59,7 +57,7 @@ jobs:
5957
- name: "Install Node.js"
6058
uses: actions/setup-node@v3
6159
with:
62-
node-version: "16"
60+
node-version: 18
6361

6462
- name: "Install dependencies"
6563
run: npm ci

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.huskyrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ yarn.lock
1010
yarn-error.log
1111
.editorconfig
1212
.eslintrc.yml
13-
.huskyrc
13+
.husky
1414
.lintstagedrc.yml
1515
jest.config.js

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ and much more!
2828
- Support NPM and Yarn for packaging
2929
- Support asynchronous webpack configuration
3030

31-
## Recent improvements and important changes for 5.x
32-
33-
- Support Yarn
34-
- Support Webpack 4 and 5
35-
- Cleaned up configuration. You should now use a `custom.webpack` object to configure everything relevant for the plugin. The old configuration still works but will be removed in the next major release. For details see below.
36-
- Added support for asynchronous webpack configuration
37-
3831
For the complete release notes see the end of this document.
3932

4033
## Install

0 commit comments

Comments
 (0)