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
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ pnpm build

`pnpm test:unit` runs the discovered tests under `happyview-modules/tests/unit`; unit tests use local fixtures and fake process/network adapters, and do not seed a database or contact HappyView. `pnpm check` also checks generated-source freshness, JavaScript and Lua lint, types, endpoint tests, and the `@hypercerts-org/api` package in `packages/api/`. `pnpm build` emits Lua handlers declared by the root and module manifests, builds the endpoint explorer, and builds `@hypercerts-org/api`. Shared Lua files are bundled into capability handlers rather than installed independently.

The list-endpoint golden (`happyview-modules/tests/unit/list-golden/`) pins the SQL, binds and outcomes of every cursor-taking query. It reads the _generated_ Lua bundles, not `lua/shared` or `lua/src`, so run `pnpm --filter @hypercerts-org/happyview-modules run build:lua` after editing those before running `pnpm test:unit`. After an intended behavior change, rebuild, then regenerate with `UPDATE_GOLDEN=1 pnpm test:unit` and review the diff.

## API reference snapshots

When a change affects registered query Lexicons or their schemas, refresh the committed explorer artifacts from the current API manifest:
Expand Down
Loading
Loading