create-zudo-doc 4.4.8 → 4.4.10
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.d.ts +1 -1
- package/dist/scaffold.js +29 -27
- package/package.json +1 -1
package/dist/scaffold.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export { getSecondaryLang };
|
|
|
18
18
|
*
|
|
19
19
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
20
20
|
*/
|
|
21
|
-
export declare const ZUDO_DOC_PIN = "^4.4.
|
|
21
|
+
export declare const ZUDO_DOC_PIN = "^4.4.10";
|
|
22
22
|
export declare function scaffold(choices: UserChoices): Promise<void>;
|
package/dist/scaffold.js
CHANGED
|
@@ -24,7 +24,7 @@ export { getSecondaryLang };
|
|
|
24
24
|
*
|
|
25
25
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
26
26
|
*/
|
|
27
|
-
export const ZUDO_DOC_PIN = "^4.4.
|
|
27
|
+
export const ZUDO_DOC_PIN = "^4.4.10";
|
|
28
28
|
/**
|
|
29
29
|
* Files in `templates/base/**` that must not be copied by the unconditional
|
|
30
30
|
* base mirror. Each entry is matched against the path relative to
|
|
@@ -630,23 +630,14 @@ function generatePackageJson(choices) {
|
|
|
630
630
|
// the "@takazudo/zdtp dep implication" note in
|
|
631
631
|
// packages/zudo-doc/docs/adr/route-injection-seam.md.
|
|
632
632
|
"@takazudo/zdtp": "0.4.9",
|
|
633
|
-
// @takazudo/zudo-doc-history-server —
|
|
634
|
-
//
|
|
635
|
-
//
|
|
636
|
-
//
|
|
637
|
-
//
|
|
638
|
-
//
|
|
639
|
-
//
|
|
640
|
-
//
|
|
641
|
-
// scaffold fails `zfb build` with "Could not resolve
|
|
642
|
-
// '@takazudo/zudo-doc-history-server/exclude'" (#3080). It IS an optional
|
|
643
|
-
// peerDependency of @takazudo/zudo-doc (^4.4.3), but pnpm does not
|
|
644
|
-
// auto-install peers, so a missing copy produces no install warning and
|
|
645
|
-
// shipped silently until build time. The pin stays lockstep with the root
|
|
646
|
-
// version (parity-guarded — INTERNAL_PINNED_PACKAGES in
|
|
647
|
-
// scripts/check-pin-parity.mjs). docHistory-ON projects additionally need
|
|
648
|
-
// npm-run-all2 for the two-process dev script — see the docHistory block below.
|
|
649
|
-
"@takazudo/zudo-doc-history-server": "^4.4.8",
|
|
633
|
+
// (@takazudo/zudo-doc-history-server is NOT here — it is gated on the
|
|
634
|
+
// docHistory feature, see the block below. It was briefly unconditional
|
|
635
|
+
// (#3080) to work around doc-history-area importing its `/exclude` subpath
|
|
636
|
+
// at module scope; that root cause was fixed in #3110 by moving
|
|
637
|
+
// compileExclude into @takazudo/zudo-doc itself, so the workaround is gone
|
|
638
|
+
// and a docHistory-OFF project no longer carries the dep. A package-side
|
|
639
|
+
// reachability guard now prevents the class from returning — see
|
|
640
|
+
// packages/zudo-doc/src/__tests__/optional-peer-reachability.test.ts.)
|
|
650
641
|
};
|
|
651
642
|
const devDeps = {
|
|
652
643
|
"@tailwindcss/vite": "^4.2.0",
|
|
@@ -662,15 +653,26 @@ function generatePackageJson(choices) {
|
|
|
662
653
|
devDeps["pagefind"] = "^1.4.0";
|
|
663
654
|
}
|
|
664
655
|
if (choices.features.includes("docHistory")) {
|
|
665
|
-
// (
|
|
666
|
-
//
|
|
667
|
-
//
|
|
668
|
-
//
|
|
669
|
-
//
|
|
670
|
-
//
|
|
671
|
-
//
|
|
672
|
-
//
|
|
673
|
-
// when
|
|
656
|
+
// (`diff` remains an unconditional base dep — see the `deps` block above:
|
|
657
|
+
// packageOwnedRoutes always bundles the doc-history-area path, whose
|
|
658
|
+
// module-scope `diff` import is pulled in regardless of this flag. #2342.)
|
|
659
|
+
//
|
|
660
|
+
// @takazudo/zudo-doc-history-server is gated HERE, on the feature, because
|
|
661
|
+
// that is the only graph that actually reaches it: the zfb plugin
|
|
662
|
+
// (@takazudo/zudo-doc/plugins/doc-history) eagerly imports
|
|
663
|
+
// @takazudo/zudo-doc-history-server/git-history at plugin-init time, and the
|
|
664
|
+
// plugin is only wired when docHistory is on (W8A #1739). It is an optional
|
|
665
|
+
// peerDependency of @takazudo/zudo-doc and pnpm does not auto-install peers,
|
|
666
|
+
// so a docHistory-ON project must declare it directly. The pin stays lockstep
|
|
667
|
+
// with the root version (parity-guarded — INTERNAL_PINNED_PACKAGES in
|
|
668
|
+
// scripts/check-pin-parity.mjs, and rewritten at release time by
|
|
669
|
+
// scripts/release-create-zudo-doc.sh step 2d).
|
|
670
|
+
//
|
|
671
|
+
// It was briefly unconditional (#3080) because doc-history-area imported
|
|
672
|
+
// `/exclude` at module scope from the always-bundled chrome graph; #3110
|
|
673
|
+
// moved compileExclude into @takazudo/zudo-doc, so docHistory-OFF projects
|
|
674
|
+
// no longer need the package at all.
|
|
675
|
+
deps["@takazudo/zudo-doc-history-server"] = "^4.4.10";
|
|
674
676
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
675
677
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
676
678
|
// dist/ — package-first migration #2321 (#2337).
|