Complete BINECT-WP-0002: SDK publication readiness

Verify build output, types, and tests; document npm publish and consumer
install paths in README; add publishConfig for scoped public publish.
This commit is contained in:
2026-06-24 15:08:26 +02:00
parent bd06393262
commit 774b1d814e
3 changed files with 54 additions and 20 deletions

View File

@@ -4,11 +4,11 @@ type: workplan
title: "SDK publication and consumer validation"
domain: communication
repo: binect-js
status: ready
status: finished
owner: codex
topic_slug: communication
created: "2026-06-22"
updated: "2026-06-22"
updated: "2026-06-24"
state_hub_workstream_id: "e98363de-fe52-43a3-82be-df0b1a213593"
---
@@ -20,9 +20,17 @@ Prepare `@binect/js` for npm publication and validate the Explorer against live
```task
id: BINECT-WP-0002-T01
status: todo
status: done
priority: high
state_hub_task_id: "6aa6e1f6-decb-46fa-900e-62519383e971"
```
Verify build output, types, e2e tests, and document npm publish + consumer install path in README.
Result 2026-06-24:
- Build: `npm run build` produces complete `dist/` (JS, `.d.ts`, source maps for all modules).
- Types: `npm run typecheck` passes under strict TS config.
- Unit tests: 62 passed. E2E: 4 credential-gated tests skip cleanly; run with `BINECT_USERNAME` / `BINECT_PASSWORD`.
- Consumer install: validated via `npm pack` + `file:` tarball install; all public exports resolve.
- Docs: README updated with npm install (consumer), local dev paths, and maintainer publish checklist.
- Package: added `publishConfig.access: public` for scoped `@binect/js` first publish.