create-zudo-doc 5.20.0 → 5.22.0

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/CHANGELOG.md CHANGED
@@ -8,6 +8,18 @@ The format is based on Keep a Changelog, and release notes are generated from th
8
8
 
9
9
  No unreleased changes.
10
10
 
11
+ ## [5.22.0] - 2026-09-11
12
+
13
+ ### Features
14
+
15
+ - Generated projects pin `@takazudo/zudo-doc` and `@takazudo/zudo-doc-history-server` at `^5.22.0`. Hosts can edit `docMetainfoFields` and `docHistoryUi` in `zfb.config.ts` to select metadata fields and retain dates without the history viewer. The generated config retains package defaults; no new CLI flags were added. (`06044fa30`)
16
+
17
+ ## [5.21.0] - 2026-09-09
18
+
19
+ ### Features
20
+
21
+ - Generated projects pin `@takazudo/zudo-doc` and `@takazudo/zudo-doc-history-server` at `^5.21.0`, so a fresh scaffold can add a home-page `introMarkdown` / `sitemapHeading` to its `zfb.config.ts` by hand. There is no new CLI flag — the emitted config keeps the package defaults and stays diff-from-defaults. (`77ed96b3f`)
22
+
11
23
  ## [5.20.0] - 2026-09-09
12
24
 
13
25
  ### Bug Fixes
@@ -31,5 +31,5 @@ export declare function deriveDocSkillName(projectName: string): string;
31
31
  *
32
32
  * Bumped in lockstep by scripts/release-create-zudo-doc.sh.
33
33
  */
34
- export declare const ZUDO_DOC_PIN = "^5.20.0";
34
+ export declare const ZUDO_DOC_PIN = "^5.22.0";
35
35
  export declare function scaffold(choices: UserChoices): Promise<void>;
package/dist/scaffold.js CHANGED
@@ -47,7 +47,7 @@ export function deriveDocSkillName(projectName) {
47
47
  *
48
48
  * Bumped in lockstep by scripts/release-create-zudo-doc.sh.
49
49
  */
50
- export const ZUDO_DOC_PIN = "^5.20.0";
50
+ export const ZUDO_DOC_PIN = "^5.22.0";
51
51
  /**
52
52
  * Files in `templates/base/**` that must not be copied by the unconditional
53
53
  * base mirror. Each entry is matched against the path relative to
@@ -905,7 +905,7 @@ function generatePackageJson(choices, localePlan) {
905
905
  // `/exclude` at module scope from the always-bundled chrome graph; #3110
906
906
  // moved compileExclude into @takazudo/zudo-doc, so projects with both
907
907
  // docHistory and assetViewer off no longer need the package at all.
908
- deps["@takazudo/zudo-doc-history-server"] = "^5.20.0";
908
+ deps["@takazudo/zudo-doc-history-server"] = "^5.22.0";
909
909
  // tsx is no longer needed here: the relocated package plugin imports the
910
910
  // runner directly (no `tsx -e` spawn) since the package ships compiled
911
911
  // dist/ — package-first migration #2321 (#2337).
@@ -26,6 +26,8 @@ import { capitalize, getLangLabel } from "./utils.js";
26
26
  // set need an entry; anything else is simply never emitted.
27
27
  // ---------------------------------------------------------------------------
28
28
  export const DEFAULT_MIRROR = {
29
+ // Hand-edit-only serializable home settings; no additional CLI surface.
30
+ home: { wide: false, introMarkdown: "", sitemapHeading: "" },
29
31
  colorScheme: "Default Dark",
30
32
  colorMode: {
31
33
  defaultMode: "dark",
@@ -375,6 +377,7 @@ const FIELD_ORDER = [
375
377
  "themePackSwitcher",
376
378
  "themePacks",
377
379
  "siteName",
380
+ "home",
378
381
  "defaultLocale",
379
382
  "locales",
380
383
  "noindex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zudo-doc",
3
- "version": "5.20.0",
3
+ "version": "5.22.0",
4
4
  "description": "Create a new zudo-doc documentation site",
5
5
  "license": "MIT",
6
6
  "author": "Takeshi Takatsudo",