2dc28966c7
pnpm-workspace.yaml listed only packages/*, so pnpm never installed examples/notebook's dependencies even though root package.json's workspaces field named examples/* too; the example ran on a stray node_modules a manual bun install had left behind (symlinks into node_modules/.bun, including a dangling @ng-eventually/sdk link to a package that no longer exists). Added examples/* to pnpm-workspace.yaml and reinstalled; examples/notebook now resolves @ng-org/orm and @ng-org/web to the exact same pnpm store instances packages/polyfill uses (verified via the symlinks and node_modules/.pnpm listing) - no package ended up duplicated. That alone did not fix the example's TS2345: NoteShape's object literal had its dataTypes[].valType widened from the "iri"/"string" literals to plain string (no satisfies clause), which the existing test suite already guards against elsewhere (satisfies ShapeType<BaseType>). Applied the same pattern here, importing the already re-exported ShapeType/BaseType from @ng-eventually/polyfill - no new dependency needed, no compiler option touched.
805 B
805 B
Doc-debt — app-contract
Presence of a block = doc to update. Processed → delete the block; no blocks left → delete this file. One block = one "big change":
why+files+verify(leaves to review).
Raw markers (consolidate into blocks, then delete)
- TOUCHED packages/polyfill/src/surface/use-shape-query.ts @2026-09-21 (session f93872b5-293a-4916-a353-181409a96d42)
- TOUCHED packages/polyfill/src/index.ts @2026-09-21 (session f93872b5-293a-4916-a353-181409a96d42)
- TOUCHED packages/polyfill/src/surface/orm.ts @2026-09-21 (session f93872b5-293a-4916-a353-181409a96d42)
- TOUCHED packages/polyfill/src/surface/read-document.ts @2026-09-21 (session f93872b5-293a-4916-a353-181409a96d42)
- TOUCHED examples/notebook/app.ts @2026-09-21 (session f93872b5-293a-4916-a353-181409a96d42)