Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Node < 14 #1564

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,7 @@ updates:
patterns:
- "*babel*"
ignore:
- dependency-name: husky
versions:
- ">= 5.0.0"
# require node >= 12
- dependency-name: lint-staged
versions:
- ">= 11.0.0"
# require node >= 12
- dependency-name: fs-extra
versions:
- ">= 10.0.0"
# require node > 10
- dependency-name: mocha
versions:
- ">= 9.0.0"
# require node > 10
- dependency-name: jest
versions:
- ">= 28.0.0"
# require node > 10
# require node > 16
- dependency-name: glob
versions:
- ">= 8.0.0"
- ">= 9.0.0"
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: "Install Node.js"
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: "Install dependencies"
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- windows-latest
- ubuntu-20.04
node:
- "10"
- "12"
- "14"
- "16"
- "18"
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
- name: "Install Node.js"
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18

- name: "Install dependencies"
run: npm ci
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
5 changes: 0 additions & 5 deletions .huskyrc

This file was deleted.

2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ yarn.lock
yarn-error.log
.editorconfig
.eslintrc.yml
.huskyrc
.husky
.lintstagedrc.yml
jest.config.js
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ and much more!
- Support NPM and Yarn for packaging
- Support asynchronous webpack configuration

## Recent improvements and important changes for 5.x

- Support Yarn
- Support Webpack 4 and 5
- 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.
- Added support for asynchronous webpack configuration

For the complete release notes see the end of this document.

## Install
Expand Down
Loading