@cakemail-org/ui-components-v2
v2.2.54
Published
ui library kit made with material UI
Keywords
Readme
ui-componentsv2
UI component library built with Material UI.
Local Development with Yalc
Setup
Install yalc globally (one-time):
npm install -g yalcPublish to local yalc store:
yalc publishIn your consuming app, add the package:
yalc add @cakemail-org/ui-components-v2
Development Workflow
Watch mode (automatically rebuilds and pushes on changes):
npm run devShould output something like
Pushing @cakemail-org/[email protected] in /Users/<YourUser>//salar/nextGenApp-salar/app
Occasionally, if you run into breaking changes with scss imports you may need restart the npm run dev in ui-components-v2 and re-add the dependencey in the other project
```bash
) ✗ yalc add @cakemail-org/[email protected] **Manual build**:
```bash
npm run buildBoth commands automatically push to yalc after building.
Cleanup
Remove yalc link from consuming app:
yalc remove @cakemail-org/ui-components-v2
npm installScripts
npm run build- Build packagenpm run dev- Watch mode with auto-push to yalcnpm run storybook- Run Storybooknpm test- Run tests
Notes
- Yalc is 100% local, nothing publishes to npm
- Add
.yalcandyalc.lockto.gitignorein consuming apps
