This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Create a new branch called `x.y.z-proposal` from the current commit.
1616
1717Use below command to initialize all package directories.
1818
19- ```
19+ ``` bash
2020npm install
2121```
2222
@@ -49,20 +49,31 @@ Merge the PR, and pull the changes locally (using the commands in the first step
4949
5050## Publish all packages
5151
52+ Publish the packages with Wombot (see internal documentation). First, get a
53+ token:
54+
55+ ``` bash
56+ # Run and follow instructions to get a 24h token
57+ npm login --registry https://wombat-dressing-room.appspot.com
58+ ```
59+
5260Go into each directory and use ` npm publish ` to publish the package. You can use the following
53- script to automate this.
61+ script to automate this:
5462
5563``` bash
56- #! /bin/bash
64+ lerna exec --no-bail --no-private -- npm publish --registry https://wombat-dressing-room.appspot.com
65+ ```
5766
58- for dir in $( ls packages ) ; do
59- pushd packages/ $dir
60- npm publish
61- popd
62- done
67+ Verify the new latest version on npm is the released version (this may take a
68+ few minutes to update) with:
69+
70+ ``` bash
71+ lerna exec --no-private -- ' echo -e $(npm show $LERNA_PACKAGE_NAME dist-tags.latest --json) $LERNA_PACKAGE_NAME '
6372```
6473
65- Check your e-mail and make sure the number of “you’ve published this module” emails matches the number you expect.
74+ If any packages are not showing the correct version, try publishing them
75+ individually by cd'ing into the package directory and running `npm publish
76+ --registry https://wombat-dressing-room.appspot.com` .
6677
6778## Publish the GitHub Release
6879
You can’t perform that action at this time.
0 commit comments