uirules
v0.0.4
Published
CLI tool to generate UI guidelines from your design system
Downloads
14
Maintainers
Readme
UIRules CLI
CLI tool to generate UI guidelines from your design system.
Installation
npm install -g uirulesUsage
npx uirules generateLocal Development
Testing locally with npm link
- Build the CLI:
cd apps/cli
bun run build- Create a global symlink:
npm link- In another project, link the package:
cd /path/to/your-project
npm link uirules- Now you can run the CLI:
npx uirules generateUnlinking
When done testing, remove the symlinks:
# In the test project
npm unlink uirules
# In the CLI directory
npm unlinkDevelopment mode
For active development with auto-reload:
cd apps/cli
bun run devOr run directly without building:
bun run src/app.ts generate