create-zudo-doc 2.0.1 → 2.1.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/dist/scaffold.d.ts +1 -1
- package/dist/scaffold.js +3 -3
- package/package.json +1 -1
- package/templates/base/pages/lib/_chrome.ts +1 -1
- package/templates/base/pages/lib/_doc-route-entries.ts +1 -1
- package/templates/base/pages/lib/_nav-source-docs.ts +1 -1
- package/templates/base/pages/lib/_route-context.ts +1 -1
- package/templates/base/src/styles/global.css +6 -0
package/dist/scaffold.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export { getSecondaryLang };
|
|
|
11
11
|
*
|
|
12
12
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
13
13
|
*/
|
|
14
|
-
export declare const ZUDO_DOC_PIN = "^2.
|
|
14
|
+
export declare const ZUDO_DOC_PIN = "^2.1.1";
|
|
15
15
|
export declare function scaffold(choices: UserChoices): Promise<void>;
|
package/dist/scaffold.js
CHANGED
|
@@ -18,7 +18,7 @@ export { getSecondaryLang };
|
|
|
18
18
|
*
|
|
19
19
|
* Bumped in lockstep by scripts/release-create-zudo-doc.sh.
|
|
20
20
|
*/
|
|
21
|
-
export const ZUDO_DOC_PIN = "^2.
|
|
21
|
+
export const ZUDO_DOC_PIN = "^2.1.1";
|
|
22
22
|
/**
|
|
23
23
|
* Files in `templates/base/**` that must never be copied into a generated
|
|
24
24
|
* project. Each entry is matched against the path relative to `templates/base/`
|
|
@@ -571,7 +571,7 @@ function generatePackageJson(choices) {
|
|
|
571
571
|
// @takazudo/zudo-doc/integrations/doc-history which in turn imports
|
|
572
572
|
// @takazudo/zudo-doc-history-server/git-history. Without this dep the
|
|
573
573
|
// plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
|
|
574
|
-
deps["@takazudo/zudo-doc-history-server"] = "^2.
|
|
574
|
+
deps["@takazudo/zudo-doc-history-server"] = "^2.1.1";
|
|
575
575
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
576
576
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
577
577
|
// dist/ — package-first migration #2321 (#2337).
|
|
@@ -582,7 +582,7 @@ function generatePackageJson(choices) {
|
|
|
582
582
|
if (choices.features.includes("designTokenPanel")) {
|
|
583
583
|
// @takazudo/zdtp requires preact >= 10.29.1 — see the preact floor comment
|
|
584
584
|
// above (~line 382) for why the floor is set there and the coupling this creates.
|
|
585
|
-
deps["@takazudo/zdtp"] = "0.
|
|
585
|
+
deps["@takazudo/zdtp"] = "0.4.1";
|
|
586
586
|
}
|
|
587
587
|
if (choices.features.includes("tagGovernance")) {
|
|
588
588
|
// gray-matter is already in `deps` unconditionally (base template uses it),
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ import docHistoryMeta from "#doc-history-meta";
|
|
|
58
58
|
|
|
59
59
|
// ---------------------------------------------------------------------------
|
|
60
60
|
// Footer tag loader (host-side; moved verbatim from the former
|
|
61
|
-
//
|
|
61
|
+
// _footer-with-defaults.tsx). Reads collections via
|
|
62
62
|
// stableDocs / memoizeDerived and aggregates tags per locale. Threaded as
|
|
63
63
|
// hostBindings.loadTagsForLocale.
|
|
64
64
|
// ---------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Thin shim — the memoized doc-route-entry builder rides on the unified
|
|
2
2
|
// ChromeContext now (epic Collapse Wiring Shells #2420, FACTORIES #2424).
|
|
3
|
-
// `createRouteContext` (in
|
|
3
|
+
// `createRouteContext` (in _route-context.ts) assembles `buildDocRouteEntries`
|
|
4
4
|
// as part of the route context; this module just re-exports it so the doc-route
|
|
5
5
|
// page files keep importing it from here unchanged.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Thin shim — nav-source resolvers ride on the unified ChromeContext now
|
|
2
2
|
// (epic Collapse Wiring Shells #2420, FACTORIES #2424). The reconstructed
|
|
3
|
-
// `createRouteContext` (in
|
|
3
|
+
// `createRouteContext` (in _route-context.ts) builds the identity-stable
|
|
4
4
|
// nav-source API as part of the route context; this module just re-exports the
|
|
5
5
|
// bindings so the existing call sites (route files, nav wrappers, _nav-data-prep,
|
|
6
6
|
// route-enumerators) keep importing them from here unchanged.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// + route enumerators), built ONCE via the public `createRouteContext`
|
|
4
4
|
// (epic Collapse Wiring Shells #2420, FACTORIES #2424).
|
|
5
5
|
//
|
|
6
|
-
// Kept SEPARATE from `_chrome
|
|
6
|
+
// Kept SEPARATE from `_chrome.ts` so the data shells (`_nav-source-docs`
|
|
7
7
|
// / `_doc-route-entries` / `route-enumerators`) — and the unit tests that import
|
|
8
8
|
// them — depend ONLY on this lightweight module, NOT on the chrome host bindings
|
|
9
9
|
// (which pull the build-time `#doc-history-meta` alias + island components that
|
|
@@ -243,6 +243,12 @@
|
|
|
243
243
|
--leading-normal: 1.5;
|
|
244
244
|
--leading-relaxed: 1.625;
|
|
245
245
|
|
|
246
|
+
/* Letter spacing / tracking (4 steps) */
|
|
247
|
+
--tracking-tight: -0.025em; /* headings, display text */
|
|
248
|
+
--tracking-normal: normal; /* browser default — resets any inherited tracking */
|
|
249
|
+
--tracking-wide: 0.05em; /* labels, UI text */
|
|
250
|
+
--tracking-wider: 0.1em; /* small caps, decorative */
|
|
251
|
+
|
|
246
252
|
/* ========================================
|
|
247
253
|
* Border radius (3 steps)
|
|
248
254
|
* ======================================== */
|