Skip to content

Commit

Permalink
v7 - Drop support for node14 (#1069)
Browse files Browse the repository at this point in the history
* Update to node16

* Update esbuild.config.js

* Update README.md

* Update package.json

* Update ci.yml

* Update release.yml

* Update prerelease.yml

* Update README.md

* Update LICENSE

* Update CONTRIBUTING.md

* Update README.md
  • Loading branch information
tclindner authored Jul 3, 2023
1 parent 8830c6e commit 3f7e41e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
- run: npm ci --no-progress
- run: npm run build
- run: npm run lint
Expand All @@ -28,7 +28,7 @@ jobs:

strategy:
matrix:
node: [14, 16, 18]
node: [16, 18, 20]
# TODO: Add windows-latest
os: [ubuntu-latest, macos-latest]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress
- run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

### Node

* [Node.js](https://nodejs.org/) - v14.0.0+
* [npm](https://www.npmjs.com/) - v6.0.0+
* [Node.js](https://nodejs.org/) - v16.0.0+
* [npm](https://www.npmjs.com/) - v8.0.0+

## Install project dependencies

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016-2022 tclindner
Copyright (c) 2016-2023 tclindner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ First thing first, let's make sure you have the necessary pre-requisites.

#### Node

* [Node.js](https://nodejs.org/) - v14.0.0+
* [npm](http://npmjs.com) - v6.0.0+
* [Node.js](https://nodejs.org/) - v16.0.0+
* [npm](http://npmjs.com) - v8.0.0+

### Use the cli

Expand Down Expand Up @@ -90,4 +90,4 @@ Please see [CHANGELOG.md](CHANGELOG.md).

## License

Copyright (c) 2016-2022 Thomas Lindner. Licensed under the MIT license.
Copyright (c) 2016-2023 Thomas Lindner. Licensed under the MIT license.
2 changes: 1 addition & 1 deletion esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const bundle = true;
const minify = true;
const platform = 'node';
const sourcemap = true;
const target = 'node14';
const target = 'node16';
const plugins = [nodeExternalsPlugin()];

readdirSync(rulesDirectory).forEach((file) => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"license": "MIT"
}

0 comments on commit 3f7e41e

Please sign in to comment.