Skip to content

Commit

Permalink
chore!: minimum supported Node.js version is 18.12.0 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 16, 2024
1 parent 58174ef commit 0c658f1
Show file tree
Hide file tree
Showing 13 changed files with 7,868 additions and 16,168 deletions.
10 changes: 8 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"version": "0.2",
"language": "en,en-gb",
"words": ["commitlint", "Koppers", "sokra", "memfs"],

"words": [
"commitlint",
"Koppers",
"sokra",
"memfs",
"cspellcache",
"eslintcache"
],
"ignorePaths": [
"CHANGELOG.md",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ logs
*.log
npm-debug.log*
.eslintcache
.cspellcache
/coverage
/dist
/local
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = (api) => {
"@babel/preset-env",
{
targets: {
node: "14.15.0",
node: "18.12.0",
},
},
],
Expand Down
5 changes: 4 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
"*": ["prettier --write --ignore-unknown", "cspell"],
"*": [
"prettier --cache --write --ignore-unknown",
"cspell --cache --no-must-find-files",
],
"*.js": ["eslint --cache --fix"],
};
Loading

0 comments on commit 0c658f1

Please sign in to comment.