Skip to content

Commit a09c802

Browse files
committed
fix: 'test:types' and 'ci' script commands
1 parent c38c7e3 commit a09c802

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"test": "vitest run",
3131
"test:coverage": "vitest run --coverage",
3232
"test:ui": "vitest --ui",
33-
"test:types": "tsd",
33+
"test:types": "tsd --files test/index.test-d.tsx",
3434
"build": "tsup src/index.ts --format cjs,esm --dts",
3535
"lint": "tsc --project tsconfig.build.json",
3636
"lint:all": "tsc",
37-
"ci": "pnpm run lint && pnpm run test && pnpm run build && pnpm run test:types",
37+
"ci": "pnpm run lint && pnpm run test && pnpm run test:types && pnpm run build",
3838
"release": "pnpm run ci && changeset publish"
3939
},
4040
"license": "MIT",

tsd.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"directory": "test",
32
"compilerOptions": {
43
"strict": true,
54
"jsx": "react-jsx",

0 commit comments

Comments
 (0)