How to update my module

If you have uploaded your first module to Marjory, but want to update it with new features or because you found an error, you can do it from the app.

Versioning

Before uploading a new version, you need to update the version variable of the package.json to reflect the update you want to make. We use semantic versioning to keep track of the module evolution.

If you fix a bug in your module that does not add new feature or break existing features, you need to update the Patch number.

If you add new features to your module without breaking existing features, you need to update the Minor number.

If you add new features to your module that breaks existing features, you need to update the Major number.

Deployment

Once you updated your module features and package.json version, you can package everything and go to your module page on the app to click on the Update module button. This will open your file explorer for you to select your zipped module.

If your module is private, the new version will be available for use once the deployment is finished. But if your module is public, a publication request will be submitted after the deployment and your module will be available once Marjory has reviewed it.

Last updated