Skip to content

Commit 3f7e41e

Browse files
authored
v7 - Drop support for node14 (#1069)
* 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
1 parent 8830c6e commit 3f7e41e

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: '14'
19+
node-version: '16'
2020
- run: npm ci --no-progress
2121
- run: npm run build
2222
- run: npm run lint
@@ -28,7 +28,7 @@ jobs:
2828

2929
strategy:
3030
matrix:
31-
node: [14, 16, 18]
31+
node: [16, 18, 20]
3232
# TODO: Add windows-latest
3333
os: [ubuntu-latest, macos-latest]
3434

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: '14'
14+
node-version: '16'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci --no-progress
1717
- run: npm run build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: '14'
14+
node-version: '16'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci --no-progress
1717
- run: npm run build

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
### Node
66

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

1010
## Install project dependencies
1111

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2022 tclindner
3+
Copyright (c) 2016-2023 tclindner
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ First thing first, let's make sure you have the necessary pre-requisites.
3131

3232
#### Node
3333

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

3737
### Use the cli
3838

@@ -90,4 +90,4 @@ Please see [CHANGELOG.md](CHANGELOG.md).
9090

9191
## License
9292

93-
Copyright (c) 2016-2022 Thomas Lindner. Licensed under the MIT license.
93+
Copyright (c) 2016-2023 Thomas Lindner. Licensed under the MIT license.

esbuild.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const bundle = true;
1111
const minify = true;
1212
const platform = 'node';
1313
const sourcemap = true;
14-
const target = 'node14';
14+
const target = 'node16';
1515
const plugins = [nodeExternalsPlugin()];
1616

1717
readdirSync(rulesDirectory).forEach((file) => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"typescript": "^4.9.5"
8282
},
8383
"engines": {
84-
"node": ">=14.0.0",
85-
"npm": ">=6.0.0"
84+
"node": ">=16.0.0",
85+
"npm": ">=8.0.0"
8686
},
8787
"license": "MIT"
8888
}

0 commit comments

Comments
 (0)