Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 9f2469a

Browse files
committed
chore: add types:check command
1 parent fed8a51 commit 9f2469a

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"build": "pnpm -r build",
88
"test": "pnpm -r test",
9-
"bump": "CI=true pnpm run test && pnpm changeset version"
9+
"bump": "CI=true pnpm run test && pnpm changeset version",
10+
"types:check": "pnpm -r types:check"
1011
},
1112
"devDependencies": {
1213
"@changesets/cli": "^2.27.1",

packages/snippetz-plugin-undici/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "module",
55
"scripts": {
66
"build": "vite build && tsc -p tsconfig.build.json",
7-
"test": "vitest"
7+
"test": "vitest",
8+
"types:check": "tsc --noEmit --skipLibCheck"
89
},
910
"devDependencies": {
1011
"@types/har-format": "^1.2.15",

packages/snippetz/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "module",
55
"scripts": {
66
"build": "vite build && tsc -p tsconfig.build.json",
7-
"test": "vitest"
7+
"test": "vitest",
8+
"types:check": "tsc --noEmit --skipLibCheck"
89
},
910
"devDependencies": {
1011
"typescript": "^5.2.2",

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
"noUnusedLocals": true,
1818
"noUnusedParameters": true,
1919
"noFallthroughCasesInSwitch": true
20-
},
21-
"include": ["src"]
20+
}
2221
}

0 commit comments

Comments
 (0)