@salesgenterp/ui-components
v0.4.533
Published
Made with create-react-library
Readme
In the project directory, you can run:
yarn install
To install the dependencies.
yarn storybook
Runs app in storybook mode where you can view all the components.
Note: import 'antd/dist/antd.css' in storybook component to apply the style.
Update version when push into master:
How to publish package to NPM:
Check latest version here
Add tag to publish commit:
- Add tag to maintain the release version. Run following commands:
- git tag -a
<version-number>9fceb02- example: git tag -a v1.2 9fceb02
- git push origin --tags
- git tag -a
Auto publish:
- Publishing package is automated using github actions.
- Changes pushed/merged into
masterbranch with updated package verison will be automatically published to npm.
Publish manually:
- Run
npm logincommand in your terminal and enter following credentials:
- username
- password
Note: Contact admin for crendentials.
- Update package version in
package.jsonfile. - Run one of the following command to publish the package:
npm publish --access=public
