Skip to content

Publishing

maximilianweidenauer edited this page Feb 16, 2024 · 1 revision

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.

  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