Skip to content

Commit

Permalink
Update build tooling, update imports, require Node 16 (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Aug 5, 2024
1 parent e6c0988 commit caab069
Show file tree
Hide file tree
Showing 35 changed files with 2,651 additions and 3,842 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
],
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.eslint.json"
"project": "./tsconfig.json"
},
"rules": {
"dot-notation": 0,
Expand Down Expand Up @@ -126,7 +126,7 @@
},
{
"files": "*.spec.ts",
"extends": "plugin:jest/recommended",
"extends": "plugin:vitest/legacy-recommended",
"rules": {
"@typescript-eslint/no-explicit-any": 0
}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Run Jest
run: npm run test:jest
- name: Run tests
run: npm run test:vi
if: matrix.node != env.NODE_COV

- name: Run Jest with coverage
run: npm run test:jest:cov
- name: Run tests with coverage
run: npm run test:vi -- --coverage
if: matrix.node == env.NODE_COV

- name: Run Coveralls
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ npm-debug.log
.docusaurus
.cache-loader
/coverage
/lib
/.tshy
/dist
/website/docs/api
/website/build
Loading

0 comments on commit caab069

Please sign in to comment.