Skip to content

Commit

Permalink
upgrade node to 20.12.2 (#286)
Browse files Browse the repository at this point in the history
* upgrade node to 20.12.2
  • Loading branch information
bprize15 committed May 2, 2024
1 parent 5752c04 commit 2400770
Show file tree
Hide file tree
Showing 115 changed files with 52,073 additions and 35,321 deletions.
11 changes: 10 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"default": ["static-field", "instance-field", "constructor", "static-method", "instance-method"]
}
],
"@typescript-eslint/no-parameter-properties": ["warn", { "allows": ["public", "private", "protected"] }],
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
Expand All @@ -44,6 +43,16 @@
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/prefer-regexp-exec": "off",

// Added by Ben while upgrading node
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
],

"@typescript-eslint/ban-types": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "12.16"
node-version: "20.12.2"
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ yarn start
```

yarn is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by
specifying a newer version in [package.json](package.json). You can also run `yarn update` and `yarn install` to manage dependencies.
specifying a newer version in [package.json](package.json). You can also run `yarn upgrade` and `yarn install` to manage dependencies.
Add the `help` flag on any command to see how you can use it. For example, `yarn help update`.

The `yarn run` command will list all of the scripts available to run for this project.
Expand Down
4 changes: 3 additions & 1 deletion jest.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ module.exports = {
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
testURL: 'http://localhost/',
testEnvironmentOptions: {
url: 'http://localhost/',
},
cacheDirectory: '<rootDir>/target/jest-cache',
coverageDirectory: '<rootDir>/target/test-results/',
testMatch: ['<rootDir>/src/main/webapp/app/**/@(*.)@(spec.ts?(x))'],
Expand Down
Loading

0 comments on commit 2400770

Please sign in to comment.