Skip to content

Commit

Permalink
ci: add typecheck script
Browse files Browse the repository at this point in the history
  • Loading branch information
sannajammeh committed May 15, 2023
1 parent 0d4f4ad commit 059fea6
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dev": "turbo run dev",
"build": "turbo run build",
"start": "turbo run start",
"typecheck": "turbo run typecheck",
"test": "turbo run test --filter={test/**}",
"test:e2e": "turbo run test:e2e",
"prepublishOnly": "turbo run build --filter=packages*",
Expand Down
3 changes: 2 additions & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"scripts": {
"dev": "bunchee -w",
"build": "bunchee"
"build": "bunchee",
"typecheck": "tsc --noEmit"
},
"files": [
"dist",
Expand Down
3 changes: 2 additions & 1 deletion packages/infinite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"scripts": {
"dev": "bunchee index.ts -w",
"build": "bunchee index.ts"
"build": "bunchee index.ts",
"typecheck": "tsc --noEmit"
},
"keywords": [],
"author": "Sanna Jammeh",
Expand Down
3 changes: 2 additions & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"scripts": {
"dev": "bunchee index.ts -w",
"build": "bunchee index.ts"
"build": "bunchee index.ts",
"typecheck": "tsc --noEmit"
},
"keywords": [],
"author": "Sanna Jammeh",
Expand Down
2 changes: 1 addition & 1 deletion packages/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"dev": "bunchee index.ts -w",
"build": "bunchee index.ts",
"run:test": "node --loader @swc-node/register/esm --test test/*.mts"
"typecheck": "tsc --noEmit"
},
"files": [
"dist",
Expand Down
11 changes: 1 addition & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"dependsOn": ["^build", "^migrate:db"],
"outputs": ["playwright-report/**"]
},
"typecheck": {
"dependsOn": ["^build"],
"outputs": []
},
"dev": {
"cache": false,
"persistent": true
Expand Down

0 comments on commit 059fea6

Please sign in to comment.