@hirobius/design-system 0.11.0 → 0.12.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 +11 -1
- package/dist/brand.js +36 -0
- package/dist/contexts.js +63 -59
- package/dist/hirobius-ui.js +22626 -3818
- package/dist/manifest.js +9 -9
- package/dist/scroll.js +42 -0
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +14 -1
- package/dist/types/src/app/components/activity-feed.d.ts +24 -2
- package/dist/types/src/app/components/alert-dialog.d.ts +56 -0
- package/dist/types/src/app/components/app-shell.d.ts +38 -0
- package/dist/types/src/app/components/aspect-ratio.d.ts +25 -0
- package/dist/types/src/app/components/avatar-group.d.ts +22 -0
- package/dist/types/src/app/components/bleed.d.ts +39 -0
- package/dist/types/src/app/components/blockquote.d.ts +20 -0
- package/dist/types/src/app/components/box-sx.d.ts +69 -0
- package/dist/types/src/app/components/box.d.ts +42 -0
- package/dist/types/src/app/components/breadcrumb.d.ts +5 -0
- package/dist/types/src/app/components/button-group.d.ts +18 -0
- package/dist/types/src/app/components/calendar.d.ts +20 -0
- package/dist/types/src/app/components/card.d.ts +29 -13
- package/dist/types/src/app/components/carousel.d.ts +24 -0
- package/dist/types/src/app/components/center.d.ts +36 -0
- package/dist/types/src/app/components/circular-progress.d.ts +28 -0
- package/dist/types/src/app/components/cluster.d.ts +39 -0
- package/dist/types/src/app/components/code-block.d.ts +19 -1
- package/dist/types/src/app/components/command-palette.d.ts +44 -0
- package/dist/types/src/app/components/container.d.ts +10 -0
- package/dist/types/src/app/components/context-menu.d.ts +55 -0
- package/dist/types/src/app/components/cover.d.ts +43 -0
- package/dist/types/src/app/components/date-input.d.ts +31 -0
- package/dist/types/src/app/components/date-range-input.d.ts +34 -0
- package/dist/types/src/app/components/date-time-input.d.ts +30 -0
- package/dist/types/src/app/components/disclosure.d.ts +5 -1
- package/dist/types/src/app/components/divider.d.ts +14 -10
- package/dist/types/src/app/components/doc-link-card.d.ts +5 -1
- package/dist/types/src/app/components/field.d.ts +9 -11
- package/dist/types/src/app/components/file-input.d.ts +28 -0
- package/dist/types/src/app/components/frame.d.ts +38 -0
- package/dist/types/src/app/components/heading-stack.d.ts +15 -5
- package/dist/types/src/app/components/hover-card.d.ts +31 -0
- package/dist/types/src/app/components/image-lightbox.d.ts +13 -0
- package/dist/types/src/app/components/inline-code.d.ts +14 -3
- package/dist/types/src/app/components/input-group.d.ts +23 -0
- package/dist/types/src/app/components/kbd.d.ts +18 -0
- package/dist/types/src/app/components/metadata-list.d.ts +43 -0
- package/dist/types/src/app/components/multi-selector.d.ts +40 -0
- package/dist/types/src/app/components/nav-group.d.ts +7 -2
- package/dist/types/src/app/components/nav-item.d.ts +12 -2
- package/dist/types/src/app/components/overflow-list.d.ts +19 -0
- package/dist/types/src/app/components/pin.d.ts +30 -0
- package/dist/types/src/app/components/reveal.d.ts +31 -0
- package/dist/types/src/app/components/segmented-control.d.ts +37 -3
- package/dist/types/src/app/components/selectable-card.d.ts +29 -0
- package/dist/types/src/app/components/side-nav.d.ts +21 -0
- package/dist/types/src/app/components/sidebar.d.ts +45 -0
- package/dist/types/src/app/components/stat.d.ts +8 -10
- package/dist/types/src/app/components/status-dot.d.ts +25 -0
- package/dist/types/src/app/components/status-list-item.d.ts +10 -11
- package/dist/types/src/app/components/stepper.d.ts +31 -0
- package/dist/types/src/app/components/switcher.d.ts +41 -0
- package/dist/types/src/app/components/table.d.ts +12 -1
- package/dist/types/src/app/components/tag.d.ts +19 -18
- package/dist/types/src/app/components/text.d.ts +8 -2
- package/dist/types/src/app/components/time-input.d.ts +24 -0
- package/dist/types/src/app/components/timestamp.d.ts +24 -0
- package/dist/types/src/app/components/toast.d.ts +8 -2
- package/dist/types/src/app/components/toggle-button.d.ts +32 -0
- package/dist/types/src/app/components/token.d.ts +26 -1
- package/dist/types/src/app/components/tokenizer.d.ts +24 -0
- package/dist/types/src/app/components/toolbar.d.ts +36 -0
- package/dist/types/src/app/components/top-nav.d.ts +21 -0
- package/dist/types/src/app/components/tree-list.d.ts +28 -0
- package/dist/types/src/app/components/visually-hidden.d.ts +17 -0
- package/dist/types/src/app/context/TenantContext.d.ts +1 -1
- package/dist/types/src/app/data/nav-model.d.ts +39 -0
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +13 -0
- package/dist/types/src/app/design-system/generated-token-values.d.ts +14 -1
- package/dist/types/src/app/{pages/hds → layouts}/HdsSystemDocLayout.d.ts +1 -1
- package/dist/types/src/app/lib/hds-search.d.ts +45 -0
- package/dist/types/src/brand/index.d.ts +9 -0
- package/dist/types/src/brand/overlay.d.ts +71 -0
- package/dist/types/src/index.d.ts +92 -2
- package/dist/types/src/scroll/index.d.ts +16 -0
- package/dist/types/src/scroll/smooth-scroll.d.ts +48 -0
- package/dist/types/src/scroll/use-scroll-progress.d.ts +34 -0
- package/dist/variables.css +16 -5
- package/hirobius.tokens.json +57 -10
- package/package.json +35 -66
- package/public/hds-manifest.json +6082 -4854
- package/dist/types/src/app/components/info-page.d.ts +0 -10
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@hirobius/design-system",
|
|
3
3
|
"description": "Hirobius Design Systems Architecture: token-governed React components, documentation surfaces, and distribution tooling.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.12.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20",
|
|
8
8
|
"pnpm": ">=8"
|
|
@@ -57,6 +57,16 @@
|
|
|
57
57
|
"import": "./dist/mui.js",
|
|
58
58
|
"default": "./dist/mui.js"
|
|
59
59
|
},
|
|
60
|
+
"./brand": {
|
|
61
|
+
"types": "./dist/types/src/brand/index.d.ts",
|
|
62
|
+
"import": "./dist/brand.js",
|
|
63
|
+
"default": "./dist/brand.js"
|
|
64
|
+
},
|
|
65
|
+
"./scroll": {
|
|
66
|
+
"types": "./dist/types/src/scroll/index.d.ts",
|
|
67
|
+
"import": "./dist/scroll.js",
|
|
68
|
+
"default": "./dist/scroll.js"
|
|
69
|
+
},
|
|
60
70
|
"./package.json": "./package.json"
|
|
61
71
|
},
|
|
62
72
|
"files": [
|
|
@@ -70,6 +80,7 @@
|
|
|
70
80
|
},
|
|
71
81
|
"peerDependencies": {
|
|
72
82
|
"@hookform/resolvers": "^3.9.0 || ^4.0.0 || ^5.0.0",
|
|
83
|
+
"lenis": "^1.3.0",
|
|
73
84
|
"react": "^18.3.0 || ^19.0.0",
|
|
74
85
|
"react-dom": "^18.3.0 || ^19.0.0",
|
|
75
86
|
"react-hook-form": "^7.0.0",
|
|
@@ -88,22 +99,33 @@
|
|
|
88
99
|
},
|
|
89
100
|
"@hookform/resolvers": {
|
|
90
101
|
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"lenis": {
|
|
104
|
+
"optional": true
|
|
91
105
|
}
|
|
92
106
|
},
|
|
93
107
|
"dependencies": {
|
|
108
|
+
"@radix-ui/react-alert-dialog": "^1.1.18",
|
|
109
|
+
"@radix-ui/react-aspect-ratio": "^1.1.11",
|
|
110
|
+
"@radix-ui/react-context-menu": "^2.3.2",
|
|
94
111
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
95
112
|
"@radix-ui/react-dropdown-menu": "^2.1.18",
|
|
113
|
+
"@radix-ui/react-hover-card": "^1.1.18",
|
|
96
114
|
"@radix-ui/react-popover": "^1.1.17",
|
|
97
115
|
"@radix-ui/react-select": "^2.3.1",
|
|
98
116
|
"@radix-ui/react-slot": "^1.2.4",
|
|
99
117
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
100
118
|
"@radix-ui/react-toast": "^1.2.17",
|
|
119
|
+
"@radix-ui/react-toggle": "^1.1.13",
|
|
101
120
|
"@radix-ui/react-toggle-group": "^1.1.13",
|
|
121
|
+
"@radix-ui/react-toolbar": "^1.1.14",
|
|
102
122
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
103
123
|
"class-variance-authority": "^0.7.1",
|
|
104
124
|
"clsx": "^2.1.1",
|
|
125
|
+
"date-fns": "^4.4.0",
|
|
105
126
|
"lucide-react": "0.487.0",
|
|
106
127
|
"motion": "12.23.24",
|
|
128
|
+
"react-day-picker": "^10.0.1",
|
|
107
129
|
"tailwind-merge": "^3.5.0"
|
|
108
130
|
},
|
|
109
131
|
"devDependencies": {
|
|
@@ -151,6 +173,7 @@
|
|
|
151
173
|
"jscodeshift": "^17.3.0",
|
|
152
174
|
"jsdom": "^29.0.0",
|
|
153
175
|
"knip": "^6.10.0",
|
|
176
|
+
"lenis": "^1.3.25",
|
|
154
177
|
"lint-staged": "^17.0.2",
|
|
155
178
|
"nodemon": "^3.1.14",
|
|
156
179
|
"pixelmatch": "^7.1.0",
|
|
@@ -177,33 +200,6 @@
|
|
|
177
200
|
"zod": "^4.4.3",
|
|
178
201
|
"zustand": "^5.0.12"
|
|
179
202
|
},
|
|
180
|
-
"size-limit": [
|
|
181
|
-
{
|
|
182
|
-
"name": "library esm (main barrel)",
|
|
183
|
-
"path": "dist/hirobius-ui.js",
|
|
184
|
-
"limit": "220 kB"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"name": "library css (tokens + base)",
|
|
188
|
-
"path": "dist/tokens.css",
|
|
189
|
-
"limit": "24 kB"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "subpath: cn helper",
|
|
193
|
-
"path": "dist/cn.js",
|
|
194
|
-
"limit": "1 kB"
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"name": "subpath: token bridge",
|
|
198
|
-
"path": "dist/tokens.js",
|
|
199
|
-
"limit": "8 kB"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"name": "subpath: manifest (json-as-esm)",
|
|
203
|
-
"path": "dist/manifest.js",
|
|
204
|
-
"limit": "60 kB"
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
203
|
"lint-staged": {
|
|
208
204
|
"*.{ts,tsx,js,jsx,mjs,cjs,json,md,mdx,css,scss,html,yaml,yml}": "prettier --write"
|
|
209
205
|
},
|
|
@@ -215,16 +211,11 @@
|
|
|
215
211
|
"_comment:editorconfig-version": "check:mojibake routes through scripts/lib/mojibake.mjs, which pins EC_VERSION=v3.7.0. The editorconfig-checker@6.1.x npm wrapper expects binary v3.7.0 but downloads the latest Go release (v3.8.0, 2026-06-25), so a fresh install fails with a version mismatch (binary != config). Pinning the download to the wrapper's expected version keeps CI + pre-commit green. Bump both together when upgrading the npm package. The wrapper also SKIPS gracefully (like check:secrets) when the binary download is network-blocked (remote agent sessions), so hooks no longer need --no-verify (#18/#52); the gate still enforces wherever the binary is present.",
|
|
216
212
|
"api:check": "node scripts/audit-component-integrity.mjs --api",
|
|
217
213
|
"api:update": "node scripts/audit-component-integrity.mjs --api --update-baseline",
|
|
218
|
-
"assets:convert": "node scripts/convert-incoming-assets.mjs",
|
|
219
|
-
"assets:manifest": "node scripts/sync-asset-manifest.mjs",
|
|
220
214
|
"audit:bundle": "node scripts/audit-bundle.mjs",
|
|
221
215
|
"audit:deps": "node scripts/audit-deps.mjs",
|
|
222
216
|
"audit:sbom": "node scripts/audit-sbom.mjs",
|
|
223
217
|
"audit:sidecar": "node scripts/generate-security-posture.mjs",
|
|
224
218
|
"audit:style-dictionary": "bash scripts/poc/style-dictionary-poc/run.sh",
|
|
225
|
-
"build": "pnpm sync:health && node scripts/sync-icons.mjs && vite build --configLoader native",
|
|
226
|
-
"build:ssr": "vite build --ssr src/entry-server.tsx --outDir .ssr-cache --configLoader native",
|
|
227
|
-
"build:prerender": "pnpm build && pnpm build:ssr && node scripts/prerender.mjs",
|
|
228
219
|
"build:lib": "vite build -c vite.config.lib.ts && pnpm build:types && node scripts/build-vars-css.mjs && node scripts/embed-fonts.mjs && node scripts/build-styles-css.mjs",
|
|
229
220
|
"build:types": "tsc -p tsconfig.dts.json && node scripts/strip-dts-side-effects.mjs",
|
|
230
221
|
"catalog": "node scripts/generate-visual-catalog.mjs",
|
|
@@ -232,14 +223,13 @@
|
|
|
232
223
|
"changeset": "changeset",
|
|
233
224
|
"changeset:add": "changeset",
|
|
234
225
|
"changeset:version": "changeset version",
|
|
235
|
-
"codemod": "jscodeshift --parser=tsx --extensions=tsx,ts",
|
|
236
226
|
"storybook": "storybook dev -p 6006",
|
|
237
227
|
"build-storybook": "storybook build",
|
|
228
|
+
"storybook:deploy": "node scripts/deploy-storybook.mjs",
|
|
238
229
|
"chromatic": "chromatic --exit-zero-on-changes",
|
|
239
230
|
"release": "pnpm build:lib && pnpm smoke:consumer --skip-build && changeset publish",
|
|
240
231
|
"check": "pnpm check:full",
|
|
241
232
|
"check:a11y": "pnpm lint --rule '{\"jsx-a11y/alt-text\":\"error\",\"jsx-a11y/img-redundant-alt\":\"error\"}'",
|
|
242
|
-
"check:assets": "node scripts/check-asset-manifest.mjs",
|
|
243
233
|
"check:attributions": "node scripts/check-attributions.mjs",
|
|
244
234
|
"check:binding-drift": "node scripts/check-binding-drift.mjs",
|
|
245
235
|
"check:brand": "node scripts/check-brand.mjs",
|
|
@@ -250,34 +240,30 @@
|
|
|
250
240
|
"check:css-values": "node scripts/check-style-discipline.mjs --css-values-only",
|
|
251
241
|
"check:dimensions": "node scripts/check-dimensions.mjs",
|
|
252
242
|
"check:doc-refs": "node scripts/check-link-integrity.mjs --doc-refs-only",
|
|
253
|
-
"check:
|
|
254
|
-
"check:docs": "node scripts/audit-component-integrity.mjs --docs && node scripts/check-frozen-demos.mjs && node scripts/check-token-descriptions.mjs --no-missing --quality",
|
|
243
|
+
"check:docs": "node scripts/audit-component-integrity.mjs --docs && node scripts/check-token-descriptions.mjs --no-missing --quality",
|
|
255
244
|
"check:exemptions": "node scripts/check-exemptions.mjs",
|
|
256
|
-
"check:fast": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/
|
|
257
|
-
"check:figma-snapshot": "node scripts/test-figma-masters-snapshot.mjs",
|
|
258
|
-
"check:figma-snapshot:update": "node scripts/test-figma-masters-snapshot.mjs --update",
|
|
245
|
+
"check:fast": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/build-tokens.mjs && node scripts/verify-tokens.mjs && node scripts/audit-tokens.mjs --full && pnpm typecheck && node scripts/check-css-integrity.mjs && node scripts/audit-component-integrity.mjs --tokens && pnpm check:docs && node scripts/check-ref-forwarding.mjs && node scripts/check-hardcoded-spacing.mjs && node scripts/check-dimensions.mjs && node scripts/check-hardcoded-breakpoints.mjs && node scripts/check-typography-discipline.mjs && pnpm check:mojibake && node scripts/check-style-discipline.mjs --style-props-only && node scripts/check-tier-bypass.mjs && node scripts/check-link-integrity.mjs --doc-refs-only && node scripts/check-brand.mjs && node scripts/check-registry.mjs && node scripts/check-template-source-of-truth.mjs",
|
|
259
246
|
"check:focus": "node scripts/check-focus-states.mjs",
|
|
260
247
|
"check:font-files": "node scripts/check-typography-discipline.mjs --font-files-only",
|
|
261
248
|
"check:fonts": "node scripts/check-typography-discipline.mjs --fonts-only",
|
|
262
249
|
"check:forbidden-overrides": "node scripts/audit-tokens.mjs --forbidden",
|
|
263
250
|
"check:format": "pnpm exec lint-staged",
|
|
264
|
-
"check:full": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/
|
|
251
|
+
"check:full": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/build-tokens.mjs && node scripts/verify-tokens.mjs && node scripts/audit-tokens.mjs --full && pnpm typecheck && node scripts/check-css-integrity.mjs && node scripts/audit-component-integrity.mjs --tokens && pnpm check:docs && node scripts/check-contrast.mjs && node scripts/check-focus-states.mjs && node scripts/check-reduced-motion.mjs && node scripts/check-ref-forwarding.mjs && node scripts/check-hardcoded-spacing.mjs && node scripts/check-dimensions.mjs && node scripts/check-hardcoded-breakpoints.mjs && node scripts/check-unresponsive-grids.mjs && node scripts/check-motion.mjs && node scripts/check-typography-discipline.mjs && pnpm check:mojibake && node scripts/check-style-discipline.mjs && node scripts/check-hardcoded-colors.mjs && node scripts/check-tier-bypass.mjs && node scripts/check-token-structure.mjs && node scripts/check-security-baseline.mjs && node scripts/check-attributions.mjs && node scripts/check-exemptions.mjs && node scripts/check-brand.mjs && node scripts/check-registry.mjs && node scripts/audit-component-integrity.mjs --api && node scripts/check-token-descriptions.mjs --no-missing && node scripts/check-token-renames.mjs",
|
|
265
252
|
"check:ghost-tokens": "node scripts/audit-tokens.mjs --full",
|
|
266
253
|
"check:grids": "node scripts/check-unresponsive-grids.mjs",
|
|
267
254
|
"check:inline-styles": "node scripts/check-style-discipline.mjs --inline-only",
|
|
268
255
|
"check:knip": "knip",
|
|
269
256
|
"check:knip-ratchet": "knip --max-issues 60",
|
|
257
|
+
"check:layout-discipline": "node scripts/check-layout-discipline.mjs",
|
|
270
258
|
"check:licenses": "node scripts/check-licenses.mjs",
|
|
271
259
|
"check:lockfile": "pnpm install --frozen-lockfile --offline --prefer-offline --ignore-scripts --silent 2>/dev/null || (echo 'Lockfile drift: run pnpm install' && exit 1)",
|
|
272
260
|
"check:manifest-drift": "node scripts/check-manifest-drift.mjs",
|
|
273
261
|
"check:micromotion": "node scripts/check-motion.mjs",
|
|
274
262
|
"check:mojibake": "node scripts/lib/mojibake.mjs",
|
|
275
|
-
"check:mono-roles": "node scripts/check-mono-roles.mjs",
|
|
276
263
|
"check:motion": "node scripts/check-reduced-motion.mjs",
|
|
277
|
-
"check:page-shell": "node scripts/check-page-shell.mjs",
|
|
278
264
|
"check:refs": "node scripts/check-ref-forwarding.mjs",
|
|
279
265
|
"check:registry": "node scripts/check-registry.mjs",
|
|
280
|
-
"check:release": "pnpm check:full && node scripts/check-style-discipline.mjs && pnpm build && pnpm test:a11y && pnpm test:visual && pnpm test:responsive && pnpm test:collision && pnpm check:size",
|
|
266
|
+
"check:release": "pnpm check:full && node scripts/check-style-discipline.mjs && pnpm build:lib && pnpm test:a11y && pnpm test:visual && pnpm test:responsive && pnpm test:collision && pnpm check:size",
|
|
281
267
|
"check:routes": "node scripts/check-link-integrity.mjs --route-links-only",
|
|
282
268
|
"check:secrets": "node scripts/check-secrets.mjs",
|
|
283
269
|
"check:security": "node scripts/check-security-baseline.mjs",
|
|
@@ -296,14 +282,11 @@
|
|
|
296
282
|
"check:type-coverage": "pnpm exec type-coverage --at-least 99.9",
|
|
297
283
|
"closure:plan": "node scripts/run-gates.mjs --channel pre-commit --emit-inventory docs/guardrails/full-strictness-inventory.json && node scripts/generate-closure-plan.mjs",
|
|
298
284
|
"closure:plan:check": "node scripts/generate-closure-plan.mjs --check",
|
|
299
|
-
"dev": "node scripts/generate-manifest.mjs && node scripts/sync-asset-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/sync-icons.mjs && node scripts/build-tokens.mjs && node scripts/build-roadmap-data.mjs && vite --configLoader native",
|
|
300
285
|
"docs:api": "node scripts/generate-component-api.mjs",
|
|
301
286
|
"docs:changelogs": "node scripts/generate-component-changelogs.mjs",
|
|
302
287
|
"docs:llms": "node scripts/generate-llms-txt.mjs",
|
|
303
288
|
"figma-variables": "node scripts/build-figma-variables.mjs",
|
|
304
289
|
"figma:diff": "node scripts/figma-diff.mjs",
|
|
305
|
-
"figma:snapshot": "node scripts/normalize-figma-snapshot.mjs",
|
|
306
|
-
"figma:stream": "node scripts/llm-stream-bridge.mjs",
|
|
307
290
|
"guardrail:firing-stats": "node scripts/refresh-firing-stats.mjs",
|
|
308
291
|
"harvest:design-md": "node scripts/harvest-design-md.mjs",
|
|
309
292
|
"heal": "node scripts/self-heal.mjs",
|
|
@@ -316,52 +299,38 @@
|
|
|
316
299
|
"llms:generate": "node scripts/generate-llms-txt.mjs",
|
|
317
300
|
"manifest:generate": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs",
|
|
318
301
|
"manifest:project": "node scripts/generate-manifest-projection.mjs",
|
|
319
|
-
"nav:generate": "node scripts/generate-nav-model.mjs",
|
|
320
|
-
"prebuild": "node scripts/validate-manifest.mjs",
|
|
321
302
|
"prebuild:lib": "node scripts/generate-component-api.mjs",
|
|
322
|
-
"pretest": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/check-manifest-schema-semver.mjs && node scripts/audit-component-integrity.mjs --completeness && node scripts/check-source-canon.mjs && node scripts/check-binding-drift.mjs && node scripts/
|
|
303
|
+
"pretest": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/check-manifest-schema-semver.mjs && node scripts/audit-component-integrity.mjs --completeness && node scripts/check-source-canon.mjs && node scripts/check-binding-drift.mjs && node scripts/check-registry.mjs && node scripts/check-tenant-tokens.mjs && knip --no-exit-code",
|
|
323
304
|
"promote": "node scripts/promote.mjs",
|
|
324
|
-
"roadmap:data": "node scripts/build-roadmap-data.mjs && node scripts/verify-roadmap-sync.mjs",
|
|
325
|
-
"roadmap:verify": "node scripts/verify-roadmap-sync.mjs",
|
|
326
|
-
"roadmap:watch": "node scripts/watch-roadmap.mjs",
|
|
327
305
|
"hds:new": "node scripts/scaffold-component.mjs",
|
|
328
306
|
"scaffold:component": "node scripts/scaffold-component.mjs",
|
|
329
307
|
"scaffold:tenant": "node scripts/scaffold-tenant.mjs",
|
|
330
|
-
"sitemap:generate": "node scripts/generate-sitemap.mjs",
|
|
331
308
|
"size-limit": "size-limit --config .size-limit.cjs",
|
|
332
309
|
"smoke:consumer": "node scripts/smoke-consumer.mjs",
|
|
333
310
|
"sync": "node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --forbidden && node scripts/build-handoff.mjs && node scripts/build-design-md.mjs && node scripts/build-figma-variables.mjs",
|
|
334
|
-
"sync:health": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs && node scripts/
|
|
311
|
+
"sync:health": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs && node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --report-only && node scripts/build-design-md.mjs",
|
|
335
312
|
"test": "vitest run --passWithNoTests",
|
|
336
313
|
"test:a11y": "playwright test tests/a11y.spec.ts",
|
|
337
314
|
"test:collision": "playwright test tests/collision.spec.ts",
|
|
338
315
|
"test:compiler": "node -e \"import('./scripts/hds-jsx-compiler.mjs').then(m => console.log(JSON.stringify(m.compile(process.argv[1]), null, 2)))\" --",
|
|
339
316
|
"test:coverage": "vitest run --coverage",
|
|
340
317
|
"test:figma": "npx tsx scripts/figma-sync.ts",
|
|
341
|
-
"test:layout": "
|
|
318
|
+
"test:layout": "playwright test tests/layout-integrity.spec.ts",
|
|
342
319
|
"test:phase1": "node scripts/test-phase1.mjs",
|
|
343
|
-
"test:prompts": "node scripts/test-prompt-regression.mjs",
|
|
344
320
|
"test:responsive": "playwright test tests/responsive.spec.ts",
|
|
345
321
|
"test:visual": "playwright test tests/visual.spec.ts",
|
|
346
322
|
"test:visual:update": "playwright test tests/visual.spec.ts --update-snapshots",
|
|
347
323
|
"test:watch": "vitest",
|
|
348
|
-
"tokens": "node scripts/generate-manifest.mjs && node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --forbidden && node scripts/check-typography-discipline.mjs --overrides-only && node scripts/
|
|
324
|
+
"tokens": "node scripts/generate-manifest.mjs && node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --forbidden && node scripts/check-typography-discipline.mjs --overrides-only && node scripts/build-handoff.mjs && node scripts/build-design-md.mjs && node scripts/generate-llms-txt.mjs",
|
|
349
325
|
"tokens:audit": "node scripts/audit-component-integrity.mjs --tokens",
|
|
350
|
-
"tokens:audit:pages": "node scripts/audit-pages.mjs",
|
|
351
326
|
"tokens:build": "node scripts/build-hds-tokens.mjs",
|
|
352
327
|
"tokens:index": "node scripts/build-token-index.mjs",
|
|
353
328
|
"tokens:verify": "node scripts/build-tokens.mjs && node scripts/verify-tokens.mjs",
|
|
354
329
|
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
355
|
-
"ui:fix": "node scripts/generate-to-figma.mjs --fix",
|
|
356
|
-
"ui:gen": "node scripts/generate-to-figma.mjs",
|
|
357
330
|
"ui:lint": "node scripts/ui-lint.mjs",
|
|
358
|
-
"ui:masters": "node scripts/build-figma-masters.mjs",
|
|
359
331
|
"validate:manifest": "node scripts/validate-manifest.mjs",
|
|
360
332
|
"visual-ingest": "node scripts/visual-ingest.mjs",
|
|
361
333
|
"watch:guardrails": "nodemon --watch CLAUDE.md --watch .cursorrules --watch eslint.config.js --watch .github/workflows -e md,json,js,yml,yaml --exec \"node scripts/audit-guardrails.js\"",
|
|
362
|
-
"watch:metrics": "nodemon --watch src/app/components --watch src/app/pages --watch src/app/design-system --watch src/app/styles -e tsx,ts,css --exec \"node scripts/audit-tokens.mjs --full && node scripts/generate-manifest.mjs\""
|
|
363
|
-
"loop:validate": "node scripts/loop/loop-cli.mjs validate",
|
|
364
|
-
"loop:next": "node scripts/loop/loop-cli.mjs next",
|
|
365
|
-
"loop:status": "node scripts/loop/loop-cli.mjs status"
|
|
334
|
+
"watch:metrics": "nodemon --watch src/app/components --watch src/app/pages --watch src/app/design-system --watch src/app/styles -e tsx,ts,css --exec \"node scripts/audit-tokens.mjs --full && node scripts/generate-manifest.mjs\""
|
|
366
335
|
}
|
|
367
336
|
}
|