@hirobius/design-system 0.15.0 → 0.17.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 +26 -70
- package/dist/chunks/LanguageContext-CH_bwzCq.js +83 -0
- package/dist/chunks/TokenDisplayContext-evZi_214.js +18 -0
- package/dist/chunks/activity-feed-C8_e-Btq.js +19955 -0
- package/dist/contexts.js +17 -16
- package/dist/hirobius-ui.js +3590 -21800
- package/dist/manifest.js +11 -11
- package/dist/patterns.js +423 -0
- package/dist/static.css +4 -4
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +74 -35
- package/dist/types/src/app/components/activity-feed.d.ts +6 -4
- package/dist/types/src/app/components/app-shell.d.ts +6 -4
- package/dist/types/src/app/components/asset-img.d.ts +3 -1
- package/dist/types/src/app/components/avatar-group.d.ts +3 -3
- package/dist/types/src/app/components/avatar.d.ts +3 -3
- package/dist/types/src/app/components/badge.d.ts +3 -3
- package/dist/types/src/app/components/blockquote.d.ts +3 -3
- package/dist/types/src/app/components/breadcrumb.d.ts +3 -3
- package/dist/types/src/app/components/button-group.d.ts +3 -3
- package/dist/types/src/app/components/button.d.ts +6 -6
- package/dist/types/src/app/components/calendar.d.ts +3 -1
- package/dist/types/src/app/components/callout.d.ts +4 -4
- package/dist/types/src/app/components/card.d.ts +5 -5
- package/dist/types/src/app/components/carousel.d.ts +6 -4
- package/dist/types/src/app/components/checkbox.d.ts +3 -3
- package/dist/types/src/app/components/cinematic-link.d.ts +7 -1
- package/dist/types/src/app/components/circular-progress.d.ts +3 -3
- package/dist/types/src/app/components/code-block.d.ts +20 -18
- package/dist/types/src/app/components/command-palette.d.ts +9 -9
- package/dist/types/src/app/components/component-instance-matrix.d.ts +8 -2
- package/dist/types/src/app/components/disclosure.d.ts +3 -3
- package/dist/types/src/app/components/divider.d.ts +4 -4
- package/dist/types/src/app/components/doc-link-card.d.ts +6 -4
- package/dist/types/src/app/components/error-pattern.d.ts +3 -1
- package/dist/types/src/app/components/field.d.ts +4 -4
- package/dist/types/src/app/components/file-input.d.ts +7 -5
- package/dist/types/src/app/components/foundation-swatch.d.ts +6 -0
- package/dist/types/src/app/components/hds-tooltip.d.ts +11 -11
- package/dist/types/src/app/components/heading-stack.d.ts +6 -6
- package/dist/types/src/app/components/hover-card.d.ts +1 -1
- package/dist/types/src/app/components/image-lightbox.d.ts +2 -0
- package/dist/types/src/app/components/inline-code.d.ts +3 -3
- package/dist/types/src/app/components/input-group.d.ts +3 -3
- package/dist/types/src/app/components/input.d.ts +5 -5
- package/dist/types/src/app/components/kbd.d.ts +3 -3
- package/dist/types/src/app/components/metadata-list.d.ts +3 -3
- package/dist/types/src/app/components/nav-group.d.ts +3 -3
- package/dist/types/src/app/components/nav-item.d.ts +10 -8
- package/dist/types/src/app/components/overflow-list.d.ts +3 -1
- package/dist/types/src/app/components/page.d.ts +3 -1
- package/dist/types/src/app/components/progress.d.ts +3 -3
- package/dist/types/src/app/components/radio.d.ts +3 -3
- package/dist/types/src/app/components/reveal.d.ts +3 -1
- package/dist/types/src/app/components/segmented-control.d.ts +31 -31
- package/dist/types/src/app/components/select.d.ts +29 -0
- package/dist/types/src/app/components/selectable-card.d.ts +3 -3
- package/dist/types/src/app/components/side-nav.d.ts +6 -4
- package/dist/types/src/app/components/skeleton.d.ts +3 -3
- package/dist/types/src/app/components/sketch.d.ts +6 -0
- package/dist/types/src/app/components/slider.d.ts +3 -3
- package/dist/types/src/app/components/spinner.d.ts +3 -3
- package/dist/types/src/app/components/stacked-card-rail.d.ts +32 -0
- package/dist/types/src/app/components/stat.d.ts +3 -3
- package/dist/types/src/app/components/status-dot.d.ts +4 -4
- package/dist/types/src/app/components/status-list-item.d.ts +3 -3
- package/dist/types/src/app/components/stepper.d.ts +6 -4
- package/dist/types/src/app/components/surface.d.ts +4 -4
- package/dist/types/src/app/components/table.d.ts +22 -11
- package/dist/types/src/app/components/tag.d.ts +4 -4
- package/dist/types/src/app/components/text.d.ts +3 -3
- package/dist/types/src/app/components/textarea.d.ts +4 -4
- package/dist/types/src/app/components/time-input.d.ts +3 -3
- package/dist/types/src/app/components/toast.d.ts +3 -3
- package/dist/types/src/app/components/toggle-button.d.ts +4 -4
- package/dist/types/src/app/components/toggle.d.ts +3 -3
- package/dist/types/src/app/components/token.d.ts +23 -17
- package/dist/types/src/app/components/toolbar.d.ts +1 -1
- package/dist/types/src/app/components/tooltip.d.ts +2 -2
- package/dist/types/src/app/components/top-nav.d.ts +3 -1
- package/dist/types/src/app/components/tree-list.d.ts +3 -1
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +39 -6
- package/dist/types/src/app/design-system/generated-token-values.d.ts +12 -16
- package/dist/types/src/app/design-system/tokens.d.ts +16 -5
- package/dist/types/src/app/layouts/DocLayout.d.ts +0 -2
- package/dist/types/src/app/layouts/HdsDocsShell.d.ts +72 -0
- package/dist/types/src/app/layouts/HdsSystemDocLayout.d.ts +8 -1
- package/dist/types/src/index.d.ts +216 -39
- package/dist/types/src/patterns.d.ts +37 -0
- package/dist/variables.css +100 -28
- package/hirobius.tokens.json +199 -88
- package/package.json +43 -28
- package/public/hds-manifest.json +1916 -601
- package/dist/chunks/TokenDisplayContext-B3gxyQN7.js +0 -96
- /package/dist/types/src/app/components/{lab/tokenUtils.d.ts → tokenUtils.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/hirobius/hds.git"
|
|
19
19
|
},
|
|
20
|
+
"author": "Adrian Milsap",
|
|
20
21
|
"license": "SEE LICENSE IN NOTICE.md",
|
|
21
22
|
"private": false,
|
|
22
|
-
"version": "0.
|
|
23
|
+
"version": "0.17.0",
|
|
23
24
|
"engines": {
|
|
24
25
|
"node": ">=20",
|
|
25
26
|
"pnpm": ">=8"
|
|
@@ -85,6 +86,11 @@
|
|
|
85
86
|
"import": "./dist/scroll.js",
|
|
86
87
|
"default": "./dist/scroll.js"
|
|
87
88
|
},
|
|
89
|
+
"./patterns": {
|
|
90
|
+
"types": "./dist/types/src/patterns.d.ts",
|
|
91
|
+
"import": "./dist/patterns.js",
|
|
92
|
+
"default": "./dist/patterns.js"
|
|
93
|
+
},
|
|
88
94
|
"./package.json": "./package.json"
|
|
89
95
|
},
|
|
90
96
|
"files": [
|
|
@@ -166,6 +172,7 @@
|
|
|
166
172
|
"@tailwindcss/vite": "^4.2.4",
|
|
167
173
|
"@testing-library/dom": "^10.4.0",
|
|
168
174
|
"@testing-library/react": "^16.1.0",
|
|
175
|
+
"@testing-library/user-event": "^14.6.7",
|
|
169
176
|
"@types/react": "^18.3.0",
|
|
170
177
|
"@types/react-dom": "^18.3.0",
|
|
171
178
|
"@types/three": "^0.183.1",
|
|
@@ -227,10 +234,10 @@
|
|
|
227
234
|
},
|
|
228
235
|
"scripts": {
|
|
229
236
|
"_comment:a11y-high-value": "The following check:* validators are high-value accessibility checks that catch real violations (check:focus found 1 missing focus class). Kept dormant/manual-only to avoid pre-commit performance regression. Candidates to wire into pretest after CI stability review.",
|
|
237
|
+
"_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.",
|
|
230
238
|
"_comment:link-integrity": "check:doc-refs and check:routes both validate internal link integrity (different surfaces: doc refs vs route links). Kept dormant/manual-only to prevent pre-commit cascade.",
|
|
231
239
|
"_comment:security-baseline": "check:security validates OWASP baseline patterns. Dormant/manual-only — candidate for integration into security-focused CI lane, not pretest.",
|
|
232
240
|
"_comment:token-integrity": "check:css-values, check:token-structure validate token system correctness. Dormant/manual-only due to overlapping scope with check:fast and existing token validators.",
|
|
233
|
-
"_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.",
|
|
234
241
|
"api:check": "node scripts/audit-component-integrity.mjs --api",
|
|
235
242
|
"api:update": "node scripts/audit-component-integrity.mjs --api --update-baseline",
|
|
236
243
|
"audit:bundle": "node scripts/audit-bundle.mjs",
|
|
@@ -238,6 +245,7 @@
|
|
|
238
245
|
"audit:sbom": "node scripts/audit-sbom.mjs",
|
|
239
246
|
"audit:sidecar": "node scripts/generate-security-posture.mjs",
|
|
240
247
|
"audit:style-dictionary": "bash scripts/poc/style-dictionary-poc/run.sh",
|
|
248
|
+
"build-storybook": "storybook build",
|
|
241
249
|
"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 && node scripts/build-static-css.mjs",
|
|
242
250
|
"build:types": "tsc -p tsconfig.dts.json && node scripts/strip-dts-side-effects.mjs && node scripts/add-dts-extensions.mjs",
|
|
243
251
|
"catalog": "node scripts/generate-visual-catalog.mjs",
|
|
@@ -245,12 +253,6 @@
|
|
|
245
253
|
"changeset": "changeset",
|
|
246
254
|
"changeset:add": "changeset",
|
|
247
255
|
"changeset:version": "changeset version",
|
|
248
|
-
"storybook": "storybook dev -p 6006",
|
|
249
|
-
"build-storybook": "storybook build",
|
|
250
|
-
"storybook:deploy": "node scripts/deploy-storybook.mjs",
|
|
251
|
-
"chromatic": "chromatic --exit-zero-on-changes",
|
|
252
|
-
"readme:counts": "node scripts/build-readme-counts.mjs",
|
|
253
|
-
"release": "pnpm build:lib && pnpm smoke:consumer --skip-build && changeset publish",
|
|
254
256
|
"check": "pnpm check:full",
|
|
255
257
|
"check:a11y": "pnpm lint --rule '{\"jsx-a11y/alt-text\":\"error\",\"jsx-a11y/img-redundant-alt\":\"error\"}'",
|
|
256
258
|
"check:attributions": "node scripts/check-attributions.mjs",
|
|
@@ -265,14 +267,15 @@
|
|
|
265
267
|
"check:doc-refs": "node scripts/check-link-integrity.mjs --doc-refs-only",
|
|
266
268
|
"check:docs": "node scripts/audit-component-integrity.mjs --docs && node scripts/check-token-descriptions.mjs --no-missing --quality",
|
|
267
269
|
"check:exemptions": "node scripts/check-exemptions.mjs",
|
|
268
|
-
"check:figma-mapping": "node scripts/check-figma-mapping.mjs",
|
|
269
270
|
"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",
|
|
271
|
+
"check:figma-coverage": "node scripts/check-figma-coverage.mjs",
|
|
272
|
+
"check:figma-drift": "node scripts/check-figma-drift.mjs",
|
|
273
|
+
"check:figma-mapping": "node scripts/check-figma-mapping.mjs",
|
|
270
274
|
"check:focus": "node scripts/check-focus-states.mjs",
|
|
271
275
|
"check:font-files": "node scripts/check-typography-discipline.mjs --font-files-only",
|
|
272
276
|
"check:fonts": "node scripts/check-typography-discipline.mjs --fonts-only",
|
|
273
277
|
"check:forbidden-overrides": "node scripts/audit-tokens.mjs --forbidden",
|
|
274
278
|
"check:format": "pnpm exec lint-staged",
|
|
275
|
-
"check:figma-drift": "node scripts/check-figma-drift.mjs",
|
|
276
279
|
"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 && node scripts/check-tailwind-token-coverage.mjs",
|
|
277
280
|
"check:ghost-tokens": "node scripts/audit-tokens.mjs --full",
|
|
278
281
|
"check:grids": "node scripts/check-unresponsive-grids.mjs",
|
|
@@ -289,13 +292,21 @@
|
|
|
289
292
|
"check:refs": "node scripts/check-ref-forwarding.mjs",
|
|
290
293
|
"check:registry": "node scripts/check-registry.mjs",
|
|
291
294
|
"check:release": "pnpm check:full && node scripts/check-style-discipline.mjs && pnpm build:lib && pnpm check:size",
|
|
295
|
+
"check:rendered-geometry": "node scripts/check-rendered-geometry.mjs",
|
|
296
|
+
"check:rendered-geometry:update": "node scripts/check-rendered-geometry.mjs --update-baseline",
|
|
292
297
|
"check:routes": "node scripts/check-link-integrity.mjs --route-links-only",
|
|
293
298
|
"check:secrets": "node scripts/check-secrets.mjs",
|
|
294
299
|
"check:security": "node scripts/check-security-baseline.mjs",
|
|
295
300
|
"check:semantic-report": "node scripts/audit-tokens.mjs --report-only",
|
|
296
|
-
"check:size": "pnpm build:lib && size-limit",
|
|
301
|
+
"check:size": "pnpm build:lib && node scripts/build-button-probe.mjs && size-limit",
|
|
297
302
|
"check:spacing": "node scripts/check-hardcoded-spacing.mjs",
|
|
303
|
+
"check:spacing-vocabulary": "node scripts/check-spacing-vocabulary.mjs",
|
|
304
|
+
"check:story-coverage": "node scripts/check-story-coverage.mjs",
|
|
305
|
+
"check:storybook-axe": "node scripts/check-storybook-axe.mjs",
|
|
298
306
|
"check:style-props": "node scripts/check-style-discipline.mjs --style-props-only",
|
|
307
|
+
"check:sync-map": "node scripts/check-sync-map.mjs",
|
|
308
|
+
"check:status-claims": "node scripts/check-status-claims.mjs --check",
|
|
309
|
+
"check:record-freshness": "node scripts/check-record-freshness.mjs",
|
|
299
310
|
"check:tailwind": "pnpm lint --rule '{\"tailwindcss/no-custom-classname\":\"error\"}'",
|
|
300
311
|
"check:tailwind-arbitrary": "pnpm lint --rule '{\"tailwindcss/no-arbitrary-value\":\"error\"}'",
|
|
301
312
|
"check:tailwind-token-coverage": "node scripts/check-tailwind-token-coverage.mjs",
|
|
@@ -306,22 +317,31 @@
|
|
|
306
317
|
"check:token-structure": "node scripts/check-token-structure.mjs",
|
|
307
318
|
"check:tokens": "node scripts/check-hardcoded-colors.mjs && pnpm lint --rule '{\"tailwindcss/no-custom-classname\":\"error\"}' && node scripts/audit-tokens.mjs --forbidden && node scripts/check-tier-bypass.mjs && node scripts/check-hardcoded-spacing.mjs && node scripts/check-typography-discipline.mjs --fonts-only",
|
|
308
319
|
"check:type-coverage": "pnpm exec type-coverage --at-least 99.9",
|
|
320
|
+
"chromatic": "chromatic --exit-zero-on-changes",
|
|
309
321
|
"closure:plan": "node scripts/run-gates.mjs --channel pre-commit --emit-inventory docs/guardrails/full-strictness-inventory.json && node scripts/generate-closure-plan.mjs",
|
|
310
322
|
"closure:plan:check": "node scripts/generate-closure-plan.mjs --check",
|
|
311
323
|
"docs:api": "node scripts/generate-component-api.mjs",
|
|
312
324
|
"docs:changelogs": "node scripts/generate-component-changelogs.mjs",
|
|
325
|
+
"docs:component": "node scripts/generate-component-page.mjs",
|
|
313
326
|
"docs:llms": "node scripts/generate-llms-txt.mjs",
|
|
327
|
+
"docs:site": "node scripts/generate-component-page.mjs --all --clean",
|
|
328
|
+
"docs:site:inline": "node scripts/generate-component-page.mjs --all --clean --inline",
|
|
329
|
+
"docs:site:shots": "node scripts/generate-component-page.mjs --all --clean --shots",
|
|
314
330
|
"figma-variables": "node scripts/build-figma-variables.mjs",
|
|
315
331
|
"figma:connect:check": "node scripts/check-code-connect.mjs",
|
|
316
332
|
"figma:connect:generate": "node scripts/generate-code-connect.mjs",
|
|
317
333
|
"figma:connect:parse": "figma connect parse --exit-on-unreadable-files --skip-update-check",
|
|
318
|
-
"figma:links": "node scripts/figma-links.mjs",
|
|
319
334
|
"figma:disposition": "node scripts/figma-disposition.mjs",
|
|
335
|
+
"figma:inventory": "node scripts/figma-inventory.mjs",
|
|
336
|
+
"figma:links": "node scripts/figma-links.mjs",
|
|
320
337
|
"figma:model": "node scripts/build-figma-model.mjs",
|
|
321
338
|
"figma:native-import": "node scripts/build-figma-native-import.mjs",
|
|
322
339
|
"figma:push": "node scripts/figma-push.mjs",
|
|
323
340
|
"figma:snapshot": "node scripts/figma-snapshot.mjs",
|
|
341
|
+
"figma:staging-inventory": "node scripts/generate-staging-inventory.mjs",
|
|
342
|
+
"guardrail:sweep": "node scripts/guardrail-sweep.mjs",
|
|
324
343
|
"harvest:design-md": "node scripts/harvest-design-md.mjs",
|
|
344
|
+
"hds:new": "node scripts/scaffold-component.mjs",
|
|
325
345
|
"heal": "node scripts/self-heal.mjs",
|
|
326
346
|
"heal:smoke": "node scripts/self-heal.mjs --smoke",
|
|
327
347
|
"health-commit": "pnpm check:semantic-report && node scripts/print-health-commit.mjs",
|
|
@@ -332,27 +352,29 @@
|
|
|
332
352
|
"llms:generate": "node scripts/generate-llms-txt.mjs",
|
|
333
353
|
"manifest:generate": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs",
|
|
334
354
|
"manifest:project": "node scripts/generate-manifest-projection.mjs",
|
|
355
|
+
"prebuild-storybook": "node scripts/generate-component-api.mjs",
|
|
335
356
|
"prebuild:lib": "node scripts/generate-component-api.mjs",
|
|
336
|
-
"
|
|
357
|
+
"prestorybook": "node scripts/generate-component-api.mjs",
|
|
358
|
+
"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 && node scripts/check-props-exports.mjs && knip --no-exit-code && node scripts/check-dark-alias-flip.mjs && node scripts/check-focus-states.mjs && node scripts/generate-staging-inventory.mjs --check",
|
|
359
|
+
"pretypecheck": "node scripts/audit-tokens.mjs --report-only",
|
|
360
|
+
"preview:build": "vite build --config preview/vite.config.mjs",
|
|
337
361
|
"promote": "node scripts/promote.mjs",
|
|
338
|
-
"
|
|
362
|
+
"readme:counts": "node scripts/build-readme-counts.mjs",
|
|
363
|
+
"release": "pnpm build:lib && pnpm smoke:consumer --skip-build && changeset publish",
|
|
339
364
|
"scaffold:component": "node scripts/scaffold-component.mjs",
|
|
340
365
|
"scaffold:tenant": "node scripts/scaffold-tenant.mjs",
|
|
341
366
|
"size-limit": "size-limit --config .size-limit.cjs",
|
|
342
367
|
"smoke:consumer": "node scripts/smoke-consumer.mjs && node scripts/check-published-types.mjs && node scripts/check-rsc-directives.mjs",
|
|
368
|
+
"storybook": "storybook dev -p 6006",
|
|
369
|
+
"storybook:deploy": "node scripts/deploy-storybook.mjs",
|
|
343
370
|
"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",
|
|
371
|
+
"sync-map": "node scripts/check-sync-map.mjs --gaps",
|
|
344
372
|
"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",
|
|
345
373
|
"test": "vitest run --passWithNoTests",
|
|
346
|
-
"test:a11y": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
347
|
-
"test:collision": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
348
374
|
"test:compiler": "node -e \"import('./scripts/hds-jsx-compiler.mjs').then(m => console.log(JSON.stringify(m.compile(process.argv[1]), null, 2)))\" --",
|
|
349
375
|
"test:coverage": "vitest run --coverage",
|
|
350
376
|
"test:figma": "npx tsx scripts/figma-sync.ts",
|
|
351
|
-
"test:layout": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
352
377
|
"test:phase1": "node scripts/test-phase1.mjs",
|
|
353
|
-
"test:responsive": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
354
|
-
"test:visual": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
355
|
-
"test:visual:update": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
356
378
|
"test:watch": "vitest",
|
|
357
379
|
"tokens": "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 --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 && node scripts/build-readme-counts.mjs",
|
|
358
380
|
"tokens:audit": "node scripts/audit-component-integrity.mjs --tokens",
|
|
@@ -364,13 +386,6 @@
|
|
|
364
386
|
"validate:manifest": "node scripts/validate-manifest.mjs",
|
|
365
387
|
"visual-ingest": "node scripts/visual-ingest.mjs",
|
|
366
388
|
"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\"",
|
|
367
|
-
"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\""
|
|
368
|
-
"prebuild-storybook": "node scripts/generate-component-api.mjs",
|
|
369
|
-
"prestorybook": "node scripts/generate-component-api.mjs",
|
|
370
|
-
"pretypecheck": "node scripts/audit-tokens.mjs --report-only",
|
|
371
|
-
"preview:build": "vite build --config preview/vite.config.mjs",
|
|
372
|
-
"figma:inventory": "node scripts/figma-inventory.mjs",
|
|
373
|
-
"check:figma-coverage": "node scripts/check-figma-coverage.mjs",
|
|
374
|
-
"guardrail:sweep": "node scripts/guardrail-sweep.mjs"
|
|
389
|
+
"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\""
|
|
375
390
|
}
|
|
376
391
|
}
|