Skip to content

docs: sync component inventory with registry and document packed CLI smoke - #333

Merged
Ducksss merged 2 commits into
devfrom
docs/inventory-sync-pack-smoke
Jul 25, 2026
Merged

Ducksss merged 2 commits into
devfrom
docs/inventory-sync-pack-smoke

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Completes the two partially-done triage issues.

Closes #103 — sync README + CLI inventory with the registry

  • Fixed a live drift bug: the CLI Current components help was missing hero-aurora, hero-kinetic, and all three comparator-* items, and its order didn't match the registry. Regenerated from payload-components/registry.json — all 67 items, registry/catalog order.
  • Added a full, marker-delimited component inventory table to the README (<!-- COMPONENT-INVENTORY:START/END -->), each item with its install command. Kept the curated "Good first installs" table as the intro.
  • Added tests/int/inventory-sync.int.spec.ts, a focused guard that fails when the README table or CLI help drift from registry.json (order + completeness). Verified it passes when synced and fails when a single entry is dropped.
  • No generated public/r output committed.

Closes #113 — document the packed CLI smoke

  • Added a "Packed CLI smoke" subsection to CONTRIBUTING.md describing what pnpm test:pack covers and exactly when maintainers should run it locally (packaging, CLI entrypoint, or tarball-content changes).
  • The CI gate already runs pnpm test:pack as a pre-publish step in .github/workflows/package-publish.yml (after the release gate, before npm publish).

Verification

  • pnpm exec vitest run tests/int/inventory-sync.int.spec.ts — 2 passed (and confirmed it fails on injected drift).
  • pnpm exec eslint on changed files — clean.

🤖 Generated with Claude Code

…smoke

Closes #103, closes #113.

- Regenerate the CLI `Current components` help from registry.json; it had
  drifted (missing hero-aurora, hero-kinetic, comparator-*) and was out of order.
- Add a full, marker-delimited component inventory table to the README.
- Add tests/int/inventory-sync.int.spec.ts to fail when the README table or CLI
  help drift from registry.json (order + completeness).
- Document in CONTRIBUTING.md what `pnpm test:pack` covers and when maintainers
  should run the packed CLI smoke locally.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings July 24, 2026 06:40
@vercel

vercel Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 25, 2026 1:38am
payload-components-97bf Ready Ready Preview, Comment Jul 25, 2026 1:38am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5309aee8-72af-4fd1-846b-a98a621ef93e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/inventory-sync-pack-smoke

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ck-smoke

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
@tin-computer
tin-computer Bot enabled auto-merge (squash) July 25, 2026 01:43
@Ducksss
Ducksss merged commit 2e2138e into dev Jul 25, 2026
12 checks passed
Ducksss added a commit that referenced this pull request Jul 27, 2026
The promotion delta changes two published files: the CLI `Current
components` help text (resynced from registry.json in #333, which had
drifted) and the README component inventory table. No registry entries,
CLI behavior, or public API changed, so this is a patch.

npm `latest` is 1.2.0, so 1.2.1 publishes cleanly; the publish workflow
silently exit-0s on an already-published version.

Co-Authored-By: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Jul 27, 2026
The promotion delta changes two published files: the CLI `Current
components` help text (resynced from registry.json in #333, which had
drifted) and the README component inventory table. No registry entries,
CLI behavior, or public API changed, so this is a patch.

npm `latest` is 1.2.0, so 1.2.1 publishes cleanly; the publish workflow
silently exit-0s on an already-published version.

Co-authored-by: Claude Opus 5 <[email protected]>
@Ducksss
Ducksss deleted the docs/inventory-sync-pack-smoke branch July 30, 2026 09:15

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — eb1ddaef Deployed Jul 25, 2026 by vercel[bot]
Preview – payload-components — eb1ddaef Deployed Jul 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants