Note: This doc is mainly useful for the Tasit team to publish new versions of Tasit, not for a team using Tasit.
Create a publish issue on GitHub (with the desired new version number in the name).
Create a new branch (e.g.
feature/publish-1-2-3) from an updated
npm run publishscript
This script will clean packages, install dependencies, compile and test all packages. If all these steps run without error, the
lerna publishroutine will be called and a prompt will be shown:
- After the selection of the correct option, the packages that are about to have new versions published are listed:
If that's correct, press
yto publish the packages.
During the publishing process, Lerna will update the
package.jsonfiles with the new version and push changes to the GitHub repository (and to npm, of course).
If that was successful, create a new PR that auto-closes the issue created in step 1.
Sometimes during the
lerna bootstrap process, the file
package-lock.json can be changed, and that will make
lerna publish abort. Publishing will only be done if there are no unstaged files in the
git repo. To solve that, commit the file and run the
publish script again.
Go back to the home page of the docs.