Pegasus is Aftershoot's inbuilt library for using different react components with custom configurations in their Desktop app.
- Get the lastest pull
git pull
- Install all the dependencies
yarn
- Now build it.
yarn build
To publish the library, follow the below steps -
- Push all your changes on the
main
branch. - Update the version in the
package.json
file. - Login to the npm. This step will require you to enter your npm
username
,password
,email
, andOTP
sent to the email.
npm login
- Build with the following the command (Make sure there are no errors during build)
yarn build
- Now run the following command to publish your package to the npm.
npm publish --access=public
- Take the latest pull
git pull
- Run the following command -
yarn storybook