From f05fa184077679bbb2afdf4df2d02438b852044c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Curley?= Date: Fri, 20 Mar 2026 11:40:34 +0000 Subject: [PATCH] more updates --- .vite-hooks/pre-commit | 1 + AGENTS.md | 2 +- apps/example/.vscode/settings.json | 3 - apps/example/confect/_generated/services.ts | 18 +- apps/example/confect/notesAndRandom.spec.ts | 4 +- .../confect/notesAndRandom/notes.impl.ts | 63 +- .../confect/notesAndRandom/random.impl.ts | 11 +- apps/example/confect/path-prefix.http.ts | 17 +- apps/example/confect/schema.ts | 5 +- apps/example/confect/spec.ts | 2 +- apps/example/confect/workflows.impl.ts | 23 +- apps/example/convex/_generated/api.d.ts | 46 +- apps/example/convex/_generated/dataModel.d.ts | 8 +- ...CONFECT_WORKFLOW_IMPLEMENTATION_SUMMARY.md | 57 - .../docs/CONFECT_WORKFLOW_TEST_PLAN.md | 221 ---- apps/example/package.json | 28 +- apps/example/src/App.tsx | 36 +- apps/example/tsconfig.json | 4 +- apps/example/vite.config.ts | 1 - .../docs => docs}/CONFECT_WORKFLOW_SPEC.md | 0 package.json | 14 +- packages/{ => confect-workflow}/LICENSE | 0 packages/confect-workflow/package.json | 12 +- pnpm-lock.yaml | 1174 ++++++++++++----- pnpm-workspace.yaml | 27 +- vite.config.ts | 3 + 26 files changed, 938 insertions(+), 842 deletions(-) create mode 100755 .vite-hooks/pre-commit delete mode 100644 apps/example/.vscode/settings.json delete mode 100644 apps/example/docs/CONFECT_WORKFLOW_IMPLEMENTATION_SUMMARY.md delete mode 100644 apps/example/docs/CONFECT_WORKFLOW_TEST_PLAN.md rename {apps/example/docs => docs}/CONFECT_WORKFLOW_SPEC.md (100%) rename packages/{ => confect-workflow}/LICENSE (100%) diff --git a/.vite-hooks/pre-commit b/.vite-hooks/pre-commit new file mode 100755 index 0000000..85fb65b --- /dev/null +++ b/.vite-hooks/pre-commit @@ -0,0 +1 @@ +vp staged diff --git a/AGENTS.md b/AGENTS.md index 8573476..f190a52 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -63,7 +63,7 @@ These commands map to their corresponding tools. For example, `vp dev --port 300 - **Using the package manager directly:** Do not use pnpm, npm, or Yarn directly. Vite+ can handle all package manager operations. - **Always use Vite commands to run tools:** Don't attempt to run `vp vitest` or `vp oxlint`. They do not exist. Use `vp test` and `vp lint` instead. -- **Running scripts:** Vite+ commands take precedence over `package.json` scripts. If there is a `test` script defined in `scripts` that conflicts with the built-in `vp test` command, run it using `vp run test`. +- **Running scripts:** Vite+ built-in commands (`vp dev`, `vp build`, `vp test`, etc.) always run the Vite+ built-in tool, not any `package.json` script of the same name. To run a custom script that shares a name with a built-in command, use `vp run