Skip to content

Commit f7f74c0

Browse files
authored
chore!: minimum supported Node.js version is 18.12.0 (#252)
1 parent 96a5625 commit f7f74c0

24 files changed

+9532
-16715
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [ubuntu-latest, windows-latest, macos-latest]
69-
node-version: [14.x, 16.x, 18.x, 20.x]
69+
node-version: [18.x, 20.x, 21.x]
7070
webpack-version: [latest]
7171

7272
runs-on: ${{ matrix.os }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ coverage
44
logs
55
*.log
66
npm-debug.log*
7+
.cspellcache
78
.eslintcache
89
/coverage
910
/dist

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = (api) => {
1010
"@babel/preset-env",
1111
{
1212
targets: {
13-
node: "14.15.0",
13+
node: "18.12.0",
1414
},
1515
},
1616
],

lint-staged.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
2-
"*": ["prettier --write --ignore-unknown", "cspell --no-must-find-files"],
2+
"*": [
3+
"prettier --cache --write --ignore-unknown",
4+
"cspell --cache --no-must-find-files",
5+
],
36
"*.js": ["eslint --cache --fix"],
47
};

0 commit comments

Comments
 (0)