@bigbinary/neetoui 4.4.18 → 4.4.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -62,9 +62,27 @@ Running the `yarn storybook` command starts a storybook app. Use this applicatio
62
62
 
63
63
  Note that nothing in the `stories` folder will be bundled with **neetoUI**.
64
64
 
65
- ## Building
66
-
67
- neetoUI gets auto-published to npm on new commit to main. You can checkout the `publish` workflow in git actions to get a live update.
65
+ # Building and releasing.
66
+
67
+ The `@bigbinary/neetoui` package gets published to NPM when we
68
+ merge a PR with `patch`, `minor` or `major` label to the `main` branch. The
69
+ `patch` label is used for bug fixes, `minor` label is used for new features and
70
+ `major` label is used for breaking changes. You can checkout the
71
+ `Create and publish releases` workflow in GitHub Actions to get a live update.
72
+
73
+ In case if you missed to add the label, you can manually publish the package.
74
+ For that first you need to create a PR to update the version number in the
75
+ `package.json` file and merge it to the `main` branch. After merging the PR, you
76
+ need to create a
77
+ [new github release](https://github.com/bigbinary/neeto-ui/releases/new)
78
+ from main branch. Whenever a new release is created with a new version number,
79
+ the github actions will automatically publish the built package to npm. You can
80
+ checkout the `Publish to npm` workflow in GitHub Actions to get a live update.
81
+
82
+ Please note that before publishing the package, you need to verify the
83
+ functionality in some of the neeto web-apps locally using `yalc` package
84
+ manager. The usage of yalc is explained in this video:
85
+ https://youtu.be/QBiYGP0Rhe0
68
86
 
69
87
  ## Documentation
70
88