@cloudflare/nimbus-docs@0.8.0
Minor Changes
-
#42
8e4e210Thanks @MohamedH1998! - Add the ownership + upgrade loop to thenimbus-docsCLI:nimbus-docs init— reconstruct animbus.jsonfor a project that lacks one (scaffolded before this record existed, an existing Astro site adopting Nimbus, or a deleted record), matching installed components against the registry and marking what it can't recover.nimbus-docs outdated— a read-only check across both tiers: starter files behind theirtemplates-v*tag (whichgit diffcan't show) and registry components whose recorded bytes differ from the registry.nimbus-docs diff [file]/diff --apply <file>— review upstream/your changes to starter files, and pull a clean upstream change per file (never a merge).nimbus-docs add <slug> --overwrite— re-install a component over your copy (review withgit diff).addalso records each install innimbus.json.
Also adds a
getRouteFlagslayout-flag helper and a CI guard for the registry tier invariants.Migration —
add --yesno longer overwrites files you own. It now assents to prompts (dependency installs, etc.) but keeps existing files on conflict, so a bare-yin CI never clobbers your code. Use--overwriteto replace files.# before — --yes overwrote conflicting files nimbus-docs add card --yes # after — replace files explicitly nimbus-docs add card --overwrite
-
#34
73bbecfThanks @mvvmm! -nimbus/internal-linkandnimbus/image-refnow match theirignore: string[]option against full glob syntax (**,*,{a,b}, extglobs, …) viapicomatch, not just an exact match or aprefiximmediately followed by/**. In particular, a leading any-depth wildcard like**/llms.txtis now supported — the previous hand-rolled matcher had no way to express that.Existing
ignorelists using only exact paths orprefix/**patterns keep working unchanged.