feat(packaging): v0.1 npm headline demo — exports + example [parked: needs RC-verification update] - #104
Open
irl-dan wants to merge 1 commit into
Open
feat(packaging): v0.1 npm headline demo — exports + example [parked: needs RC-verification update]#104irl-dan wants to merge 1 commit into
irl-dan wants to merge 1 commit into
Conversation
…bundled example The packaging half of the v0.1 launch-surface work, split out so the docs + tagline could land green separately (#103). Ships the headline demo from npm: - packages/reactor/package.json — expose ./adapters subpath - packages/reactor-cradle/package.json — expose ./baselines/* and ./examples/flat-tokens; ship examples/flat-tokens.mjs in the tarball - packages/reactor-cradle/examples/flat-tokens.mjs — self-contained example - README — headline demo leads with the npm path; clone path retained Parked: CI is intentionally RED until the release-candidate verification is updated (specifier list + wildcard handling + entrypoint count). See PR body. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
Follow-up note: the npm package-README tagline qualifiers (packages/reactor/README.md, packages/reactor-cradle/README.md) belong with this PR rather than the docs PR (#103) — editing a packaged README changes the package tree and invalidates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ships the v0.1 npm headline demo — the packaging half of the original v0.1 launch-surface work (the docs + tagline qualifier land separately in the sibling PR).
packages/reactor/package.json— expose the./adapterssubpath (wasERR_PACKAGE_PATH_NOT_EXPORTED).packages/reactor-cradle/package.json— expose./baselines/*and./examples/flat-tokens, and shipexamples/flat-tokens.mjsin the tarball.packages/reactor-cradle/examples/flat-tokens.mjs— self-contained example (cassette built inline; no on-disk dependency).README— the headline demo leads with the npm path; the clone path is retained for contributors.CI - Reactor Packagefails onrelease-candidate Cradle import list matches package.json exports. That verification enumerates and imports every public entrypoint, so the new exports require:R7_CRADLE_PUBLIC_IMPORT_SPECIFIERS_V0to add the two new specifiers../baselines/*wildcard export — it does not fit the enumerate-and-import model (the tarball-import-smoke step cannot import a literal*); the verification must resolve or exclude wildcard subpaths.24).This PR is the home for that follow-up; it is deliberately not green yet.
🤖 Generated with Claude Code