fix: apply ui: prefix to all packages/ui components and automate it

This commit is contained in:
Rotimi Best
2026-06-11 23:18:40 +01:00
parent 89e44d4fab
commit 899a9f2b51
73 changed files with 541 additions and 228 deletions
+6
View File
@@ -9,3 +9,9 @@ pre-commit:
fail_text: |
❌ Prettier formatting check failed!
Please run 'pnpm format:changed' or 'pnpm format' to fix formatting issues and try again.
ui-prefix:
glob: 'packages/ui/src/**/*.{svelte,ts,tsx,js,jsx}'
run: pnpm --filter @cio/ui prefix:check:staged
fail_text: |
❌ packages/ui Tailwind classes must use the ui: prefix.
Run 'pnpm --filter @cio/ui prefix' to fix staged UI files, then commit again.