@ferlab-ui React core components
Install
npm i @ferlab/ui
Requirements
Styles are installed separetly
@ferlab/style
Storybook
In order to see and test all available components, you can run
cd ferlab-ui/storybook
npm start
Developper
All work must be done based on master
All styles automatically reference to the @ferlab/styles package
Publish new release
To publish a new release once a PR as been validated and merged
- Try to install the package to make sure everything work corretly
cd [test dir] && npm i [full_path]/ferlab-ui/packages/ui
- Prepare the package
npm run build
- On master Update package.json version
- Create a tag to the new version
git tag [semantic version]
- Login to npm
npm login
- Push the new version
npm publish