@bigbinary/neeto-site-blocks 0.6.0 → 0.6.1

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
@@ -125,8 +125,24 @@ yarn start
125
125
 
126
126
  This will open up a playground for building the different blocks.
127
127
 
128
- ## Building
129
-
130
- The `neeto-site-blocks` package gets auto-published to npm for every new merge to the
131
- main branch. You can checkout the `publish` workflow in git actions to get a
132
- live update.
128
+ # Building and releasing.
129
+
130
+ The `@bigbinary/neeto-site-blocks` package gets published to NPM when we
131
+ merge a PR with `patch`, `minor` or `major` label to the `main` branch. The
132
+ `patch` label is used for bug fixes, `minor` label is used for new features and
133
+ `major` label is used for breaking changes. You can checkout the
134
+ `Create and publish releases` workflow in GitHub Actions to get a live update.
135
+
136
+ In case if you missed to add the label, you can manually publish the package.
137
+ For that first you need to create a PR to update the version number in the
138
+ `package.json` file and merge it to the `main` branch. After merging the PR, you
139
+ need to create a
140
+ [new github release](https://github.com/bigbinary/neeto-site-blocks/releases/new)
141
+ from main branch. Whenever a new release is created with a new version number,
142
+ the github actions will automatically publish the built package to npm. You can
143
+ checkout the `Publish to npm` workflow in GitHub Actions to get a live update.
144
+
145
+ Please note that before publishing the package, you need to verify the
146
+ functionality in some of the neeto web-apps locally using `yalc` package
147
+ manager. The usage of yalc is explained in this video:
148
+ https://youtu.be/QBiYGP0Rhe0
@@ -0,0 +1 @@
1
+ module.exports = require("@bigbinary/neeto-commons-frontend/configs/babel.js");