@zero2webmaster/starter-kit 0.41.0 → 0.42.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/README.md +2 -2
- package/dist/brand.d.ts +11 -0
- package/dist/brand.js +74 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/parse-brief.js +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# z2w-starter-kit
|
|
2
2
|
|
|
3
|
-
**Version:** 0.
|
|
3
|
+
**Version:** 0.42.0 | **Framework:** 2.19.0
|
|
4
4
|
|
|
5
5
|
> Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.
|
|
6
6
|
|
|
@@ -135,4 +135,4 @@ Inquiries: kerry@zero2webmaster.com.
|
|
|
135
135
|
---
|
|
136
136
|
|
|
137
137
|
*Scaffolded 2026-05-28 via the [[instantiate-z2w-project]] Claude Code skill v1; reconciled against the consolidated skill v1.1.0 (brief-first + Agent Coordination block) on 2026-05-29.*
|
|
138
|
-
*Version: 0.
|
|
138
|
+
*Version: 0.42.0 | Last Updated: 2026-10-17*
|
package/dist/brand.d.ts
CHANGED
|
@@ -70,6 +70,17 @@ export declare const CUSTOM_TYPOGRAPHY_RULE = "Large, easy-to-read type (body 18
|
|
|
70
70
|
export declare function isHexColor(s: string): boolean;
|
|
71
71
|
export declare const SAVE_THE_FROGS_PRESET: BrandPresetSpec;
|
|
72
72
|
export declare const BANSURI_BLISS_PRESET: BrandPresetSpec;
|
|
73
|
+
/**
|
|
74
|
+
* VideoMigrator — Z2W product line, populated in the skill 2026-06-04 during the
|
|
75
|
+
* videomigrator-dashboard scaffold. Ported 2026-10-17 (it was never selectable
|
|
76
|
+
* here, so the CLI could not scaffold a VideoMigrator-branded project at all).
|
|
77
|
+
*/
|
|
78
|
+
export declare const VIDEOMIGRATOR_PRESET: BrandPresetSpec;
|
|
79
|
+
/**
|
|
80
|
+
* LoomInUs — a Zero2Webmaster subsidiary (artisan-goods store), populated in the
|
|
81
|
+
* skill 2026-06-18 during the loominus workspace scaffold. Ported 2026-10-17.
|
|
82
|
+
*/
|
|
83
|
+
export declare const LOOMINUS_PRESET: BrandPresetSpec;
|
|
73
84
|
export declare const ZERO2WEBMASTER_PRESET: BrandPresetSpec;
|
|
74
85
|
export declare const BRAND_PRESETS: Readonly<Record<Exclude<BrandPreset, "custom">, BrandPresetSpec>>;
|
|
75
86
|
/**
|
package/dist/brand.js
CHANGED
|
@@ -63,19 +63,85 @@ export const BANSURI_BLISS_PRESET = {
|
|
|
63
63
|
preset: "bansuri-bliss",
|
|
64
64
|
brandName: "Bansuri Bliss",
|
|
65
65
|
brandNameRule: "title case; never 'Bonseri Bliss' or 'Bansuri Bliss Academy'",
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
// Kerry, 2026-06-18 (first used in file-server): "Almost always I use BB Blue
|
|
67
|
+
// #011351 and BB Bamboo #E9C15E and white and black as needed." The skill had
|
|
68
|
+
// these from that day; this preset stayed a `_TODO_` stub until 2026-10-17
|
|
69
|
+
// because its deferral assumed the values did not exist yet.
|
|
70
|
+
primaryColor: "#011351",
|
|
71
|
+
accentColor: "#E9C15E",
|
|
72
|
+
typographyRule: DEFAULT_TYPOGRAPHY_RULE,
|
|
69
73
|
domains: ["bansuribliss.com"],
|
|
70
74
|
githubOrg: "bansuribliss",
|
|
71
75
|
accountType: "user",
|
|
72
76
|
author: DEFAULT_AUTHOR,
|
|
73
77
|
authorUrl: DEFAULT_AUTHOR_URL,
|
|
74
|
-
extras: [
|
|
78
|
+
extras: [
|
|
79
|
+
{
|
|
80
|
+
label: "Secondary blues (use sparingly)",
|
|
81
|
+
hex: "#006cb6",
|
|
82
|
+
description: "Also used: #8bd2f4, #1a65af, #2151B4.",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
75
85
|
notes: [
|
|
76
|
-
"
|
|
86
|
+
"BB Blue is DARK, so it is the AA-safe TEXT color on white (headings, links, wordmark), and a button filled with it needs WHITE text. BB Bamboo is the bright accent and fill. This is the inverse of the bright greens of Zero2Webmaster and SAVE THE FROGS!.",
|
|
77
87
|
],
|
|
78
|
-
isStub:
|
|
88
|
+
isStub: false,
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* VideoMigrator — Z2W product line, populated in the skill 2026-06-04 during the
|
|
92
|
+
* videomigrator-dashboard scaffold. Ported 2026-10-17 (it was never selectable
|
|
93
|
+
* here, so the CLI could not scaffold a VideoMigrator-branded project at all).
|
|
94
|
+
*/
|
|
95
|
+
export const VIDEOMIGRATOR_PRESET = {
|
|
96
|
+
preset: "videomigrator",
|
|
97
|
+
brandName: "VideoMigrator",
|
|
98
|
+
brandNameRule: "one word, internal cap; never 'Video Migrator', never 'videomigrator' outside the domain name, never 'VM' as a public abbreviation",
|
|
99
|
+
primaryColor: "#7B3FE4",
|
|
100
|
+
accentColor: "#16C6D9",
|
|
101
|
+
typographyRule: DEFAULT_TYPOGRAPHY_RULE,
|
|
102
|
+
domains: ["videomigrator.com", "dash.videomigrator.com"],
|
|
103
|
+
githubOrg: "zero2webmaster",
|
|
104
|
+
accountType: "user",
|
|
105
|
+
author: DEFAULT_AUTHOR,
|
|
106
|
+
authorUrl: DEFAULT_AUTHOR_URL,
|
|
107
|
+
extras: [
|
|
108
|
+
{ label: "Primary hover", hex: "#8C3AF0" },
|
|
109
|
+
{ label: "Primary deep", hex: "#362097", description: "High-contrast accents." },
|
|
110
|
+
{ label: "Accent hover", hex: "#09B5CB" },
|
|
111
|
+
{ label: "Ink (body text)", hex: "#0f172a" },
|
|
112
|
+
{ label: "Mute (secondary text)", hex: "#64748b" },
|
|
113
|
+
],
|
|
114
|
+
notes: [
|
|
115
|
+
"Signature gradient: linear-gradient(135deg, #7B3FE4 0%, #16C6D9 100%). Logo: 'Video' in purple, 'Migrator' in cyan, with motion arrows.",
|
|
116
|
+
],
|
|
117
|
+
isStub: false,
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* LoomInUs — a Zero2Webmaster subsidiary (artisan-goods store), populated in the
|
|
121
|
+
* skill 2026-06-18 during the loominus workspace scaffold. Ported 2026-10-17.
|
|
122
|
+
*/
|
|
123
|
+
export const LOOMINUS_PRESET = {
|
|
124
|
+
preset: "loominus",
|
|
125
|
+
brandName: "LoomInUs",
|
|
126
|
+
brandNameRule: "capital L, capital I, capital U (Loom + In + Us); never 'Loominus', 'LoomInUS', 'Loom In Us', 'loomInUs' or 'LoomInus'",
|
|
127
|
+
primaryColor: "#FD9027",
|
|
128
|
+
accentColor: "#414AFF",
|
|
129
|
+
typographyRule: DEFAULT_TYPOGRAPHY_RULE,
|
|
130
|
+
domains: ["loominus.art"],
|
|
131
|
+
githubOrg: "zero2webmaster",
|
|
132
|
+
accountType: "user",
|
|
133
|
+
author: DEFAULT_AUTHOR,
|
|
134
|
+
authorUrl: DEFAULT_AUTHOR_URL,
|
|
135
|
+
extras: [
|
|
136
|
+
{ label: "'In' light blue", hex: "#648FFF" },
|
|
137
|
+
{ label: "Inner glow purple", hex: "#EC92EF" },
|
|
138
|
+
{ label: "Deep blue (darker link text)", hex: "#2A1CC8" },
|
|
139
|
+
],
|
|
140
|
+
notes: [
|
|
141
|
+
"Tagline: 'Art That Radiates From Within'. Loom Orange is a BRIGHT accent that fails WCAG AA as small text on white: use it for fills and CTAs with dark text, and the blue (#414AFF, or #2A1CC8) for links and text. The accent here is that blue, not a second orange, for exactly that reason.",
|
|
142
|
+
"Wordmark font: Pinot Grigio Modern Bold (Adobe Fonts); web use needs an Adobe Fonts web project.",
|
|
143
|
+
],
|
|
144
|
+
isStub: false,
|
|
79
145
|
};
|
|
80
146
|
export const ZERO2WEBMASTER_PRESET = {
|
|
81
147
|
preset: "zero2webmaster",
|
|
@@ -110,6 +176,8 @@ export const BRAND_PRESETS = {
|
|
|
110
176
|
"save-the-frogs": SAVE_THE_FROGS_PRESET,
|
|
111
177
|
"bansuri-bliss": BANSURI_BLISS_PRESET,
|
|
112
178
|
zero2webmaster: ZERO2WEBMASTER_PRESET,
|
|
179
|
+
videomigrator: VIDEOMIGRATOR_PRESET,
|
|
180
|
+
loominus: LOOMINUS_PRESET,
|
|
113
181
|
};
|
|
114
182
|
/**
|
|
115
183
|
* Build a one-off BrandPresetSpec from user-supplied custom-brand inputs.
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import type { StandardDecision } from "./standards.js";
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const version: string;
|
|
25
25
|
export type ProjectType = "wp-plugin" | "cf-worker" | "cf-pages" | "nextjs" | "python-service" | "node-service" | "library" | "protocol-repo";
|
|
26
|
-
export type BrandPreset = "save-the-frogs" | "bansuri-bliss" | "zero2webmaster" | "custom";
|
|
26
|
+
export type BrandPreset = "save-the-frogs" | "bansuri-bliss" | "zero2webmaster" | "videomigrator" | "loominus" | "custom";
|
|
27
27
|
/**
|
|
28
28
|
* Who will READ the scaffolded project's agent files.
|
|
29
29
|
*
|
package/dist/index.js
CHANGED
package/dist/parse-brief.js
CHANGED
|
@@ -260,6 +260,10 @@ function inferBrand(brief) {
|
|
|
260
260
|
if (value === "bansuri-bliss" || value === "bansuri bliss") {
|
|
261
261
|
return "bansuri-bliss";
|
|
262
262
|
}
|
|
263
|
+
if (value === "videomigrator" || value === "video migrator")
|
|
264
|
+
return "videomigrator";
|
|
265
|
+
if (value === "loominus")
|
|
266
|
+
return "loominus";
|
|
263
267
|
if (value === "custom")
|
|
264
268
|
return "custom";
|
|
265
269
|
}
|
|
@@ -268,6 +272,10 @@ function inferBrand(brief) {
|
|
|
268
272
|
return "save-the-frogs";
|
|
269
273
|
if (/\bbansuri\s*bliss\b/.test(text))
|
|
270
274
|
return "bansuri-bliss";
|
|
275
|
+
if (/\bvideo\s*migrator\b/.test(text))
|
|
276
|
+
return "videomigrator";
|
|
277
|
+
if (/\bloom\s*in\s*us\b/.test(text))
|
|
278
|
+
return "loominus";
|
|
271
279
|
if (/\bzero2webmaster\b|\bz2w\b/.test(text))
|
|
272
280
|
return "zero2webmaster";
|
|
273
281
|
return null;
|
|
@@ -280,6 +288,10 @@ export function githubOrgForBrand(brand) {
|
|
|
280
288
|
return "savethefrogs";
|
|
281
289
|
case "bansuri-bliss":
|
|
282
290
|
return "bansuribliss";
|
|
291
|
+
// Both ship under the zero2webmaster account (product line / subsidiary).
|
|
292
|
+
case "videomigrator":
|
|
293
|
+
case "loominus":
|
|
294
|
+
return "zero2webmaster";
|
|
283
295
|
case "custom":
|
|
284
296
|
return null;
|
|
285
297
|
}
|