Skip to content

Commit 0c658f1

Browse files
authored
chore!: minimum supported Node.js version is 18.12.0 (#146)
1 parent 58174ef commit 0c658f1

13 files changed

+7868
-16168
lines changed

.cspell.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
22
"version": "0.2",
33
"language": "en,en-gb",
4-
"words": ["commitlint", "Koppers", "sokra", "memfs"],
5-
4+
"words": [
5+
"commitlint",
6+
"Koppers",
7+
"sokra",
8+
"memfs",
9+
"cspellcache",
10+
"eslintcache"
11+
],
612
"ignorePaths": [
713
"CHANGELOG.md",
814
"package.json",

.github/workflows/nodejs.yml

+1-1
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

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ logs
33
*.log
44
npm-debug.log*
55
.eslintcache
6+
.cspellcache
67
/coverage
78
/dist
89
/local

babel.config.js

+1-1
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

+4-1
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)