lazypock 0.20.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -768,6 +768,25 @@ const off = client.realtime.subscribe('chat:room1', (event) => {
768
768
  off(); // or client.realtime.unsubscribe('chat:room1');
769
769
  ```
770
770
 
771
+ ## Local development
772
+
773
+ ```bash
774
+ bun install
775
+ bun run typecheck # tsc --noEmit
776
+ bun test # unit tests (test/*.test.ts, run against src/, no build)
777
+ bun run smoke # build + runtime, realtime, auth-store, oauth2 and type-level suites
778
+ bun run bench # codegen + HTTP-overhead benchmarks
779
+ ```
780
+
781
+ CI runs `typecheck`, `bun test` and `smoke` on every pull request and on
782
+ pushes to `main` (`.github/workflows/ci.yml`).
783
+
784
+ The source is split by concern: record CRUD lives in `src/collection/index.ts`
785
+ (the public `CollectionService` facade), while the schema-aware query logic is
786
+ in pure, directly testable modules — `src/expand.ts` (expand/field-selection
787
+ normalisation), `src/projection.ts` (field projection), `src/paginate.ts`
788
+ (full-list paging + dedup keys) and `src/collection/{auth,realtime,query}.ts`.
789
+
771
790
  ## Releasing (automatic)
772
791
 
773
792
  Releases are fully automatic via [release-please](https://github.com/googleapis/release-please):