beacon-sdk 0.0.1
Install from the command line:
Learn more about npm packages
$ npm install @roll20/beacon-sdk@0.0.1
Install via package.json:
"@roll20/beacon-sdk": "0.0.1"
About this version
Examples:
- Right:
^1.0.17-staging.5
- Wrong:
^1.0.17-staging-5
. Notice that the last dash is now the one preceding the number 5. This will break usage of the caret when npm tries to fetch this
To make sure you don't end up violating this convention, see the following guide.
-
Bump the version field in package.json:
- Staging:
- Switch to the staging branch.
make release-staging
- Production:
- Switch to the main branch.
make release
- Staging:
-
Push your changes including any git tags created:
git push git push --tags
-
Trigger the GitHub Action in charge of publishing the new NPM package if needed.
- Staging packages are built and published automatically when tags include the word
staging
. - On production you instead have to explicitly create a release.