@nghitrum/dsforge 0.1.5-alpha.1 → 0.1.5-alpha.2

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 CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  Your design tokens live in Figma. Your components drift from the spec. Your docs are six sprints out of date. dsforge fixes all three with one config file.
6
6
 
7
- ![dsforge showcase](docs/showcase.png)
8
-
9
- ---
7
+ ## <img src="https://1drv.ms/i/c/03940e999db687d7/IQRd4C2SBuklSKHZ7qbr4WpAATzAfp-Oh-rRuIUqawsH0yA" />
10
8
 
11
9
  ## Before / After
12
10
 
@@ -58,18 +56,18 @@ Output lands in `dist-ds/`. Regenerate it any time by running `generate` again.
58
56
  "global": {
59
57
  "brand-600": "#2563eb",
60
58
  "neutral-900": "#0f172a",
61
- "neutral-0": "#ffffff"
59
+ "neutral-0": "#ffffff"
62
60
  },
63
61
  "semantic": {
64
- "color-action": "{global.brand-600}",
62
+ "color-action": "{global.brand-600}",
65
63
  "color-text-primary": "{global.neutral-900}",
66
- "color-bg-default": "{global.neutral-0}"
64
+ "color-bg-default": "{global.neutral-0}"
67
65
  }
68
66
  },
69
67
  "typography": {
70
68
  "fontFamily": "Inter, system-ui, sans-serif",
71
69
  "roles": {
72
- "body": { "size": 16, "weight": 400, "lineHeight": 1.6 },
70
+ "body": { "size": 16, "weight": 400, "lineHeight": 1.6 },
73
71
  "heading": { "size": 24, "weight": 700, "lineHeight": 1.2 }
74
72
  }
75
73
  },
@@ -144,17 +142,17 @@ Includes live component previews with all variants and states, themed with your
144
142
 
145
143
  `dsforge validate` runs nine health checks and produces a scored report:
146
144
 
147
- | Check | Max score |
148
- | --- | --- |
149
- | Token architecture | 15 |
150
- | Typography | 10 |
151
- | Spacing | 10 |
152
- | Radius | 5 |
153
- | Elevation | 5 |
154
- | Motion | 5 |
155
- | Themes | 10 |
156
- | Token resolution | 14 |
157
- | Governance rules | 15 |
145
+ | Check | Max score |
146
+ | ------------------ | --------- |
147
+ | Token architecture | 15 |
148
+ | Typography | 10 |
149
+ | Spacing | 10 |
150
+ | Radius | 5 |
151
+ | Elevation | 5 |
152
+ | Motion | 5 |
153
+ | Themes | 10 |
154
+ | Token resolution | 14 |
155
+ | Governance rules | 15 |
158
156
 
159
157
  Scores below 70 are flagged as warnings. WCAG contrast is checked automatically for all color token pairs.
160
158
 
@@ -186,13 +184,13 @@ Run this before deploying a config update to understand downstream impact.
186
184
 
187
185
  ## Commands
188
186
 
189
- | Command | What it does |
190
- | --- | --- |
191
- | `dsforge init` | Scaffold `design-system.config.json` and `design-system.rules.json` |
187
+ | Command | What it does |
188
+ | ------------------ | -------------------------------------------------------------------- |
189
+ | `dsforge init` | Scaffold `design-system.config.json` and `design-system.rules.json` |
192
190
  | `dsforge generate` | Run the full pipeline — tokens, components, metadata, docs, showcase |
193
- | `dsforge validate` | Run 9 health checks and score against governance rules |
194
- | `dsforge diff` | Compare two configs — BREAKING / CHANGED / ADDED |
195
- | `dsforge showcase` | Open `dist-ds/showcase.html` in your default browser |
191
+ | `dsforge validate` | Run 9 health checks and score against governance rules |
192
+ | `dsforge diff` | Compare two configs — BREAKING / CHANGED / ADDED |
193
+ | `dsforge showcase` | Open `dist-ds/showcase.html` in your default browser |
196
194
 
197
195
  Run `dsforge` with no arguments for an interactive menu.
198
196
 
package/dist/cli/index.js CHANGED
@@ -5296,7 +5296,7 @@ async function runMenu() {
5296
5296
  // package.json
5297
5297
  var package_default = {
5298
5298
  name: "@nghitrum/dsforge",
5299
- version: "0.1.5-alpha.1",
5299
+ version: "0.1.5-alpha.2",
5300
5300
  description: "AI-native design system generator \u2014 tokens \u2192 components \u2192 docs \u2192 npm",
5301
5301
  keywords: [
5302
5302
  "design-system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nghitrum/dsforge",
3
- "version": "0.1.5-alpha.1",
3
+ "version": "0.1.5-alpha.2",
4
4
  "description": "AI-native design system generator — tokens → components → docs → npm",
5
5
  "keywords": [
6
6
  "design-system",