create-zudo-doc 5.12.1 → 5.13.1
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 +17 -0
- package/README.md +1 -1
- package/dist/claude-md-gen.js +1 -1
- package/dist/constants.js +2 -2
- package/dist/scaffold.d.ts +1 -1
- package/dist/scaffold.js +27 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to `create-zudo-doc` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on Keep a Changelog, and release notes are generated from the changelog MDX pages.
|
|
6
6
|
|
|
7
|
+
## [5.13.1] - 2026-08-28
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- Stopped scaffolding the unused `minisearch` and `pagefind` dependencies into search-enabled projects. Search is served by zudo-doc's own generated search-widget script, so neither package was ever loaded. (`7915fe55`)
|
|
12
|
+
- Renamed the search feature from "Pagefind search" to "Full-text search" in the CLI prompt, the generated CLAUDE.md, and the README flag table, which no longer describe an integration the generated project does not use. The `search` feature key and its `--[no-]search` flag are unchanged. (`7915fe55`)
|
|
13
|
+
|
|
14
|
+
### Other Changes
|
|
15
|
+
|
|
16
|
+
- Updated newly generated projects to use the zfb 2.13.1 package family. (`c36fd4d0`)
|
|
17
|
+
|
|
18
|
+
## [5.13.0] - 2026-08-27
|
|
19
|
+
|
|
20
|
+
### Other Changes
|
|
21
|
+
|
|
22
|
+
- Updated newly generated projects to the zfb 2.12.0 package family, including its standalone CSS compiler and abort-safe client-router swap behavior. (`9cf3fd4b`)
|
|
23
|
+
|
|
7
24
|
## [5.12.1] - 2026-08-24
|
|
8
25
|
|
|
9
26
|
### Other Changes
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ Each feature has a `--[no-]<flag>` form. Passing `--feature` enables it; `--no-f
|
|
|
73
73
|
| Flag | Description | Default |
|
|
74
74
|
|------|-------------|---------|
|
|
75
75
|
| `--[no-]i18n` | Multi-language support (adds a secondary locale) | off |
|
|
76
|
-
| `--[no-]search` |
|
|
76
|
+
| `--[no-]search` | Full-text search | on |
|
|
77
77
|
| `--[no-]sidebar-filter` | Real-time sidebar filter | on |
|
|
78
78
|
| `--[no-]image-enlarge` | Click-to-enlarge for oversized images | on |
|
|
79
79
|
| `--[no-]tag-governance` | Vocabulary-aware tag audit + suggest scripts | off |
|
package/dist/claude-md-gen.js
CHANGED
|
@@ -119,7 +119,7 @@ export function generateCLAUDEFile(choices) {
|
|
|
119
119
|
}
|
|
120
120
|
// Enabled features
|
|
121
121
|
const featureDescriptions = {
|
|
122
|
-
search: "Full-text search
|
|
122
|
+
search: "Full-text search",
|
|
123
123
|
designTokenPanel: "Interactive tabbed panel for tweaking spacing, font, size, and color tokens",
|
|
124
124
|
sidebarResizer: "Draggable sidebar width",
|
|
125
125
|
sidebarToggle: "Show/hide desktop sidebar",
|
package/dist/constants.js
CHANGED
package/dist/scaffold.d.ts
CHANGED
|
@@ -32,5 +32,5 @@ export declare function deriveDocSkillName(projectName: string): string;
|
|
|
32
32
|
*
|
|
33
33
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
34
34
|
*/
|
|
35
|
-
export declare const ZUDO_DOC_PIN = "^5.
|
|
35
|
+
export declare const ZUDO_DOC_PIN = "^5.13.1";
|
|
36
36
|
export declare function scaffold(choices: UserChoices): Promise<void>;
|
package/dist/scaffold.js
CHANGED
|
@@ -43,7 +43,7 @@ export function deriveDocSkillName(projectName) {
|
|
|
43
43
|
*
|
|
44
44
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
45
45
|
*/
|
|
46
|
-
export const ZUDO_DOC_PIN = "^5.
|
|
46
|
+
export const ZUDO_DOC_PIN = "^5.13.1";
|
|
47
47
|
/**
|
|
48
48
|
* Files in `templates/base/**` that must not be copied by the unconditional
|
|
49
49
|
* base mirror. Each entry is matched against the path relative to
|
|
@@ -702,9 +702,28 @@ function generatePackageJson(choices) {
|
|
|
702
702
|
// restrictions. No generator-side migration.
|
|
703
703
|
// 2.10.1: routine toolchain bump from 2.10.0, adopted in lockstep with the
|
|
704
704
|
// root package.json pins. No generator-side migration.
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
705
|
+
// 2.11.0: additive only. Islands gain an observable post-mount DOM marker
|
|
706
|
+
// (`ISLAND_MOUNTED_ATTR` = `data-zfb-island-mounted`), written on the island
|
|
707
|
+
// wrapper after mount() returns and never emitted at SSR, with the
|
|
708
|
+
// documented consumer gate `[data-zfb-island]:not([data-zfb-island-mounted])`.
|
|
709
|
+
// Dev-server hydration readiness is now published atomically, renderHtml
|
|
710
|
+
// preserves custom component body HTML instead of flattening it, and the
|
|
711
|
+
// router reserves the `__paths__` route prefix. A fresh scaffold authors no
|
|
712
|
+
// `__paths__` route and opts into nothing here, so there is no
|
|
713
|
+
// generator-side migration.
|
|
714
|
+
// 2.12.0 adds the deterministic standalone `zfb css` command for compiling
|
|
715
|
+
// one CSS entrypoint without route discovery or page rendering, and fixes
|
|
716
|
+
// a Back race before ClientRouter DOM swaps. Both changes are additive
|
|
717
|
+
// tooling/runtime behavior; a fresh scaffold needs no config migration.
|
|
718
|
+
// 2.13.1: toolchain-only. The published JS tarballs for `@takazudo/zfb`,
|
|
719
|
+
// `zfb-runtime`, and `zfb-adapter-cloudflare` differ from 2.12.0 in their
|
|
720
|
+
// package.json version fields alone — 2.13.0 made CI-attested publishing
|
|
721
|
+
// the default, and 2.13.1's livereload bfcache-lifecycle fix lives in the
|
|
722
|
+
// per-platform Rust binary. `zfb-md-wasm` rebuilt its WASM with a
|
|
723
|
+
// byte-identical export surface. No generator-side migration.
|
|
724
|
+
"@takazudo/zfb": "2.13.1",
|
|
725
|
+
"@takazudo/zfb-runtime": "2.13.1",
|
|
726
|
+
"@takazudo/zfb-md-wasm": "2.13.1",
|
|
708
727
|
// @takazudo/zudo-doc — published from this monorepo via
|
|
709
728
|
// .github/workflows/publish-zudo-doc.yml. The pin here is bumped in
|
|
710
729
|
// lockstep by scripts/release-create-zudo-doc.sh whenever zudo-doc's
|
|
@@ -802,10 +821,9 @@ function generatePackageJson(choices) {
|
|
|
802
821
|
// html-validate dropped — check:html is no longer a default script
|
|
803
822
|
// (see the scripts block below; `.htmlvalidate.json` no longer ships).
|
|
804
823
|
};
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}
|
|
824
|
+
// search ships as @takazudo/zudo-doc's own self-contained generated
|
|
825
|
+
// search-widget script (custom word-match scorer) — no third-party search
|
|
826
|
+
// engine dependency is needed here. Do not re-add minisearch/pagefind.
|
|
809
827
|
if (choices.features.includes("docHistory")) {
|
|
810
828
|
// (`diff` remains an unconditional base dep — see the `deps` block above:
|
|
811
829
|
// packageOwnedRoutes always bundles the doc-history-area path, whose
|
|
@@ -826,7 +844,7 @@ function generatePackageJson(choices) {
|
|
|
826
844
|
// `/exclude` at module scope from the always-bundled chrome graph; #3110
|
|
827
845
|
// moved compileExclude into @takazudo/zudo-doc, so docHistory-OFF projects
|
|
828
846
|
// no longer need the package at all.
|
|
829
|
-
deps["@takazudo/zudo-doc-history-server"] = "^5.
|
|
847
|
+
deps["@takazudo/zudo-doc-history-server"] = "^5.13.1";
|
|
830
848
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
831
849
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
832
850
|
// dist/ — package-first migration #2321 (#2337).
|