This project is hosted on NPM. You can see it here.
Releasing the project requires these steps:
-
Remove the private attribute from the package.json. The private attribute has been set to true in order to prevent accidental publication.
-
Verify that the version number in the package.json is correct.
- If the package is new, confirm that the version is
0.0.0
. - If the package has been published before, confirm that the version matches the latest released version. The release script will update the version.
- If the package is new, confirm that the version is
-
Login to npm. You must have the credentials to the
cerner
account.npm login
- Make sure to use thecerner
account.npm whoami
- This should returncerner
.
-
Execute a release script. Make sure to follow semantic versioning.
Each package should have the following scripts:
npm run release:major
x.0.0npm run release:minor
0.x.0npm run release:patch
0.0.x
Each of these scripts will:
- Compile
src
tolib
. - Update the version in package.json.
- Add the commit message "Released version X.X.X".
- Publish the package to npmjs
- Push the changes to GitHub.
For more information, the release script can be found here.
If a major release is being done, be sure to update the version for all dependents.