create-zudo-doc 2.1.1 → 2.2.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
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.2.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.2.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/`
|
|
@@ -482,13 +482,15 @@ function generatePackageJson(choices) {
|
|
|
482
482
|
// next.70: routine toolchain bump from next.69, re-aligned with the root
|
|
483
483
|
// package.json pins (root was bumped in b5489acf; this scaffold pin lagged
|
|
484
484
|
// at next.69 and broke check-pin-parity). No consumer-facing / CLI change.
|
|
485
|
-
// next.71
|
|
485
|
+
// next.71: routine toolchain bump from next.70, carrying the
|
|
486
486
|
// zfb external-@import hoisting work. No consumer-facing / CLI change.
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
// next.72 (current pin): routine toolchain bump from next.71, adopted in
|
|
488
|
+
// lockstep with the root package.json pins. No consumer-facing / CLI change.
|
|
489
|
+
"@takazudo/zfb": "0.1.0-next.72",
|
|
490
|
+
"@takazudo/zfb-runtime": "0.1.0-next.72",
|
|
489
491
|
// zfb-adapter-cloudflare — required for any route with `prerender = false`.
|
|
490
492
|
// Pinned in lockstep with @takazudo/zfb.
|
|
491
|
-
"@takazudo/zfb-adapter-cloudflare": "0.1.0-next.
|
|
493
|
+
"@takazudo/zfb-adapter-cloudflare": "0.1.0-next.72",
|
|
492
494
|
// @takazudo/zudo-doc — published from this monorepo via
|
|
493
495
|
// .github/workflows/publish-zudo-doc.yml. The pin here is bumped in
|
|
494
496
|
// lockstep by scripts/release-create-zudo-doc.sh whenever zudo-doc's
|
|
@@ -571,7 +573,7 @@ function generatePackageJson(choices) {
|
|
|
571
573
|
// @takazudo/zudo-doc/integrations/doc-history which in turn imports
|
|
572
574
|
// @takazudo/zudo-doc-history-server/git-history. Without this dep the
|
|
573
575
|
// plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
|
|
574
|
-
deps["@takazudo/zudo-doc-history-server"] = "^2.
|
|
576
|
+
deps["@takazudo/zudo-doc-history-server"] = "^2.2.0";
|
|
575
577
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
576
578
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
577
579
|
// dist/ — package-first migration #2321 (#2337).
|
|
@@ -582,7 +584,7 @@ function generatePackageJson(choices) {
|
|
|
582
584
|
if (choices.features.includes("designTokenPanel")) {
|
|
583
585
|
// @takazudo/zdtp requires preact >= 10.29.1 — see the preact floor comment
|
|
584
586
|
// above (~line 382) for why the floor is set there and the coupling this creates.
|
|
585
|
-
deps["@takazudo/zdtp"] = "0.4.
|
|
587
|
+
deps["@takazudo/zdtp"] = "0.4.2";
|
|
586
588
|
}
|
|
587
589
|
if (choices.features.includes("tagGovernance")) {
|
|
588
590
|
// gray-matter is already in `deps` unconditionally (base template uses it),
|
package/package.json
CHANGED
|
@@ -81,10 +81,10 @@ export const colorSchemes: Record<string, ColorScheme> = {
|
|
|
81
81
|
selectionBg: 11,
|
|
82
82
|
selectionFg: 10,
|
|
83
83
|
palette: [
|
|
84
|
-
"#303030"
|
|
85
|
-
"#174fa0"
|
|
86
|
-
"#6b6b6b"
|
|
87
|
-
"#5b99dc"
|
|
84
|
+
"oklch(0.309 0.000 0.00)" /* #303030 */, "oklch(0.453 0.172 27.68)" /* #a01515 */, "oklch(0.398 0.090 147.43)" /* #1f5429 */, "oklch(0.451 0.130 23.94)" /* #903030 */, // p0-3: dark surface, danger, success, warning — darkened for WCAG AA (#2298)
|
|
85
|
+
"oklch(0.441 0.144 258.56)" /* #174fa0 */, "oklch(0.453 0.0997 61.17)" /* #7d470b */, "oklch(0.704 0.040 256.99)" /* #90a1b9 */, "oklch(0.472 0.089 71.81)" /* #7a5218 */, // p4-7: info, accent, neutral, secondary — darkened for WCAG AA (#2298)
|
|
86
|
+
"oklch(0.528 0.000 0.00)" /* #6b6b6b */, "oklch(0.901 0.007 53.44)" /* #e2ddda */, "oklch(0.936 0.003 17.22)" /* #ece9e9 */, "oklch(0.309 0.000 0.00)" /* #303030 */, // p8-11: muted, background, surface, text
|
|
87
|
+
"oklch(0.670 0.119 251.69)" /* #5b99dc */, "oklch(0.749 0.106 300.21)" /* #b89ee7 */, "oklch(0.650 0.027 257.67)" /* #8590a0 */, "oklch(0.417 0.0755 72.95)" /* #654516 */, // p12-15: accent variant, decorative, hover, muted foreground
|
|
88
88
|
],
|
|
89
89
|
semantic: {
|
|
90
90
|
surface: 10,
|
|
@@ -99,8 +99,8 @@ export const colorSchemes: Record<string, ColorScheme> = {
|
|
|
99
99
|
info: 4,
|
|
100
100
|
imageOverlayBg: 11,
|
|
101
101
|
imageOverlayFg: 10,
|
|
102
|
-
matchedKeywordBg: "#fff59d
|
|
103
|
-
matchedKeywordFg: "#000000
|
|
102
|
+
matchedKeywordBg: "oklch(0.959 0.109 102.63)" /* #fff59d */,
|
|
103
|
+
matchedKeywordFg: "oklch(0.000 0.000 0.00)" /* #000000 */,
|
|
104
104
|
},
|
|
105
105
|
},
|
|
106
106
|
"Default Dark": {
|
|
@@ -110,10 +110,10 @@ export const colorSchemes: Record<string, ColorScheme> = {
|
|
|
110
110
|
selectionBg: 10,
|
|
111
111
|
selectionFg: 11,
|
|
112
112
|
palette: [
|
|
113
|
-
"#1c1c1c"
|
|
114
|
-
"#5caae9"
|
|
115
|
-
"#888888"
|
|
116
|
-
"#d69a66"
|
|
113
|
+
"oklch(0.226 0.000 0.00)" /* #1c1c1c */, "oklch(0.656 0.143 16.99)" /* #da6871 */, "oklch(0.746 0.103 133.16)" /* #93bb77 */, "oklch(0.809 0.096 82.54)" /* #dfbb77 */, // p0-3: dark surface, danger, success, warning
|
|
114
|
+
"oklch(0.714 0.120 245.01)" /* #5caae9 */, "oklch(0.677 0.160 318.34)" /* #c074d6 */, "oklch(0.704 0.040 256.99)" /* #90a1b9 */, "oklch(0.706 0.000 0.00)" /* #a0a0a0 */, // p4-7: info, accent, neutral, secondary
|
|
115
|
+
"oklch(0.627 0.000 0.00)" /* #888888 */, "oklch(0.209 0.000 0.00)" /* #181818 */, "oklch(0.341 0.000 0.00)" /* #383838 */, "oklch(0.907 0.000 0.00)" /* #e0e0e0 */, // p8-11: muted, background, surface, text
|
|
116
|
+
"oklch(0.733 0.099 61.25)" /* #d69a66 */, "oklch(0.677 0.160 318.34)" /* #c074d6 */, "oklch(0.801 0.057 256.82)" /* #a7c0e3 */, "oklch(0.783 0.000 0.00)" /* #b8b8b8 */, // p12-15: accent variant, decorative, hover, text secondary
|
|
117
117
|
],
|
|
118
118
|
semantic: {
|
|
119
119
|
surface: 0,
|
|
@@ -128,8 +128,8 @@ export const colorSchemes: Record<string, ColorScheme> = {
|
|
|
128
128
|
info: 4,
|
|
129
129
|
imageOverlayBg: 0,
|
|
130
130
|
imageOverlayFg: 11,
|
|
131
|
-
matchedKeywordBg: "#fff59d
|
|
132
|
-
matchedKeywordFg: "#000000
|
|
131
|
+
matchedKeywordBg: "oklch(0.959 0.109 102.63)" /* #fff59d */,
|
|
132
|
+
matchedKeywordFg: "oklch(0.000 0.000 0.00)" /* #000000 */,
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
135
|
};
|