Skip to content

Commit ecc2230

Browse files
authored
test: update type testing step (#256)
1 parent dfa2385 commit ecc2230

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"prepack": "JITI_ESM_RESOLVE=1 jiti ../src/cli.ts build",
2828
"dev": "nuxi dev playground",
2929
"dev:build": "nuxi build playground",
30-
"dev:prepare": "JITI_ESM_RESOLVE=1 jiti ../src/cli.ts build --stub && JITI_ESM_RESOLVE=1 jiti ../src/cli.ts prepare"
30+
"dev:prepare": "JITI_ESM_RESOLVE=1 jiti ../src/cli.ts build --stub && JITI_ESM_RESOLVE=1 jiti ../src/cli.ts prepare",
31+
"test:types": "vue-tsc --noEmit"
3132
},
3233
"dependencies": {
3334
"@nuxt/kit": "^3.11.2"

example/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"extends": "./.nuxt/tsconfig.json",
3+
"exclude": [
4+
"dist",
5+
"node_modules",
6+
"playground",
7+
"../src"
8+
]
39
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"prepack": "pnpm build",
2929
"release": "pnpm vitest run && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
3030
"test": "pnpm vitest",
31-
"test:types": "tsc --noEmit && pnpm -r test:types"
31+
"test:types": "vue-tsc --noEmit && pnpm -r test:types"
3232
},
3333
"packageManager": "[email protected]",
3434
"dependencies": {

0 commit comments

Comments
 (0)