4 Commits

Author SHA1 Message Date
Doug Parker
70c82a11ae ci: add --registry flag to dist-tag command
This includes a new `--registry` flag to the `dist-tag` command and defaults it to Wombat. This way NPM commands will explicitly use the correct registry.
2020-07-23 10:45:25 +02:00
Doug Parker
07802c9158 ci: update dist-tag to make flags optional.
We can't guarantee that the user provided these options at compile time, so all options should include `undefined` in their types. This makes the type system a little smarter and hopefully prevent future mistakes. Fortunately we were already doing the right thing, this will make sure we continue to do so in the future.

I opted to use `Partial<DistTagArgs>` so that all future flags would be implicitly forced to be optional. Otherwise, we may forget to make them optional and potentially introduce a bug.
2020-07-23 10:45:25 +02:00
Keen Yee Liau
9970beb542 docs: Update doc for major version release 2020-07-09 19:11:25 +02:00
Keen Yee Liau
fb7b1e10db build: Add script for retagging CLI packages 2020-07-09 19:11:25 +02:00