Skip to content

Commit

Permalink
2024 deps update cycle (#419)
Browse files Browse the repository at this point in the history
* Format package.json

It was using 4 spaces for some reason

* Update deps

* Change tsconfig to include-based config instead of exclude

* Allow ESLint to work on the test folder

We might need to tweak the new rules per project if they get annoying, but for now just fixing locally

* Update minimum Node version to 20

* Update GH action versions
  • Loading branch information
linuswillner authored Jan 24, 2024
1 parent 8ce38bb commit 4eb10e3
Show file tree
Hide file tree
Showing 11 changed files with 12,512 additions and 11,575 deletions.
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"parserOptions": {
"ecmaVersion": "latest",
"project": "./tsconfig.json",
"project": "./tsconfig.eslint.json",
"createDefaultProgram": true, // Required for linting to work even on the test folder
"ecmaFeatures": {
"globalReturn": true
Expand All @@ -24,6 +24,10 @@
"tsdoc/syntax": "error",
"no-void": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/strict-boolean-expressions": "off"
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-confusing-void-expression": ["error", {
"ignoreArrowShorthand": true,
"ignoreVoidOperator": true
}]
}
}
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Build docs
run: npm run doc
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create release
uses: softprops/action-gh-release@v1
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
Loading

0 comments on commit 4eb10e3

Please sign in to comment.