docs(appblocks): re-vendor @civitai/components MARKUP.md 0.1.x→0.2.0 + regen components reference - #24
Merged
Conversation
…+ regen components reference Re-vendor the committed appblocks-snapshots/MARKUP.md from the currently published @civitai/components@0.2.0 (byte-identical to civitai-app-starters@main, which the check:snapshots drift-guard diffs against) and regenerate apps/reference/components.md. New in 0.2.0: Select, Checkbox, Radio, RadioGroup components (10→14), plus Badge/Card/Alert data-color changes — all now surfaced in the generated reference. The gen-appblocks-components.mjs intro count is now derived from components.length instead of a hardcoded "10". - npm run gen:appblocks:components → 14 components, deterministic (byte-identical on re-run) - npm run check:snapshots → PASS (MARKUP.md matches upstream) - npm run build → exit 0 (no dead links) - npm run test:snippets:appblocks → 21 passed, 0 failed Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Re-vendors the committed
appblocks-snapshots/MARKUP.mdfrom the currently published@civitai/components@0.2.0and regeneratesapps/reference/components.md. The prior snapshot predated 0.2.0, so the generated Components reference on developer.civitai.com was stale (missing the new form components + the 0.2.0 Badge/Card/Alert changes).Snapshot re-vendor (0.1.x → 0.2.0)
appblocks-snapshots/MARKUP.mdre-vendored from@civitai/components@0.2.0. Thecheck:snapshotsdrift-guard diffs the snapshot byte-for-byte (CRLF-normalized) againstcivitai-app-starters@main:packages/civitai-components/MARKUP.md— verified that source is byte-identical to the published npm 0.2.0 tarball'sMARKUP.md(both 9242 bytes, pure LF), so the vendored snapshot matches the guard's authority.Regenerated reference (new components listed)
apps/reference/components.mdregenerated vianpm run gen:appblocks:components— now 14 components (was 10). New in 0.2.0:data-civitai-ui="select")data-civitai-ui="checkbox")data-civitai-ui="radio")data-civitai-ui="radio-group")Plus the 0.2.0 Badge/Card/Alert
data-colorprose reproduced verbatim. Nav already links the Components reference page (no nav change needed — it's a single page listing all components).The generator's intro count is now derived from
components.length(was a hardcoded10).Verification
npm ci && npm run gen:appblocks:components→ 14 components, byte-identical on re-run (deterministic).npm run check:snapshots→ PASS —✓ MARKUP.md — matches civitai@origin/main(all 4 snapshots up-to-date, 0 drifted).npm run build→ exit 0,build complete(VitePress fails on dead links → none).npm run test:snippets:appblocks→ 21 found · 21 passed · 0 skipped · 0 failed.Note
A
@civitai/components@0.2.1(implementing Badge/component defaults) may follow; if 0.2.1 changesMARKUP.md, another re-vendor + regen will be needed. This PR ships 0.2.0, the current published version.🤖 Generated with Claude Code