add README: installation/publishing
parent
de370a32ed
commit
3895df69a2
@ -0,0 +1,18 @@
|
||||
# Installation/Publishing
|
||||
|
||||
To install this package:
|
||||
|
||||
```bash
|
||||
yarn config set '@torahanytime:registry' 'https://git.sakal.us/api/packages/brian/npm/'
|
||||
# or use `.yarnrc`: echo '"@torahanytime:registry" "https://git.sakal.us/api/packages/brian/npm/"' >> .yarnrc
|
||||
# or use `.npmrc`: echo '@torahanytime:registry=https://git.sakal.us/api/packages/brian/npm/' >> .npmrc
|
||||
yarn add @sakal/fsm
|
||||
```
|
||||
|
||||
To publish a new version of this package:
|
||||
|
||||
```bash
|
||||
yarn config set -- '//git.sakal.us/api/packages/brian/npm/:_authToken' "${GITEA_AUTH_TOKEN}"
|
||||
yarn login --scope sakal
|
||||
yarn build && yarn publish
|
||||
```
|
Loading…
Reference in New Issue