Skip to content

Commit

Permalink
Merge pull request #1564 from serverless-heaven/fix/drop-node-10-12
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Jul 28, 2023
2 parents e47315c + e62b495 commit 36de806
Show file tree
Hide file tree
Showing 10 changed files with 5,363 additions and 7,490 deletions.
23 changes: 2 additions & 21 deletions .github/dependabot.yml
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
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
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
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
@@ -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
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
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

0 comments on commit 36de806

Please sign in to comment.