create-zudo-doc 2.1.2 → 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.
@@ -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.1.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.1.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/`
@@ -573,7 +573,7 @@ function generatePackageJson(choices) {
573
573
  // @takazudo/zudo-doc/integrations/doc-history which in turn imports
574
574
  // @takazudo/zudo-doc-history-server/git-history. Without this dep the
575
575
  // plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
576
- deps["@takazudo/zudo-doc-history-server"] = "^2.1.2";
576
+ deps["@takazudo/zudo-doc-history-server"] = "^2.2.0";
577
577
  // tsx is no longer needed here: the relocated package plugin imports the
578
578
  // runner directly (no `tsx -e` spawn) since the package ships compiled
579
579
  // dist/ — package-first migration #2321 (#2337).
@@ -584,7 +584,7 @@ function generatePackageJson(choices) {
584
584
  if (choices.features.includes("designTokenPanel")) {
585
585
  // @takazudo/zdtp requires preact >= 10.29.1 — see the preact floor comment
586
586
  // above (~line 382) for why the floor is set there and the coupling this creates.
587
- deps["@takazudo/zdtp"] = "0.4.1";
587
+ deps["@takazudo/zdtp"] = "0.4.2";
588
588
  }
589
589
  if (choices.features.includes("tagGovernance")) {
590
590
  // gray-matter is already in `deps` unconditionally (base template uses it),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zudo-doc",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Create a new zudo-doc documentation site",
5
5
  "license": "MIT",
6
6
  "author": "Takeshi Takatsudo",
@@ -81,10 +81,10 @@ export const colorSchemes: Record<string, ColorScheme> = {
81
81
  selectionBg: 11,
82
82
  selectionFg: 10,
83
83
  palette: [
84
- "#303030", "#a01515", "#1f5429", "#903030", // p0-3: dark surface, danger, success, warning — darkened for WCAG AA (#2298)
85
- "#174fa0", "#7d470b", "#90a1b9", "#7a5218", // p4-7: info, accent, neutral, secondary — darkened for WCAG AA (#2298)
86
- "#6b6b6b", "#e2ddda", "#ece9e9", "#303030", // p8-11: muted, background, surface, text
87
- "#5b99dc", "#b89ee7", "#8590a0", "#654516", // p12-15: accent variant, decorative, hover, muted foreground
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", "#da6871", "#93bb77", "#dfbb77", // p0-3: dark surface, danger, success, warning
114
- "#5caae9", "#c074d6", "#90a1b9", "#a0a0a0", // p4-7: info, accent, neutral, secondary
115
- "#888888", "#181818", "#383838", "#e0e0e0", // p8-11: muted, background, surface, text
116
- "#d69a66", "#c074d6", "#a7c0e3", "#b8b8b8", // p12-15: accent variant, decorative, hover, text secondary
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
  };