Monorepo containing design definitions and UI components for Kiva's style guide.
npm install -g lerna
lerna create @kiva/kv-package-name
Note: The Node.js versions used while linking must match!!!
- In this repo's root, link the specific workspace you're working with
npm link -w @kiva/kv-components
-or-
npm link -w @kiva/kv-shop
- In your web application repo's root, pull in the link
npm link @kiva/kv-components
-or-
npm link @kiva/kv-shop
- Make changes to your active workspace/package locally, run npm build and changes should be reflected in your application
To bring your web application back to it's normal state, we need to unlink the package so it continues to install from npm instead of your local machine. The --no-save
flag will ensure you don't remove this package completely.
npm unlink --no-save @kiva/kv-components
-or-
npm unlink --no-save @kiva/kv-shop
The Kiva UI project is bound by a Code of Conduct.
Kiva welcomes outside contributions to our UI repository. If you have any ideas for a feature or improvement, create an issue and we can discuss whether it makes sense to create a pull request. Thanks for the help!