npm.io
2.2.38 • Published 2 years ago

@cielo-finance/component-library

Licence
ISC
Version
2.2.38
Deps
7
Size
3.2 MB
Vulns
0
Weekly
0

UniWhales React Component Library

React components to be shared across UniWhales applications

License: ISC ts

Use

Install the package
$ npm i @uniwhales/component-library
Import components
import { Button } from '@uniwhales/component-library';
Develop
To install locally run
$ npm i
After installing all dependencies
$ npm run storybook
To publish

After all changes merge, and build are ready to be publish, change version of package.

major 
0.1.2 -> 1.1.2

minor 
0.0.2 -> 0.1.2

patch 
0.0.1 -> 0.0.2
1. you up the major version when you make incompatible API changes
2. you up the minor version when you add functionality in a backward-compatible manner
3. you up the patch version when you make backward-compatible bug fixes

To publish you need to run:

npm run bl

npm publish

Publishing on develop

When performing any type of change it might be useful to be able to properly test it on frontend.

Publish it first under X.X.X-dev-<issue>-<iteration>

Then install it that version on your branch on cielo-app to test.

Keywords