NPM directory - @cling-se/widget
- Authenticated to NPM
- Publishing rights to
@cling-se/widget
Bumping the version
- Stand on
dev/master
. Usingdev
is fine as long as the branch is stable. - Navigate to
widget/package.json
and change version according to semantic versioning (see table below) - Commit and push version change to
dev/master
- Commit message:
chore(widget): bumps version to <version>
- Commit message:
Publishing
-
Navigate to root and run "pnpm widget:publish"
- If this step doesn't work due to windows paths or similar, and you're working directly in widget directory:
pnpm build
pnpm publish
- If this step doesn't work due to windows paths or similar, and you're working directly in widget directory:
-
If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
-
Post a message in #cling-release-notes channel:
New Cling Widget published <npmVersion> - Specify your changes in a bullet list
Semantic versioning definitions
Version | Description |
---|---|
MAJOR | When you make incompatible API changes. At the time of writing we only change this if we plan on long term maintainance of a version |
MINOR | When you add functionality in a backwards compatible manner. |
PATCH | When you make backwards compatible bug fixes. |