Skip to content

Commit

Permalink
update dependencies for node20
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt committed May 21, 2024
1 parent 7f7e9e9 commit d57387d
Show file tree
Hide file tree
Showing 4 changed files with 1,361 additions and 1,935 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const js = require('@eslint/js');
const jest = require('eslint-plugin-jest');
const globals = require('globals');

module.exports = [
{
plugins: {
jest,
},
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
sourceType: 'module',
ecmaVersion: 2018,
},
rules: js.configs.recommended.rules,
},
];
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Automatically update PR branch",
"main": "dest/index.js",
"scripts": {
"lint": "eslint -c .eslintrc.json src",
"lint": "eslint -c eslint.config.js src",
"test": "jest src --coverage --verbose",
"jest-dev": "jest src --coverage --verbose --watch",
"build": "ncc build src/index.js -o dest"
Expand All @@ -14,13 +14,16 @@
"private": false,
"dependencies": {},
"devDependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@vercel/ncc": "^0.27.0",
"babel-jest": "^26.6.3",
"eslint": "^8.5.0",
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@eslint/js": "^9.3.0",
"@vercel/ncc": "^0.38.1",
"babel-jest": "^29.7.0",
"eslint": "^9.2.0",
"eslint-plugin-jest": "^28.5.0",
"globals": "^15.3.0",
"jest": "^29.7.0"
}
}
Loading

0 comments on commit d57387d

Please sign in to comment.