Skip to content
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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Vite+ (`vp`) is the toolchain. Run from the repo root:
- `vp run e2e`: Playwright end-to-end tests (`*.e2e.ts` in `e2e/`)
- `vp run smoke:workerd`: boot core on plain workerd (on-prem readiness)
- `vp run dev`: run the frontend (localhost:5173) with core and connect behind it (localhost:8787); `vp -C apps/console dev` for the console
- `vp run seed`: while `vp run dev` runs, fill it with a demo company (`scripts/seed/`): people in teams, engines with 30 days of runs, Knowledge and chats; sign in as admin@acme.test. It adds only what's missing; to start over, stop dev and delete `apps/core/.wrangler/state`
- `vp run -r typegen`: regenerate `worker-configuration.d.ts` after changing a `wrangler.jsonc`
- `vp run -r db:generate`: generate migrations after changing a schema

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"prepare": "vp config --no-agent",
"dev": "node scripts/dev.ts",
"seed": "node scripts/seed.ts",
"e2e": "playwright test",
"smoke:workerd": "node scripts/workerd-smoke.ts",
"smoke:code-mode": "node scripts/workerd-code-mode.ts",
Expand Down
3 changes: 2 additions & 1 deletion scripts/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
* compiler is built again when the kit or the compiler changes
* (packages/compiler/watch.ts), into the assets core serves, so App screens
* follow `@grasp-os/ui` as the frontend does. When one of them stops, or
* this script is stopped, all of them stop.
* this script is stopped, all of them stop. `vp run seed` (scripts/seed.ts)
* fills the stack with a demo company.
*/
import { spawn } from "node:child_process";
import type { ChildProcess } from "node:child_process";
Expand Down
Loading
Loading