Skip to content

Commit 5b3a52b

Browse files
ilyaliaoantfu
andauthored
chore: typecheck (#849)
Co-authored-by: Anthony Fu <[email protected]>
1 parent 0eddfc4 commit 5b3a52b

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Lint
3232
run: nr lint
3333

34+
- name: Typecheck
35+
run: nr typecheck
36+
3437
test:
3538
runs-on: ${{ matrix.os }}
3639

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"example:dev": "npm -C examples/vite-vue3 run dev",
7676
"prepublishOnly": "npm run build",
7777
"lint": "eslint .",
78+
"typecheck": "tsc",
7879
"release": "bumpp && npm publish",
7980
"test": "vitest",
8081
"test:update": "vitest --u"

src/core/options.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const defaultOptions: Omit<Required<Options>, 'include' | 'exclude' | 'ex
2222

2323
allowOverrides: false,
2424

25+
sourcemap: true,
26+
dumpComponentsInfo: false,
2527
prefix: '',
2628
}
2729

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"resolveJsonModule": true,
99
"strict": true,
1010
"strictNullChecks": true,
11+
"noEmit": true,
1112
"esModuleInterop": true,
1213
"skipLibCheck": true
1314
},

0 commit comments

Comments
 (0)