create-zudo-doc 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/scaffold.js CHANGED
@@ -459,7 +459,7 @@ function generatePackageJson(choices) {
459
459
  // ties this pin to packages/zudo-doc's version, so the lockstep release
460
460
  // bumps both together; do not cut a create-zudo-doc release until the
461
461
  // matching @takazudo/zudo-doc version (with content.css) is on npm.
462
- "@takazudo/zudo-doc": "^0.2.14",
462
+ "@takazudo/zudo-doc": "^0.2.15",
463
463
  // zod — used by the generated zfb.config.ts. zfb-config-gen emits
464
464
  // `import { z } from "zod"` for the content-collection schema +
465
465
  // `z.toJSONSchema(...)` conversion. Without this dep, the consumer
@@ -513,7 +513,7 @@ function generatePackageJson(choices) {
513
513
  // @takazudo/zudo-doc/integrations/doc-history which in turn imports
514
514
  // @takazudo/zudo-doc-history-server/git-history. Without this dep the
515
515
  // plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
516
- deps["@takazudo/zudo-doc-history-server"] = "^0.2.14";
516
+ deps["@takazudo/zudo-doc-history-server"] = "^0.2.15";
517
517
  // W7A (#1736): doc-history-plugin.mjs spawns `tsx -e <inline-script>` to
518
518
  // run the v2 runtime in a TS-aware Node subprocess; without tsx the
519
519
  // plugin's preBuild step exits with ENOENT before zfb finishes config
@@ -251,6 +251,13 @@ export function generateSettingsFile(choices) {
251
251
  }
252
252
  lines.push(` headerNav: [`);
253
253
  lines.push(` { label: "Getting Started", path: "/docs/getting-started", categoryMatch: "getting-started" },`);
254
+ // The "claude" categoryMatch is load-bearing beyond the header link: getCategoryOrder()
255
+ // derives the satellite-grouping prefixes from headerNav, so without this entry
256
+ // groupSatelliteNodes() never nests claude-md/claude-skills/... under the "claude"
257
+ // overview node and they spread out as separate top-level cards on the index sitemap.
258
+ if (choices.features.includes("claudeResources")) {
259
+ lines.push(` { label: "Claude", path: "/docs/claude", categoryMatch: "claude" },`);
260
+ }
254
261
  if (choices.features.includes("changelog")) {
255
262
  lines.push(` { label: "Changelog", path: "/docs/changelog", categoryMatch: "changelog" },`);
256
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zudo-doc",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Create a new zudo-doc documentation site",
5
5
  "license": "MIT",
6
6
  "author": "Takeshi Takatsudo",
@@ -640,10 +640,16 @@ pre[class^="syntect-"] .line .highlighted-word {
640
640
  * transition settles immediately — no cross-fade, no translateY slide.
641
641
  * Covers the root cross-fade and the #2072 :only-child entry/exit rules;
642
642
  * the both-sides chrome layers are already animation: none above. Equal
643
- * specificity per selector, but later in source order, so these win. */
643
+ * specificity per selector, but later in source order, so these win.
644
+ * ::view-transition-group(root) must be neutralized too (zudolab/zzmod#845):
645
+ * the UA animates the root group for its full duration even when the old/new
646
+ * root snapshots are at animation: none, leaving a brief frozen,
647
+ * non-interactive frame. The chrome groups are already animation: none in the
648
+ * unconditional chrome block above, so only the root group is added here. */
644
649
  @media (prefers-reduced-motion: reduce) {
645
650
  ::view-transition-old(root),
646
651
  ::view-transition-new(root),
652
+ ::view-transition-group(root),
647
653
  ::view-transition-old(zfb-header):only-child,
648
654
  ::view-transition-old(zfb-sidebar):only-child,
649
655
  ::view-transition-old(zfb-footer):only-child,