@hirobius/design-system 0.20.0 → 0.22.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/AGENTS.md +125 -0
- package/CHANGELOG.md +969 -0
- package/CONSUMING.md +27 -11
- package/DESIGN.md +28 -17
- package/MIGRATIONS.md +603 -0
- package/NOTICE.md +1 -1
- package/README.md +39 -5
- package/UPGRADING.md +222 -0
- package/codemods/hds-prefix.mjs +28 -13
- package/codemods/jsx-fold.mjs +28 -13
- package/codemods/lib/atomic-write.mjs +28 -0
- package/codemods/lib/installed-version.mjs +354 -0
- package/codemods/lib/project.mjs +395 -0
- package/codemods/lib/record.mjs +110 -0
- package/codemods/lib/scan.mjs +323 -0
- package/codemods/lib/semver.mjs +57 -0
- package/codemods/not-found-pattern.mjs +3 -3
- package/codemods/patterns-subpath.mjs +28 -12
- package/codemods/registry.mjs +67 -0
- package/codemods/tile-grid.mjs +3 -3
- package/codemods/upgrade.mjs +909 -0
- package/dist/chunks/empty-state-DNoThgfV.js +1227 -0
- package/dist/chunks/form-By82qZcC.js +66 -0
- package/dist/fonts/geist-mono-400.woff2 +0 -0
- package/dist/fonts/satoshi-400.woff2 +0 -0
- package/dist/fonts/satoshi-500.woff2 +0 -0
- package/dist/fonts/satoshi-700.woff2 +0 -0
- package/dist/fonts.css +53 -0
- package/dist/form.js +1 -1
- package/dist/hirobius-ui.js +876 -877
- package/dist/manifest.js +3 -3
- package/dist/patterns.js +189 -170
- package/dist/styles.css +2 -2
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +136 -57
- package/dist/types/src/app/components/alert-dialog.d.ts +5 -0
- package/dist/types/src/app/components/alert.d.ts +1 -1
- package/dist/types/src/app/components/asset-img.d.ts +1 -0
- package/dist/types/src/app/components/avatar-group.d.ts +1 -0
- package/dist/types/src/app/components/avatar.d.ts +1 -1
- package/dist/types/src/app/components/badge.d.ts +2 -2
- package/dist/types/src/app/components/blockquote.d.ts +1 -0
- package/dist/types/src/app/components/breadcrumb.d.ts +1 -1
- package/dist/types/src/app/components/button.d.ts +3 -1
- package/dist/types/src/app/components/callout.d.ts +1 -1
- package/dist/types/src/app/components/card.d.ts +4 -3
- package/dist/types/src/app/components/checkbox.d.ts +1 -1
- package/dist/types/src/app/components/code-block.d.ts +1 -1
- package/dist/types/src/app/components/combobox.d.ts +1 -1
- package/dist/types/src/app/components/data-table-section.d.ts +1 -0
- package/dist/types/src/app/components/destructive-section.d.ts +1 -0
- package/dist/types/src/app/components/dialog.d.ts +2 -1
- package/dist/types/src/app/components/disclosure.d.ts +1 -1
- package/dist/types/src/app/components/divider.d.ts +1 -1
- package/dist/types/src/app/components/empty-state.d.ts +1 -1
- package/dist/types/src/app/components/error-pattern.d.ts +6 -1
- package/dist/types/src/app/components/field.d.ts +1 -1
- package/dist/types/src/app/components/form-actions.d.ts +1 -0
- package/dist/types/src/app/components/form-control.d.ts +10 -0
- package/dist/types/src/app/components/form.d.ts +1 -1
- package/dist/types/src/app/components/grid.d.ts +5 -0
- package/dist/types/src/app/components/hds-tooltip.d.ts +1 -1
- package/dist/types/src/app/components/icon.d.ts +1 -0
- package/dist/types/src/app/components/inline-link.d.ts +1 -1
- package/dist/types/src/app/components/input.d.ts +1 -1
- package/dist/types/src/app/components/kbd.d.ts +1 -0
- package/dist/types/src/app/components/menu.d.ts +1 -1
- package/dist/types/src/app/components/metadata-list.d.ts +1 -0
- package/dist/types/src/app/components/metric-tiles.d.ts +1 -0
- package/dist/types/src/app/components/pagination.d.ts +1 -1
- package/dist/types/src/app/components/popover.d.ts +1 -1
- package/dist/types/src/app/components/progress.d.ts +2 -2
- package/dist/types/src/app/components/radio.d.ts +1 -1
- package/dist/types/src/app/components/select.d.ts +1 -1
- package/dist/types/src/app/components/skeleton.d.ts +2 -2
- package/dist/types/src/app/components/slider.d.ts +1 -1
- package/dist/types/src/app/components/spinner.d.ts +1 -1
- package/dist/types/src/app/components/stat.d.ts +5 -4
- package/dist/types/src/app/components/status-list-item.d.ts +1 -1
- package/dist/types/src/app/components/status-tile.d.ts +4 -3
- package/dist/types/src/app/components/table.d.ts +6 -1
- package/dist/types/src/app/components/tabs.d.ts +1 -1
- package/dist/types/src/app/components/tag.d.ts +1 -1
- package/dist/types/src/app/components/text.d.ts +53 -6
- package/dist/types/src/app/components/textarea.d.ts +1 -1
- package/dist/types/src/app/components/timestamp.d.ts +1 -0
- package/dist/types/src/app/components/toast.d.ts +1 -1
- package/dist/types/src/app/components/toggle.d.ts +1 -1
- package/dist/types/src/app/data/manifest-types.d.ts +4 -0
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +37 -28
- package/dist/types/src/app/design-system/generated-token-values.d.ts +3 -0
- package/dist/types/src/app/design-system/tokens.d.ts +117 -15
- package/dist/types/src/index.d.ts +122 -72
- package/dist/variables.css +41 -33
- package/docs/CONSUMING.md +63 -39
- package/hirobius.tokens.json +163 -112
- package/llms.txt +158 -50
- package/mcp/catalog.mjs +369 -0
- package/mcp/core-set.mjs +66 -0
- package/mcp/guide.mjs +272 -0
- package/mcp/hds-mcp.mjs +49 -0
- package/mcp/server.mjs +94 -0
- package/package.json +53 -11
- package/public/hds-manifest.json +430 -336
- package/public/llms/components.txt +4 -3
- package/public/llms/layout.txt +1 -1
- package/public/llms-full.txt +190 -70
- package/public/llms.txt +158 -50
- package/scripts/eslint-plugin-hds/index.d.mts +29 -0
- package/scripts/eslint-plugin-hds/index.mjs +55 -0
- package/scripts/eslint-plugin-hds/package.json +30 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-controls.mjs +47 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-hex.mjs +70 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-px-spacing.mjs +125 -0
- package/scripts/eslint-plugin-hds/rules/prefer-hds-layout-primitive.mjs +54 -0
- package/scripts/eslint-plugin-hds/rules/sx-token-first.mjs +111 -0
- package/scripts/eslint-plugin-hds/rules/utils.mjs +66 -0
- package/src/app/data/component-api.json +154 -93
- package/upgrade/index.json +208 -0
- package/upgrade/releases/0.17.0.json +962 -0
- package/upgrade/releases/0.18.0.json +8 -0
- package/upgrade/releases/0.19.0.json +233 -0
- package/upgrade/releases/0.19.1.json +8 -0
- package/upgrade/releases/0.20.0.json +5108 -0
- package/upgrade/releases/0.21.0.json +538 -0
- package/upgrade/releases/0.22.0.json +94 -0
- package/upgrade/schema.json +989 -0
- package/dist/chunks/empty-state-BBqhCx0S.js +0 -1217
- package/dist/chunks/form-COP3vK9_.js +0 -66
- package/dist/types/src/app/components/status-dot.d.ts +0 -39
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"author": "Adrian Milsap",
|
|
21
21
|
"license": "SEE LICENSE IN NOTICE.md",
|
|
22
22
|
"private": false,
|
|
23
|
-
"version": "0.
|
|
23
|
+
"version": "0.22.0",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20",
|
|
26
26
|
"pnpm": ">=8"
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"./tokens.css": "./dist/tokens.css",
|
|
41
41
|
"./styles.css": "./dist/styles.css",
|
|
42
|
+
"./fonts.css": "./dist/fonts.css",
|
|
42
43
|
"./variables.css": "./dist/variables.css",
|
|
43
44
|
"./static.css": "./dist/static.css",
|
|
44
45
|
"./tokens": {
|
|
@@ -91,6 +92,10 @@
|
|
|
91
92
|
"import": "./dist/icons.js",
|
|
92
93
|
"default": "./dist/icons.js"
|
|
93
94
|
},
|
|
95
|
+
"./eslint-plugin": {
|
|
96
|
+
"types": "./scripts/eslint-plugin-hds/index.d.mts",
|
|
97
|
+
"default": "./scripts/eslint-plugin-hds/index.mjs"
|
|
98
|
+
},
|
|
94
99
|
"./package.json": "./package.json"
|
|
95
100
|
},
|
|
96
101
|
"files": [
|
|
@@ -105,6 +110,12 @@
|
|
|
105
110
|
"DESIGN.md",
|
|
106
111
|
"CONSUMING.md",
|
|
107
112
|
"docs/CONSUMING.md",
|
|
113
|
+
"UPGRADING.md",
|
|
114
|
+
"MIGRATIONS.md",
|
|
115
|
+
"CHANGELOG.md",
|
|
116
|
+
"upgrade/schema.json",
|
|
117
|
+
"upgrade/index.json",
|
|
118
|
+
"upgrade/releases/",
|
|
108
119
|
"src/app/data/component-api.json",
|
|
109
120
|
"codemods/patterns-subpath.mjs",
|
|
110
121
|
"codemods/patterns-subpath.names.json",
|
|
@@ -113,7 +124,21 @@
|
|
|
113
124
|
"codemods/unrewritable.mjs",
|
|
114
125
|
"codemods/jsx-fold.mjs",
|
|
115
126
|
"codemods/not-found-pattern.mjs",
|
|
116
|
-
"codemods/tile-grid.mjs"
|
|
127
|
+
"codemods/tile-grid.mjs",
|
|
128
|
+
"codemods/upgrade.mjs",
|
|
129
|
+
"codemods/registry.mjs",
|
|
130
|
+
"codemods/lib/atomic-write.mjs",
|
|
131
|
+
"codemods/lib/installed-version.mjs",
|
|
132
|
+
"codemods/lib/project.mjs",
|
|
133
|
+
"codemods/lib/record.mjs",
|
|
134
|
+
"codemods/lib/scan.mjs",
|
|
135
|
+
"codemods/lib/semver.mjs",
|
|
136
|
+
"AGENTS.md",
|
|
137
|
+
"mcp/",
|
|
138
|
+
"scripts/eslint-plugin-hds/index.mjs",
|
|
139
|
+
"scripts/eslint-plugin-hds/index.d.mts",
|
|
140
|
+
"scripts/eslint-plugin-hds/package.json",
|
|
141
|
+
"scripts/eslint-plugin-hds/rules/"
|
|
117
142
|
],
|
|
118
143
|
"publishConfig": {
|
|
119
144
|
"registry": "https://registry.npmjs.org",
|
|
@@ -242,7 +267,10 @@
|
|
|
242
267
|
"hds-patterns-subpath": "codemods/patterns-subpath.mjs",
|
|
243
268
|
"hds-prefix": "codemods/hds-prefix.mjs",
|
|
244
269
|
"hds-not-found-pattern": "codemods/not-found-pattern.mjs",
|
|
245
|
-
"hds-tile-grid": "codemods/tile-grid.mjs"
|
|
270
|
+
"hds-tile-grid": "codemods/tile-grid.mjs",
|
|
271
|
+
"hds-mcp": "mcp/hds-mcp.mjs",
|
|
272
|
+
"design-system": "codemods/upgrade.mjs",
|
|
273
|
+
"hds-upgrade": "codemods/upgrade.mjs"
|
|
246
274
|
},
|
|
247
275
|
"scripts": {
|
|
248
276
|
"_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.",
|
|
@@ -258,13 +286,13 @@
|
|
|
258
286
|
"audit:sidecar": "node scripts/generate-security-posture.mjs",
|
|
259
287
|
"audit:style-dictionary": "bash scripts/poc/style-dictionary-poc/run.sh",
|
|
260
288
|
"build-storybook": "storybook build",
|
|
261
|
-
"build:lib": "vite build -c vite.config.lib.ts && pnpm build:types && node scripts/build-vars-css.mjs && node scripts/
|
|
289
|
+
"build:lib": "vite build -c vite.config.lib.ts && pnpm build:types && node scripts/build-vars-css.mjs && node scripts/build-fonts-css.mjs && node scripts/build-styles-css.mjs && node scripts/build-static-css.mjs",
|
|
262
290
|
"build:types": "tsc -p tsconfig.dts.json && node scripts/strip-dts-side-effects.mjs && node scripts/add-dts-extensions.mjs",
|
|
263
291
|
"catalog": "node scripts/generate-visual-catalog.mjs",
|
|
264
292
|
"changelog:generate": "node scripts/generate-changelog.mjs",
|
|
265
293
|
"changeset": "changeset",
|
|
266
294
|
"changeset:add": "changeset",
|
|
267
|
-
"changeset:version": "changeset version && node scripts/audit-component-integrity.mjs --api --update-baseline",
|
|
295
|
+
"changeset:version": "changeset version && node scripts/upgrade/compile.mjs --release && node scripts/audit-component-integrity.mjs --api --update-baseline",
|
|
268
296
|
"check": "pnpm check:full",
|
|
269
297
|
"check:a11y": "pnpm lint --rule '{\"jsx-a11y/alt-text\":\"error\",\"jsx-a11y/img-redundant-alt\":\"error\"}'",
|
|
270
298
|
"check:attributions": "node scripts/check-attributions.mjs",
|
|
@@ -279,11 +307,13 @@
|
|
|
279
307
|
"check:dimensions": "node scripts/check-dimensions.mjs",
|
|
280
308
|
"check:doc-refs": "node scripts/check-link-integrity.mjs --doc-refs-only",
|
|
281
309
|
"check:docs": "node scripts/audit-component-integrity.mjs --docs && node scripts/check-token-descriptions.mjs --no-missing --quality",
|
|
310
|
+
"check:docs-guardrails": "node scripts/check-docs.mjs",
|
|
282
311
|
"check:exemptions": "node scripts/check-exemptions.mjs",
|
|
283
312
|
"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",
|
|
284
313
|
"check:figma-coverage": "node scripts/check-figma-coverage.mjs",
|
|
285
314
|
"check:figma-drift": "node scripts/check-figma-drift.mjs",
|
|
286
315
|
"check:figma-mapping": "node scripts/check-figma-mapping.mjs",
|
|
316
|
+
"check:figma-retired-keys": "node scripts/check-figma-retired-keys.mjs",
|
|
287
317
|
"check:focus": "node scripts/check-focus-states.mjs",
|
|
288
318
|
"check:font-files": "node scripts/check-typography-discipline.mjs --font-files-only",
|
|
289
319
|
"check:fonts": "node scripts/check-typography-discipline.mjs --fonts-only",
|
|
@@ -317,6 +347,8 @@
|
|
|
317
347
|
"check:spacing": "node scripts/check-hardcoded-spacing.mjs",
|
|
318
348
|
"check:spacing-vocabulary": "node scripts/check-spacing-vocabulary.mjs",
|
|
319
349
|
"check:story-coverage": "node scripts/check-story-coverage.mjs",
|
|
350
|
+
"check:layout-contract": "node scripts/check-layout-contract.mjs",
|
|
351
|
+
"check:spacing-scale": "node scripts/check-tailwind-spacing-scale.mjs",
|
|
320
352
|
"check:storybook-axe": "node scripts/check-storybook-axe.mjs",
|
|
321
353
|
"check:style-props": "node scripts/check-style-discipline.mjs --style-props-only",
|
|
322
354
|
"check:sync-map": "node scripts/check-sync-map.mjs",
|
|
@@ -338,8 +370,12 @@
|
|
|
338
370
|
"closure:plan:check": "node scripts/generate-closure-plan.mjs --check",
|
|
339
371
|
"docs:api": "node scripts/generate-component-api.mjs",
|
|
340
372
|
"docs:changelogs": "node scripts/generate-component-changelogs.mjs",
|
|
373
|
+
"docs:build": "pnpm docs:prepare && pnpm --dir docs-site build",
|
|
374
|
+
"docs:components": "node scripts/generate-docs-components.mjs",
|
|
341
375
|
"docs:component": "node scripts/generate-component-page.mjs",
|
|
376
|
+
"docs:dev": "pnpm docs:prepare && pnpm --dir docs-site dev",
|
|
342
377
|
"docs:llms": "node scripts/generate-llms-txt.mjs",
|
|
378
|
+
"docs:prepare": "pnpm build:lib && pnpm docs:api && pnpm docs:components && pnpm --dir docs-site install --frozen-lockfile",
|
|
343
379
|
"docs:site": "node scripts/generate-component-page.mjs --all --clean",
|
|
344
380
|
"docs:site:inline": "node scripts/generate-component-page.mjs --all --clean --inline",
|
|
345
381
|
"docs:site:shots": "node scripts/generate-component-page.mjs --all --clean --shots",
|
|
@@ -354,7 +390,6 @@
|
|
|
354
390
|
"figma:native-import": "node scripts/build-figma-native-import.mjs",
|
|
355
391
|
"figma:push": "node scripts/figma-push.mjs",
|
|
356
392
|
"figma:snapshot": "node scripts/figma-snapshot.mjs",
|
|
357
|
-
"figma:staging-inventory": "node scripts/generate-staging-inventory.mjs",
|
|
358
393
|
"guardrail:sweep": "node scripts/guardrail-sweep.mjs",
|
|
359
394
|
"harvest:design-md": "node scripts/harvest-design-md.mjs",
|
|
360
395
|
"hds:new": "node scripts/scaffold-component.mjs",
|
|
@@ -363,8 +398,8 @@
|
|
|
363
398
|
"health-commit": "pnpm check:semantic-report && node scripts/print-health-commit.mjs",
|
|
364
399
|
"icons:sync": "node scripts/sync-icons.mjs",
|
|
365
400
|
"knip": "knip",
|
|
366
|
-
"lint": "eslint src scripts validators tests --max-warnings=0",
|
|
367
|
-
"lint:fix": "eslint src scripts validators tests --fix",
|
|
401
|
+
"lint": "eslint src scripts validators tests mcp --max-warnings=0",
|
|
402
|
+
"lint:fix": "eslint src scripts validators tests mcp --fix",
|
|
368
403
|
"llms:generate": "node scripts/generate-llms-txt.mjs",
|
|
369
404
|
"skill:generate": "node scripts/generate-consumer-skill.mjs",
|
|
370
405
|
"check:consumer-skill": "node scripts/generate-consumer-skill.mjs --check",
|
|
@@ -373,7 +408,7 @@
|
|
|
373
408
|
"prebuild-storybook": "node scripts/generate-component-api.mjs",
|
|
374
409
|
"prebuild:lib": "node scripts/generate-component-api.mjs",
|
|
375
410
|
"prestorybook": "node scripts/generate-component-api.mjs",
|
|
376
|
-
"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/audit-component-integrity.mjs --api && 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-
|
|
411
|
+
"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/audit-component-integrity.mjs --api && 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-consumer-skill.mjs --check && node scripts/generate-agents-md.mjs --check && node scripts/check-deprecations.mjs && node scripts/upgrade/schema.mjs --check && node scripts/upgrade/compile.mjs --check && node scripts/check-docs.mjs && node --test scripts/check-docs.selftest.mjs && node scripts/check-upgrade-ledger.mjs",
|
|
377
412
|
"pretypecheck": "node scripts/audit-tokens.mjs --report-only",
|
|
378
413
|
"preview:build": "vite build --config preview/vite.config.mjs",
|
|
379
414
|
"promote": "node scripts/promote.mjs",
|
|
@@ -382,6 +417,9 @@
|
|
|
382
417
|
"scaffold:component": "node scripts/scaffold-component.mjs",
|
|
383
418
|
"scaffold:tenant": "node scripts/scaffold-tenant.mjs",
|
|
384
419
|
"size-limit": "size-limit --config .size-limit.cjs",
|
|
420
|
+
"layout-contract:generate": "node scripts/generate-layout-contract.mjs",
|
|
421
|
+
"status:touch": "node scripts/status-touch.mjs",
|
|
422
|
+
"status:fold": "node scripts/status-fold.mjs",
|
|
385
423
|
"smoke:consumer": "node scripts/smoke-consumer.mjs && node scripts/check-published-types.mjs && node scripts/check-rsc-directives.mjs && node scripts/check-pack-contents.mjs",
|
|
386
424
|
"storybook": "storybook dev -p 6006",
|
|
387
425
|
"storybook:deploy": "node scripts/deploy-storybook.mjs",
|
|
@@ -394,7 +432,7 @@
|
|
|
394
432
|
"test:figma": "npx tsx scripts/figma-sync.ts",
|
|
395
433
|
"test:phase1": "node scripts/test-phase1.mjs",
|
|
396
434
|
"test:watch": "vitest",
|
|
397
|
-
"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/generate-consumer-skill.mjs && node scripts/build-readme-counts.mjs",
|
|
435
|
+
"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/generate-consumer-skill.mjs && node scripts/generate-agents-md.mjs && node scripts/build-readme-counts.mjs",
|
|
398
436
|
"tokens:audit": "node scripts/audit-component-integrity.mjs --tokens",
|
|
399
437
|
"tokens:build": "node scripts/build-hds-tokens.mjs",
|
|
400
438
|
"tokens:index": "node scripts/build-token-index.mjs",
|
|
@@ -406,6 +444,10 @@
|
|
|
406
444
|
"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\"",
|
|
407
445
|
"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\"",
|
|
408
446
|
"consumer:usage": "node scripts/count-consumer-usage.mjs",
|
|
409
|
-
"
|
|
447
|
+
"upgrade:consumers": "node scripts/upgrade/consumers.mjs",
|
|
448
|
+
"codemod:names": "node scripts/build-codemod-pattern-names.mjs",
|
|
449
|
+
"agents:generate": "node scripts/generate-agents-md.mjs",
|
|
450
|
+
"check:agents-md": "node scripts/generate-agents-md.mjs --check",
|
|
451
|
+
"upgrade:note": "node scripts/upgrade/note.mjs"
|
|
410
452
|
}
|
|
411
453
|
}
|