@kale-stew/ui
v0.1.0
Published
A component library for @kale-stew website usage
Downloads
4
Readme
@kale-stew's Component Library
a.k.a. @kale-stew/ui
or kale-ui
This is an experiment in publishing and maintaining a component library for my own usage!
- [x] Add
Footer
- [x] Add
Header
- [ ] Add
headshot.png
- [ ] Add storybook tests
- [x] First publish
- [ ] Eventually: automate publish on merge w/ CI
- [ ] Eventually: Publish interactive storybook via gh-pages
Usage
# Install the package
$ yarn add @kale-stew/ui
// No props necessary!
<KaleHeader />
<KaleFooter />
Development
Testing changes to the library
# Start the example server
$ yarn run dev
# Navigate to localhost:3000
Releasing the library
# Before release
$ yarn run test
$ yarn run check-ci
# Version & publish an update to npm
$ npm version [patch|minor|major|<version>]
$ npm publish
$ git push && git push --tags