create-nimbus-docs 0.2.1
Patch Changes
-
#4
1ae3a78Thanks @MohamedH1998! - Fix three defects found by post-0.2.0- Wide tables no longer overflow the page. A table with more columns than
the content column could fit slid under the TOC rail and forced page-level
horizontal scroll on desktop (the old scroll fallback only applied under
640px). A
<table>can’t both fill its column and scroll —overflowis ignored ondisplay: table— so scroll now lives on a wrapper:nimbus-docs/markdownexports atableScroll()hast plugin that wraps class-less tables in a.nb-table-scrollcontainer, and the starter wires it up with matching styles. Short tables still fill the column with no dead space. <Badge>label</Badge>renders its children. Thetextprop is now optional and falls back to<slot />; previously a slotted label was silently dropped and the badge rendered empty.nimbus-docs addno longer crashes in non-TTY environments. A file conflict without--yesin CI, a pipe, or an agent crashed with a rawuv_tty_init returned EINVALtrace when the overwrite prompt tried to open a TTY that wasn’t there. It now detects non-interactive stdin and exits with an actionable message pointing at--yes.
- Wide tables no longer overflow the page. A table with more columns than
the content column could fit slid under the TOC rail and forced page-level
horizontal scroll on desktop (the old scroll fallback only applied under
640px). A
create-nimbus-docs 0.2.0
Minor Changes
-
bd5411fThanks @MohamedH1998! - Fetch templates at scaffold time from a tag-pinned source (giget)The CLI no longer bundles templates in its npm tarball. Templates are downloaded when you scaffold, pinned to the release tag matching the CLI’s own version (
create-nimbus-docs@0.2.0fetchestemplates-v0.2.0) — reproducible forever, and old CLI versions are unaffected by new releases. Adds--template-dir <path>for fully offline scaffolding, and actionable errors for offline / missing-tag / rate-limited (403) fetches that name the tag tried,GIGET_AUTH, and--template-dir. -
24113e0Thanks @MohamedH1998! - Clear the Node and pnpm version gates that broke a fresh scaffold- Node floor raised to
>=22.12.0. Astro requires Node ≥ 22.12; the old>=20.0.0promise was a floor a scaffolded site could not actually build on (Node 20 is EOL and failsastro buildwithNode.js v20.x is not supported by Astro!). CI now runs Node 24 everywhere. pnpm installno longer hard-fails under modern pnpm. pnpm ≥ 10 gates dependency install scripts and pnpm ≥ 11 turns an ignored build into a hard error (ERR_PNPM_IGNORED_BUILDS, exit 1). Scaffolded projects now ship apnpm-workspace.yamlthat declines exactly the packages with install scripts —esbuildandsharp(plusworkerdon the Cloudflare target, which pullswrangler) — never a blanket approval. All three ship working prebuilds, so the site still builds while the supply-chain surface stays minimal. Verified green on pnpm 9, 10, 11, and npm.
- Node floor raised to
Releases before these are in the project changelog.