Skip to content

Publishing

mhandsteiner edited this page Apr 30, 2025 · 3 revisions

Publishing new Versions to the NPM Repository

In this section I will show you how to publish new versions to the npm repository, so lib user can download them.

Attention! Do not update version numbers manually, the command will update the version automatically!

  1. Make sure you are logged into npm with npm login
  2. No uncommitted changes

Patch Version Updates

To update a patch version of the reactUI from eg. 2.2.3 to 2.2.4 run the command npm run build-patch.

Minor Version Updates

To update a minor version of the reactUI from eg. 2.2.3 to 2.3.0 run the command npm run build-minor.

Major Version Updates

To update a major version of the reactUI from eg. 2.2.3 to 3.0.0 run the command npm run build-major.

After publishing a version make sure to commit the changes after and update the version in the other projects which use the reactUI if wanted

Clone this wiki locally