@sodra/bongo-ui
v5.72.0
Published
Bongo UI Preact X
Downloads
3,302
Readme
Bongo UI
User interface components for web apps built using Preact.
By Södra Kartfabriken – https://sodrakartfabriken.se.
Development
See the root Readme. Test using packages/bongo-ui-test.
Publish to npm
Login to npm.
npm login --scope=@sodra
npm whoami # should print your npm usernameBump the version from the repo root with npm run bump. It updates package.json and
package-lock.json, then commits and creates the tag vX.Y.Z (plain npm version creates
no commit or tag for a workspace package). Publish from packages/bongo-ui.
# Update the version (commit + tag)
npm run bump -- patch # or minor, major, or an exact X.Y.Z
# Publish (prepublishOnly empties dist and builds for you)
cd packages/bongo-ui
npm publish # add --otp=123456 if npm asks for a one-time password
# Push the version commit and its tag to origin
git push --follow-tags originPublish a beta
A beta is published under the beta dist-tag, so npm install @sodra/bongo-ui keeps
getting latest. Always pass --tag beta: without it npm makes the beta latest.
npm run bump -- 5.72.0-beta.0 # next beta: npm run bump -- prerelease --preid beta
cd packages/bongo-ui
npm publish --tag beta --dry-run # check "with tag beta" and the file list
npm publish --tag beta
git push --follow-tags origin
npm view @sodra/bongo-ui dist-tags # { latest: ..., beta: '5.72.0-beta.0' }Install it exactly with npm install @sodra/[email protected] --save-exact. A range
like ^5.71.0 never matches a prerelease. To release it for real, run
npm run bump -- 5.72.0 and npm publish without --tag.
