Patch Changes
- #179
8ded65bThanks @MohamedH1998! - - Yarn 2+ scaffolds install. A site scaffolded withyarn dlxoryarn createpins that Yarn inpackage.jsonpackageManager, and the install runs withoutyarn dlx's Plug'n'Play hooks. Before, corepack ran Yarn 1, the install failed withCannot find module 'pnpapi', and the suggestedyarn installmade a Yarn 1 project.--package-manager yarnpins Yarn too, whenyarnin the new directory runs Yarn 2+.- A Yarn site created inside another Yarn project that doesn't list it as a workspace gets its own empty
yarn.lockand installs, instead of failing with "doesn't seem to be part of the project". A workspace member still installs as a member. - When Yarn holds back a release published in the last day (
YN0016, itsnpmMinimalAgeGatesetting), the install failure says so. - Yarn sites ignore
.yarn/install-state.gz. - Search works on sites whose Astro
basehas no trailing slash, such asbase: "/docs". Before, the dialog loaded/pagefind/pagefind.jsinstead of/docs/pagefind/pagefind.jsand said "Search is available after a production build." Existing sites can take the fix withnpx @cloudflare/nimbus-docs diff src/components/ui/search/providers/pagefind.ts --apply. - The empty starter's home page no longer adds a second H1 under its title.
- The starter's
AGENT.md:- Its upgrade steps now pull in starter fixes with
outdatedanddiff --apply. - Feature recipes run with
add <feature-slug> --print. - The Cloudflare audit is split into static and server output (server sites have no
assets.directory). - It says a server site's
checkstayspartialafter a build, and what to do about an error with no fix.
- Its upgrade steps now pull in starter fixes with
- The welcome page names
@cloudflare/nimbus-docs/content.
- A Yarn site created inside another Yarn project that doesn't list it as a workspace gets its own empty
- Updated dependencies [
8ded65b]:- @cloudflare/nimbus-docs@0.15.2