File tree 1 file changed +14
-2
lines changed
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
206
206
207
207
### Publishing a release
208
208
209
+ ``` sh
210
+ npm login
211
+ ```
212
+
209
213
``` sh
210
214
yarn clean
211
215
yarn install
@@ -216,6 +220,10 @@ yarn run publish --otp <one-time password>
216
220
217
221
#### Publish a ` next ` release
218
222
223
+ ``` sh
224
+ npm login
225
+ ```
226
+
219
227
``` sh
220
228
yarn clean
221
229
yarn install
@@ -226,16 +234,20 @@ npx lerna publish --conventional-commits --dist-tag next --otp <one-time passwor
226
234
227
235
##### Move ` next ` to ` latest `
228
236
237
+ ``` sh
238
+ npm login
239
+ ```
240
+
229
241
Move next to latest:
230
242
231
243
``` 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>'
233
245
```
234
246
235
247
Remove next:
236
248
237
249
``` 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>'
239
251
```
240
252
241
253
[ 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