diff --git a/docs/workstreams/ALL_OTHER_WORKSTREAMS_REMAINING.md b/docs/workstreams/ALL_OTHER_WORKSTREAMS_REMAINING.md index a44823fe..634328fa 100644 --- a/docs/workstreams/ALL_OTHER_WORKSTREAMS_REMAINING.md +++ b/docs/workstreams/ALL_OTHER_WORKSTREAMS_REMAINING.md @@ -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 diff --git a/package.json b/package.json index ceb732db..fe1dc380 100644 --- a/package.json +++ b/package.json @@ -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"