@takazudo/zudo-doc 4.4.13 → 4.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -4,6 +4,28 @@ All notable changes to `@takazudo/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
+ ## [4.5.0] - 2026-08-02
8
+
9
+ ### Features
10
+
11
+ - `setup-doc-skill.sh` now links a site's own tracked skills into the global skills directory — after generating the doc-lookup skill it discovers every `.<target>/skills/*` directory containing a `SKILL.md` and symlinks it too, resolving sources through `MAIN_PROJECT_DIR` so the links survive worktree removal. Linking is non-destructive: it no-ops when already correct, replaces a dangling symlink, and warns and skips a real file, directory, or a symlink owned by something else. Pass `--no-link-tracked-skills` to opt out (#3156, c8d9b44)
12
+
13
+ ### Bug Fixes
14
+
15
+ - Stop doubling the `-wisdom` suffix when deriving the doc skill name — a project already named `*-wisdom` (or exactly `wisdom`) now derives its skill name verbatim instead of producing e.g. `zudo-test-wisdom-wisdom`. When the corrected rule shortens the name, the script prints a migration warning naming both directories, the `.gitignore` update, and the cleanup commands; it never deletes anything automatically (#3154, 7edc219)
16
+ - Align `create-zudo-doc`'s `.gitignore` emission with the same suffix-aware rule, so a `-wisdom`-suffixed project no longer gets a doubled ignore entry that matches nothing (#3155, a5ccb5f)
17
+ - Widen the migration warning's trigger — it previously fired only when a legacy doubled-name directory was on disk, silently missing a project whose `.gitignore` still named the doubled skill but whose legacy directory was never generated. It now also detects stale ignore rules and a leftover global symlink, fires on any of the three symptoms, and prints only the steps that apply (dbbcb99)
18
+ - Treat only an actual symlink as the stale global link — a real file or directory at that path is no longer labelled a stale symlink, and no longer draws an `rm -f` suggestion against a user-owned path (7671374)
19
+
20
+ ### Other Changes
21
+
22
+ - Pass `--no-link-tracked-skills` on this repo's own `setup:doc-skill*` scripts, since the monorepo's skill directories would otherwise leak into the maintainer's global skills directory. Generated projects deliberately keep auto-linking on (#3157, 7b93206)
23
+ - Add a cross-artifact skill-name-parity regression test that scaffolds a project, runs its `setup-doc-skill.sh`, and asserts the directory the bash-side derivation creates matches the `.gitignore` entries the TypeScript-side `deriveDocSkillName()` emits — closing the gap where the two hand-mirrored derivations could drift undetected (#3158, 533769b)
24
+ - Strip an inherited `SKILL_NAME` from the setup-doc-skill test environment, so a developer or CI shell export can no longer rename the directory the assertions look for (d89e7e6)
25
+ - Re-baseline the route-injection parity hashes (#3140, 5be6685)
26
+ - Adopt zfb v1.0.0 stable across every pin site, then bump the zfb family to 1.1.0 (0034871, cab6636)
27
+ - Retarget the `l-bump-deps` skill at the stable zfb 1.x line (f60d5d6)
28
+
7
29
  ## [4.4.13] - 2026-07-30
8
30
 
9
31
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takazudo/zudo-doc",
3
- "version": "4.4.13",
3
+ "version": "4.5.0",
4
4
  "type": "module",
5
5
  "description": "zudo-doc framework primitives layer that sits on top of zfb's engine — sidebar, theme, TOC, breadcrumb, layouts, head injection, View Transitions, SSR-skip wrappers (per ADR-003).",
6
6
  "license": "MIT",
@@ -598,10 +598,10 @@
598
598
  ],
599
599
  "peerDependencies": {
600
600
  "@takazudo/zdtp": "^0.4.9",
601
- "@takazudo/zfb": "^0.1.0-next.99",
602
- "@takazudo/zfb-md-wasm": "^0.1.0-next.99",
603
- "@takazudo/zfb-runtime": "^0.1.0-next.99",
604
- "@takazudo/zudo-doc-history-server": "^4.4.11",
601
+ "@takazudo/zfb": "^1.1.0",
602
+ "@takazudo/zfb-md-wasm": "^1.1.0",
603
+ "@takazudo/zfb-runtime": "^1.1.0",
604
+ "@takazudo/zudo-doc-history-server": "^4.4.13",
605
605
  "diff": "^8.0.0",
606
606
  "katex": "^0.16.0",
607
607
  "preact": "^10.29.1",
@@ -635,9 +635,9 @@
635
635
  "tsx": "^4.21.0"
636
636
  },
637
637
  "devDependencies": {
638
- "@takazudo/zfb": "0.1.0-next.99",
639
- "@takazudo/zfb-md-wasm": "0.1.0-next.99",
640
- "@takazudo/zfb-runtime": "0.1.0-next.99",
638
+ "@takazudo/zfb": "1.1.0",
639
+ "@takazudo/zfb-md-wasm": "1.1.0",
640
+ "@takazudo/zfb-runtime": "1.1.0",
641
641
  "@types/fs-extra": "^11.0.4",
642
642
  "@types/minimist": "^1.2.5",
643
643
  "@types/node": "^25.3.5",
@@ -652,7 +652,7 @@
652
652
  "typescript": "^5.0.0",
653
653
  "vitest": "^4.1.0",
654
654
  "zod": "^4.3.6",
655
- "@takazudo/zudo-doc-history-server": "4.4.13"
655
+ "@takazudo/zudo-doc-history-server": "4.5.0"
656
656
  },
657
657
  "scripts": {
658
658
  "build": "tsup && tsc -p tsconfig.build.json",