The golden path took an author from author -> build -> PUBLISH TO THE LIVE CATALOG without ever opening the element in a browser. Every guard in Step 3 is static: it checks that files exist, parse, carry a correct SRI hash and resolve. None of them renders anything. Proved the gap rather than asserting it: injecting a throw into a component's setup() produced a SUCCESSFUL build (206 kB emitted, exit 0) with check:parse PASS and check:drop PASS, while smoke:embeds reported 0/2 pages mounting. After restoring, the same command reports 2/2. The step documents the token requirement because its absence is loud and misleading: without it every map profile fails to mount (27/40) and reads like 13 broken plugins. It also records why this is not a CI step - CI is the single authoritative builder but installs no browser binary. All three quoted commands were run as written before being documented. |
||
|---|---|---|
| .. | ||
| architecture | ||
| assets | ||
| readme-images | ||
| screenshots | ||
| develop-a-plugin-and-see-it-live.md | ||
| explanation.md | ||
| how-to.md | ||
| README-embed-example.md | ||
| README-longform.md | ||
| README-SECTION-3-cli-commands.md | ||
| README.md | ||
| reference-capability-exemplars.md | ||
| reference-library-index.md | ||
| reference.md | ||
| slide-deck-outline.md | ||
| tutorial.md | ||
| why.md | ||
docs/ — pick your path
"what is this?" "teach me" "how do I …?" "look it up" "all the detail"
│ │ │ │ │
why.md ──────────► tutorial.md ────► how-to.md ────► reference.md ───► architecture/
(2 min, 1 diagram) (first map) (task recipes) (tables) (contracts)
- why.md — the problem and the "map islands" idea. Start here.
- tutorial.md — build your first map, no jargon.
- how-to.md — recipes: embed, iframe, SPA, colors, CDN, mobile, tokens.
- reference.md — config fields, build scripts, the
profile-configcontract. - explanation.md — the model in 15 lines.
- architecture/ — the deep end: full contracts, the per-file catalog.
- README-embed-example.md — the drop-in README used when this bundler is embedded inside a host repo.
Nothing on the simple path is longer than a few minutes; everything complex lives in
architecture/, linked from where you'd need it.