create-zudo-doc 4.2.0 → 4.2.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
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.2.
|
|
21
|
+
export declare const ZUDO_DOC_PIN = "^4.2.1";
|
|
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.2.
|
|
27
|
+
export const ZUDO_DOC_PIN = "^4.2.1";
|
|
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
|
|
@@ -660,7 +660,7 @@ function generatePackageJson(choices) {
|
|
|
660
660
|
// doc-history helpers, which in turn import
|
|
661
661
|
// @takazudo/zudo-doc-history-server/git-history. Without this dep the
|
|
662
662
|
// plugin host fails at init with ERR_MODULE_NOT_FOUND — W8A (#1739).
|
|
663
|
-
deps["@takazudo/zudo-doc-history-server"] = "^4.2.
|
|
663
|
+
deps["@takazudo/zudo-doc-history-server"] = "^4.2.1";
|
|
664
664
|
// tsx is no longer needed here: the relocated package plugin imports the
|
|
665
665
|
// runner directly (no `tsx -e` spawn) since the package ships compiled
|
|
666
666
|
// dist/ — package-first migration #2321 (#2337).
|
package/package.json
CHANGED
package/templates/features/claudeSkills/files/.claude/skills/zudo-doc-design-system/SKILL.md
CHANGED
|
@@ -53,6 +53,10 @@ Read ONLY the section relevant to your task. Apply its rules strictly.
|
|
|
53
53
|
- **NEVER** use hardcoded hex values in components
|
|
54
54
|
- Both bundled schemes (`Default Light`, `Default Dark`) share the same ramps; only their per-mode wiring (`map`) differs. This project doesn't own a copy of the ramp/map definitions — they're package-owned, shipped compiled under `node_modules/@takazudo/zudo-doc/dist/color-schemes-defaults/`. Only override the `@theme` tokens you actually need to change, in `src/styles/global.css`
|
|
55
55
|
|
|
56
|
+
### Palette index convention
|
|
57
|
+
|
|
58
|
+
Within Tier 1, the `base` and `accent` ramps are addressed by a plain numeric index — `0` is always the lightest stop, climbing toward the darkest (`base` runs `0`-`4`, `accent` runs `0`-`2`). The `state` ramp breaks this pattern on purpose: its four roles (`danger`, `success`, `warning`, `info`) are addressed by name, never by index, since a numeric position is meaningless for a role that isn't part of a light-to-dark progression. When a new ramp is ever introduced, keep this split — a tonal progression gets an index, a set of standalone semantic roles gets names.
|
|
59
|
+
|
|
56
60
|
### Search & highlight tokens (role-split)
|
|
57
61
|
|
|
58
62
|
Highlight roles are deliberately split across dedicated semantic tokens — do **not** share one token across unrelated highlight UIs.
|
|
@@ -118,7 +118,13 @@ Unlike a per-version file, a scaffolded changelog is a single `index.mdx` page.
|
|
|
118
118
|
release as a section **above** the existing ones (newest first), using only the categories that
|
|
119
119
|
have entries.
|
|
120
120
|
|
|
121
|
-
###
|
|
121
|
+
### Default-language changelog (`src/content/docs/changelog/index.mdx`)
|
|
122
|
+
|
|
123
|
+
This is the project's PRIMARY changelog page. It was seeded in whichever language the project's
|
|
124
|
+
`defaultLang` setting is, so use whichever heading set below already matches the page — don't
|
|
125
|
+
assume English.
|
|
126
|
+
|
|
127
|
+
**If the page uses English headings:**
|
|
122
128
|
|
|
123
129
|
```mdx
|
|
124
130
|
## {NEW_VERSION}
|
|
@@ -143,9 +149,7 @@ have entries.
|
|
|
143
149
|
On the very first bump, the page still has the scaffold's starter `## Unreleased` section —
|
|
144
150
|
replace that heading with `## {NEW_VERSION}` rather than adding a second heading.
|
|
145
151
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Only applies when i18n is enabled (the `docs-ja` directory exists). If it doesn't, skip this file.
|
|
152
|
+
**If the page uses Japanese headings:**
|
|
149
153
|
|
|
150
154
|
```mdx
|
|
151
155
|
## {NEW_VERSION}
|
|
@@ -167,7 +171,21 @@ Only applies when i18n is enabled (the `docs-ja` directory exists). If it doesn'
|
|
|
167
171
|
- Description (commit-hash)
|
|
168
172
|
```
|
|
169
173
|
|
|
170
|
-
On the first bump,
|
|
174
|
+
On the very first bump, the page still has the scaffold's starter `## 未リリース` section —
|
|
175
|
+
replace that heading with `## {NEW_VERSION}` the same way.
|
|
176
|
+
|
|
177
|
+
### Other-locale changelog
|
|
178
|
+
|
|
179
|
+
Only applies when i18n is enabled — i.e. a second content directory exists alongside the primary
|
|
180
|
+
one. Which locale that is depends on the project's `defaultLang`: for an English-default project
|
|
181
|
+
this is the Japanese changelog at `src/content/docs-ja/changelog/index.mdx`; for a
|
|
182
|
+
Japanese-default project this is the English changelog under the `docs-en` directory instead. If
|
|
183
|
+
the other-locale changelog page doesn't exist, skip this file.
|
|
184
|
+
|
|
185
|
+
Use the OTHER heading set from above (the one you didn't use for the default-language page —
|
|
186
|
+
English primary means Japanese secondary, and vice versa), following the same "add a new
|
|
187
|
+
`## {NEW_VERSION}` section above the existing ones" rule, and replace that page's own starter
|
|
188
|
+
heading on the very first bump.
|
|
171
189
|
|
|
172
190
|
Rules:
|
|
173
191
|
|