Skip to content

Commit

Permalink
build!: minimum supported node version is 18
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Jan 25, 2024
1 parent e0d70bb commit 4558d74
Show file tree
Hide file tree
Showing 7 changed files with 1,617 additions and 1,041 deletions.
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]
stylelint-version: [13.x, 14.x, 15.x]
webpack-version: [latest]

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ logs
*.log
npm-debug.log*
yarn-debug.log*
.cspellcache
.eslintcache

/coverage
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.0.0',
},
},
],
Expand Down
7 changes: 5 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
'*.js': ['eslint --fix', 'prettier --write', 'cspell'],
'*.{json,md,yml,css,ts}': ['prettier --write'],
'*': [
'prettier --cache --write --ignore-unknown',
'cspell --cache --no-must-find-files',
],
'*.js': ['eslint --cache --fix'],
};
Loading

0 comments on commit 4558d74

Please sign in to comment.