docs: fix bun workspace command examples
This commit is contained in:
parent
e93f4aabb7
commit
72309c0c09
1 changed files with 8 additions and 8 deletions
|
|
@ -114,7 +114,7 @@ Create root `package.json` as the workspace orchestrator:
|
|||
"scripts": {
|
||||
"dev": "turbo dev --filter=@dimensionlab/web",
|
||||
"build": "turbo build",
|
||||
"preview": "bun --cwd apps/web run preview",
|
||||
"preview": "bun run --cwd apps/web preview",
|
||||
"storybook": "turbo storybook --filter=@dimensionlab/ui",
|
||||
"build-storybook": "turbo build-storybook --filter=@dimensionlab/ui",
|
||||
"check": "turbo check",
|
||||
|
|
@ -122,8 +122,8 @@ Create root `package.json` as the workspace orchestrator:
|
|||
"test:unit": "turbo test:unit",
|
||||
"test:e2e": "turbo test:e2e --filter=@dimensionlab/web",
|
||||
"test:qa": "turbo test:qa",
|
||||
"db:generate": "bun --cwd apps/web run db:generate",
|
||||
"db:check": "bun --cwd apps/web run db:check"
|
||||
"db:generate": "bun run --cwd apps/web db:generate",
|
||||
"db:check": "bun run --cwd apps/web db:check"
|
||||
},
|
||||
"devDependencies": {
|
||||
"turbo": "^2.5.0"
|
||||
|
|
@ -251,9 +251,9 @@ Remove `dashboardDocumentToUiDashboard` from `packages/ui/src/index.ts`.
|
|||
Run:
|
||||
|
||||
```sh
|
||||
bun --cwd packages/ui run build
|
||||
bun --cwd packages/ui run check
|
||||
bun --cwd packages/ui run test:unit
|
||||
bun run --cwd packages/ui build
|
||||
bun run --cwd packages/ui check
|
||||
bun run --cwd packages/ui test:unit
|
||||
```
|
||||
|
||||
Expected: PASS and `packages/ui/dist` contains `index.js`, `index.d.ts`, and
|
||||
|
|
@ -308,8 +308,8 @@ In `apps/web/src/app.css`, replace local UI imports with:
|
|||
Run:
|
||||
|
||||
```sh
|
||||
bun --cwd apps/web run check
|
||||
bun --cwd apps/web run test:unit
|
||||
bun run --cwd apps/web check
|
||||
bun run --cwd apps/web test:unit
|
||||
```
|
||||
|
||||
Expected: PASS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue