mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
chore: Improve agents and global commands
This commit is contained in:
1 parent
66763cf088
commit
186c146b79
2 files changed
+19
-3
No files matched your search
+17
-3
@@ -1,12 +1,26 @@
|
||||
## Development
|
||||
|
||||
When starting the dev server, use background mode:
|
||||
When starting the dev server, run:
|
||||
|
||||
```
|
||||
astro dev --background
|
||||
# From the root directory of the project
|
||||
pnpm dev:kb
|
||||
|
||||
# From the apps/kb directory
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
Manage the background server with `astro dev stop`, `astro dev status`, and `astro dev logs`.
|
||||
## Build
|
||||
|
||||
To run a full production build, run:
|
||||
|
||||
```
|
||||
# From the root directory of the project
|
||||
pnpm build:kb
|
||||
|
||||
# From the apps/kb directory
|
||||
pnpm build
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
|
||||
@@ -13,11 +13,13 @@
|
||||
"build:studio:docker:tanstack": "docker build . -f apps/studio/Dockerfile --target production -t supabase-studio:local-tanstack --build-arg NEXT_PUBLIC_STUDIO_AUTH_MODE=supabase --build-arg STUDIO_FRAMEWORK=tanstack --no-cache",
|
||||
"build:design-system": "turbo run build --filter=design-system",
|
||||
"build:docs": "turbo run build --filter=docs",
|
||||
"build:kb": "turbo run build --filter=kb",
|
||||
"clean": "turbo run clean --parallel && rimraf -G .turbo/cache && pnpm purge",
|
||||
"dev": "turbo run dev --parallel",
|
||||
"dev:studio": "turbo run dev --filter=studio --parallel",
|
||||
"dev:studio-local": "pnpm setup:cli && NODE_ENV=test MODE=test pnpm --prefix ./apps/studio dev",
|
||||
"dev:docs": "turbo run dev --filter=docs --parallel",
|
||||
"dev:kb": "turbo run dev --filter=kb --parallel",
|
||||
"dev:www": "turbo run dev --filter=www --parallel",
|
||||
"dev:design-system": "turbo run dev --filter=design-system --parallel",
|
||||
"lint": "turbo run lint",
|
||||
|
||||
Reference in new issue
Block a user