NPM publish test
For testing npm publish to Npmjs registry.
Publishing
Publish package:
npm publish
Publish a scoped package for the first time:
npm publish --access public
Publish package and point foo
tag to it (note: this will not update the
default latest
tag.):
npm publish --tag foo
List published versions for package:
npm view @szenadam/npm-publish-test versions --json
NPM Tagging
Create/Modify foo
tag to point to x.y.z
package version:
npm dist-tag add @szenadam/npm-publish-test@x.y.z foo
Remove foo
tag:
npm dist-tag rm @szenadam/npm-publish-test foo