19 tasks covering core testing, Redis hardening, WebSocket client/server adapters, Worker adapter, and final review gates. Iroh adapters are tracked as a deferred placeholder blocked on the @alkdev/iroh fork. Phases: core validation → Redis hardening → review gate → WebSocket adapters → review gate → Worker adapter → review gate → final validation.
1.5 KiB
1.5 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level |
|---|---|---|---|---|---|---|---|
| build-and-exports-validation | Validate build, package.json exports, and tsup config for all adapters | pending | narrow | low | component | implementation |
Description
Verify that the build pipeline correctly produces dual ESM + CJS output with declarations for all entry points, and that package.json exports map and tsup.config.ts entries are consistent.
Currently only src/index.ts and src/event-target-redis.ts are entry points. As new adapters are added, each needs:
- An entry in
tsup.config.tsentry array - A sub-path export in
package.jsonexports map (ESM + CJS + declarations) - A barrel re-export in
src/index.ts
This task validates the current setup and serves as a checklist item for each adapter task. It can be done early and re-verified as adapters are added.
Acceptance Criteria
npm run buildproduces correct output for existing entry points (index, event-target-redis)npm run lint(tsc --noEmit) passespackage.jsonexports map has correct ESM/CJS/dts paths for each entry pointtsup.config.tslists all current entry pointssrc/index.tsre-exports everything from all modules- Peer dependencies and peerDependenciesMeta are correct
- No runtime dependencies (Repeater is inlined)
References
- docs/architecture/build-distribution.md
- package.json
- tsup.config.ts
Notes
To be filled by implementation agent
Summary
To be filled on completion