chore(tokens): auto-generate design tokens on commit

This commit is contained in:
Saravana Achu Mac 2026-02-14 15:46:20 -08:00
parent 02eb686a8f
commit dcfb774313
2 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,7 @@
- 2026-02-14: Checklist created (`docs/workstreams/*`) in commit `5113b56`
- 2026-02-14: Added Dependabot config (`.github/dependabot.yml`)
- 2026-02-14: Added pre-commit token auto-generation (`lint-staged` for `packages/design-tokens`)
## Prereqs (Local)
@ -74,7 +75,7 @@ Publishing + repo hygiene
- [ ] **7.5** Add `@bytelyst/monitoring` package (health check aggregator)
- [ ] **7.7** Evaluate Python shared package for `cosmos_client.py` + `blob_client.py` if MindLyst adds Python backend
- [ ] **7.8** Integrate `@bytelyst/design-tokens` into LysnrAI dashboards (unified design language)
- [ ] **7.9** Add pre-commit hooks to auto-run token generation when JSON changes
- [x] **7.9** Add pre-commit hooks to auto-run token generation when JSON changes
- [x] **7.10** Set up Renovate/Dependabot for common-plat dependency updates
## Extraction Service — Deferred Items

View File

@ -39,6 +39,10 @@
"zod": "^3.24.0"
},
"lint-staged": {
"packages/design-tokens/tokens/*.json": [
"bash -lc \"pnpm --filter @bytelyst/design-tokens generate\"",
"bash -lc \"git add packages/design-tokens/generated\""
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"