@draftit-ui/bootstrap
v0.0.19
Published
[![Publish to NPM](https://github.com/Visma-Draftit/unified-bootstrap/actions/workflows/publish.yml/badge.svg)](https://github.com/Visma-Draftit/unified-bootstrap/actions/workflows/publish.yml)
Downloads
16
Readme
Unified Boilerplate
Draftit Unified Bootstrap (DUB) is a template that can be used to create a new npm package that we share ammong our products.
plugins
Recommendations: dbaeumer.vscode-eslint
and esbenp.prettier-vscode
.
publish
To be able to publish to npm you need to create a token for the repo and add that as a secret. To do this you have to login to NPMJS as the draftitbot user (can be found in keepass). Then over at the Create Token section we create a new token that is of the typ Automation , since this role does not require an OTP auth to work.
Name the token to something that identifies where it is being used and then head over to Secrets for your repo and the token as a Repo Secret with the name NPM_AUTH_TOKEN
.
Head over to NPM to see the new package.