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

Commit

Permalink
chore: add types:check command
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 11, 2023
1 parent fed8a51 commit 9f2469a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"build": "pnpm -r build",
"test": "pnpm -r test",
"bump": "CI=true pnpm run test && pnpm changeset version"
"bump": "CI=true pnpm run test && pnpm changeset version",
"types:check": "pnpm -r types:check"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/snippetz-plugin-undici/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": "module",
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json",
"test": "vitest"
"test": "vitest",
"types:check": "tsc --noEmit --skipLibCheck"
},
"devDependencies": {
"@types/har-format": "^1.2.15",
Expand Down
3 changes: 2 additions & 1 deletion packages/snippetz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": "module",
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json",
"test": "vitest"
"test": "vitest",
"types:check": "tsc --noEmit --skipLibCheck"
},
"devDependencies": {
"typescript": "^5.2.2",
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}
}

0 comments on commit 9f2469a

Please sign in to comment.