Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: individual dev scripts #243

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion development.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ You can run all the packages in development mode using the following command:
pnpm dev
```

Or you can run development for the individual packages using the following command:

```bash
pnpm dev:[dirname]
```

For `React` it would be:

```bash
pnpm dev:react
```

### Build

You can build all packages using the following command:
Expand All @@ -37,7 +49,7 @@ Or you can run build for the individual packages using the following command:
pnpm build:[dirname]
```

For react it would be
For `React` it would be:

```bash
pnpm build:react
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"build:example:solid": "turbo run build:example --filter=@example/solidjs",
"build:example:svelte": "turbo run build:example --filter=@example/svelte",
"dev": "turbo run dev --parallel",
"dev:react": "turbo run dev --filter=@example/react",
"dev:solid": "turbo run dev --filter=@example/solidjs",
"dev:svelte": "turbo run dev --filter=@example/svelte",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"clean:all": "turbo run clean:all",
Expand Down