Skip to content

Commit 1d613db

Browse files
authored
chore!: minimum supported Node.js version is 18.12.0 (#114)
1 parent 6828186 commit 1d613db

File tree

12 files changed

+6230
-3620
lines changed

12 files changed

+6230
-3620
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
strategy:
6161
matrix:
6262
os: [ubuntu-latest, windows-latest, macos-latest]
63-
node-version: [14.x, 16.x, 18.x, 20.x]
63+
node-version: [18.x, 20.x, 21.x]
6464
webpack-version: [latest]
6565

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

.gitignore

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

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = (api) => {
1111
{
1212
exclude: ["proposal-dynamic-import"],
1313
targets: {
14-
node: "14.15.0",
14+
node: "18.12.0",
1515
},
1616
},
1717
],

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"],
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)