File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,10 @@ For more information on how to contribute please take a look at our [contributio
206206
207207### Publishing a release
208208
209+ ``` sh
210+ npm login
211+ ```
212+
209213``` sh
210214yarn clean
211215yarn install
@@ -216,6 +220,10 @@ yarn run publish --otp <one-time password>
216220
217221#### Publish a ` next ` release
218222
223+ ``` sh
224+ npm login
225+ ```
226+
219227``` sh
220228yarn clean
221229yarn install
@@ -226,16 +234,20 @@ npx lerna publish --conventional-commits --dist-tag next --otp <one-time passwor
226234
227235##### Move ` next ` to ` latest `
228236
237+ ``` sh
238+ npm login
239+ ```
240+
229241Move next to latest:
230242
231243``` sh
232- npx lerna exec --no-bail --no-private --no-sort --stream -- ' [ -n "$(npm v . dist-tags.next)" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp <one-time password>
244+ npx lerna exec --no-bail --no-private --no-sort --stream -- ' [ -n "$(npm v . dist-tags.next)" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp <one-time password>'
233245```
234246
235247Remove next:
236248
237249``` sh
238- npx lerna exec --no-bail --no-private --no-sort --stream -- ' [ -n " $( npm v . dist-tags.next) " ] && npm dist-tag rm ${LERNA_PACKAGE_NAME} @ $( npm v . dist-tags. next) latest --otp < one-time password>
250+ npx lerna exec --no-bail --no-private --no-sort --stream -- ' [ -n "$(npm v . dist-tags.next)" ] && npm dist-tag rm ${LERNA_PACKAGE_NAME} next --otp <one-time password>'
239251```
240252
241253[ 0 ] : https://img.shields.io/badge/stability-stable-green.svg?style=flat-square
You can’t perform that action at this time.
0 commit comments