@bigbinary/neeto-rules-frontend 0.0.73 → 0.0.74

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
@@ -409,11 +409,27 @@ yarn install
409
409
 
410
410
  Start the development server using the `yarn start` command. `Port: 8080`
411
411
 
412
- ## Building
413
-
414
- The neetoRulesFrontend package gets auto-published to npm for every new merge to the
415
- main branch. You can checkout the `publish` workflow in git actions to get a
416
- live update.
412
+ # Building and releasing.
413
+
414
+ The `@bigbinary/neeto-rules-frontend` package gets published to NPM when we
415
+ merge a PR with `patch`, `minor` or `major` label to the `main` branch. The
416
+ `patch` label is used for bug fixes, `minor` label is used for new features and
417
+ `major` label is used for breaking changes. You can checkout the
418
+ `Create and publish releases` workflow in GitHub Actions to get a live update.
419
+
420
+ In case if you missed to add the label, you can manually publish the package.
421
+ For that first you need to create a PR to update the version number in the
422
+ `package.json` file and merge it to the `main` branch. After merging the PR, you
423
+ need to create a
424
+ [new github release](https://github.com/bigbinary/neeto-rules-frontend/releases/new)
425
+ from main branch. Whenever a new release is created with a new version number,
426
+ the github actions will automatically publish the built package to npm. You can
427
+ checkout the `Publish to npm` workflow in GitHub Actions to get a live update.
428
+
429
+ Please note that before publishing the package, you need to verify the
430
+ functionality in some of the neeto web-apps locally using `yalc` package
431
+ manager. The usage of yalc is explained in this video:
432
+ https://youtu.be/QBiYGP0Rhe0
417
433
 
418
434
  ## Integrations
419
435