-
Notifications
You must be signed in to change notification settings - Fork 4
Publishing
mhandsteiner edited this page Apr 30, 2025
·
3 revisions
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!
- Make sure you are logged into npm with
npm login
- No uncommitted changes
To update a patch version of the reactUI from eg. 2.2.3 to 2.2.4 run the command npm run build-patch
.
To update a minor version of the reactUI from eg. 2.2.3 to 2.3.0 run the command npm run build-minor
.
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