Skip to content

Commit 484f24b

Browse files
committed
update build scripts to include type-checking before build
1 parent e95ade4 commit 484f24b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

07-cloud/04-turborepo/00-boilerplate/motto-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
"scripts": {
23-
"build": "tsdown",
23+
"build": "npm run type-check && tsdown",
2424
"type-check": "tsc --noEmit"
2525
},
2626
"devDependencies": {

07-cloud/04-turborepo/02-turborepo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ _./helpers/house-helpers/package.json_
185185
+ }
186186
},
187187
+ "scripts": {
188-
+ "build": "vite build",
188+
+ "build": "tsdown",
189189
+ "type-check": "tsc --noEmit",
190190
+ },
191191
...

0 commit comments

Comments
 (0)