Skip to content

Commit 68f6588

Browse files
committed
update 01
1 parent 6c97162 commit 68f6588

File tree

5 files changed

+1238
-153
lines changed

5 files changed

+1238
-153
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@
2020
}
2121
},
2222
"scripts": {
23-
"start": "run-p -l type-check:watch \"build -- --watch\"",
2423
"build": "npm run type-check && vite build",
25-
"type-check": "tsc --noEmit",
26-
"type-check:watch": "npm run type-check -- --watch --preserveWatchOutput"
24+
"type-check": "tsc --noEmit"
2725
},
2826
"devDependencies": {
29-
"npm-run-all": "^4.1.5",
3027
"typescript": "^5.8.2",
3128
"vite": "^6.2.0",
3229
"vite-plugin-dts": "^4.5.3"

07-cloud/04-turborepo/01-workspaces/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,8 @@ _./helpers/motto-helpers/package.json_
124124
}
125125
},
126126
"scripts": {
127-
"start": "run-p -l type-check:watch \"build -- --watch\"",
128127
"build": "npm run type-check && vite build",
129-
"type-check": "tsc --noEmit",
130-
"type-check:watch": "npm run type-check -- --watch --preserveWatchOutput"
128+
"type-check": "tsc --noEmit"
131129
},
132130

133131
```
@@ -162,7 +160,7 @@ export const getHouseMotto = (house: House): string => MOTTOS[house];
162160
Everything seems to be working fine, including the typings. Let's run it locally:
163161

164162
```bash
165-
npm run start -w @my-org/motto-helpers
163+
npm run build -w @my-org/motto-helpers
166164

167165
```
168166

@@ -299,7 +297,6 @@ _./package.json_
299297
],
300298
+ "scripts": {
301299
+ "start": "run-p start:*",
302-
+ "start:motto-helpers": "npm start -w @my-org/motto-helpers",
303300
+ "start:stark": "npm start -w @my-org/house-stark",
304301
+ "start:targaryen": "npm start -w @my-org/house-targaryen",
305302
+ "start:lannister": "npm start -w @my-org/house-lannister",
@@ -316,7 +313,7 @@ npm start
316313

317314
```
318315

319-
> Add some updates in `motto-helpers` and `house-helpers` to check the watch mode.
316+
> If we add some updates in `motto-helpers` we cannot see the changes in the web apps because the `npm start` command doesn't watch the changes in the `motto-helpers` project.
320317
321318
# About Basefactor + Lemoncode
322319

07-cloud/04-turborepo/01-workspaces/helpers/motto-helpers/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@
2020
}
2121
},
2222
"scripts": {
23-
"start": "run-p -l type-check:watch \"build -- --watch\"",
2423
"build": "npm run type-check && vite build",
25-
"type-check": "tsc --noEmit",
26-
"type-check:watch": "npm run type-check -- --watch --preserveWatchOutput"
24+
"type-check": "tsc --noEmit"
2725
},
2826
"devDependencies": {
29-
"npm-run-all": "^4.1.5",
3027
"typescript": "^5.8.2",
3128
"vite": "^6.2.0",
3229
"vite-plugin-dts": "^4.5.3"

0 commit comments

Comments
 (0)