create-zudo-doc 2.0.0 → 2.1.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/dist/scaffold.d.ts +1 -1
- package/dist/scaffold.js +11 -10
- 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/config/settings-types.ts +1 -0
- 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.0";
|
|
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.0";
|
|
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/`
|
|
@@ -479,15 +479,16 @@ function generatePackageJson(choices) {
|
|
|
479
479
|
// lockstep with the root package.json pins. No consumer-facing / CLI change.
|
|
480
480
|
// next.69: routine toolchain bump from next.68, adopted in
|
|
481
481
|
// lockstep with the root package.json pins. No consumer-facing / CLI change.
|
|
482
|
-
// next.70
|
|
483
|
-
//
|
|
484
|
-
//
|
|
485
|
-
//
|
|
486
|
-
|
|
487
|
-
"@takazudo/zfb
|
|
482
|
+
// next.70: routine toolchain bump from next.69, re-aligned with the root
|
|
483
|
+
// package.json pins (root was bumped in b5489acf; this scaffold pin lagged
|
|
484
|
+
// at next.69 and broke check-pin-parity). No consumer-facing / CLI change.
|
|
485
|
+
// next.71 (current pin): routine toolchain bump from next.70, carrying the
|
|
486
|
+
// zfb external-@import hoisting work. No consumer-facing / CLI change.
|
|
487
|
+
"@takazudo/zfb": "0.1.0-next.71",
|
|
488
|
+
"@takazudo/zfb-runtime": "0.1.0-next.71",
|
|
488
489
|
// zfb-adapter-cloudflare — required for any route with `prerender = false`.
|
|
489
490
|
// Pinned in lockstep with @takazudo/zfb.
|
|
490
|
-
"@takazudo/zfb-adapter-cloudflare": "0.1.0-next.
|
|
491
|
+
"@takazudo/zfb-adapter-cloudflare": "0.1.0-next.71",
|
|
491
492
|
// @takazudo/zudo-doc — published from this monorepo via
|
|
492
493
|
// .github/workflows/publish-zudo-doc.yml. The pin here is bumped in
|
|
493
494
|
// lockstep by scripts/release-create-zudo-doc.sh whenever zudo-doc's
|
|
@@ -570,7 +571,7 @@ function generatePackageJson(choices) {
|
|
|
570
571
|
// @takazudo/zudo-doc/integrations/doc-history which in turn imports
|
|
571
572
|
// @takazudo/zudo-doc-history-server/git-history. Without this dep the
|
|
572
573
|
// plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
|
|
573
|
-
deps["@takazudo/zudo-doc-history-server"] = "^2.
|
|
574
|
+
deps["@takazudo/zudo-doc-history-server"] = "^2.1.0";
|
|
574
575
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
575
576
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
576
577
|
// dist/ — package-first migration #2321 (#2337).
|
|
@@ -581,7 +582,7 @@ function generatePackageJson(choices) {
|
|
|
581
582
|
if (choices.features.includes("designTokenPanel")) {
|
|
582
583
|
// @takazudo/zdtp requires preact >= 10.29.1 — see the preact floor comment
|
|
583
584
|
// above (~line 382) for why the floor is set there and the coupling this creates.
|
|
584
|
-
deps["@takazudo/zdtp"] = "0.
|
|
585
|
+
deps["@takazudo/zdtp"] = "0.4.1";
|
|
585
586
|
}
|
|
586
587
|
if (choices.features.includes("tagGovernance")) {
|
|
587
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
|
* ======================================== */
|