Skip to content

Instantly share code, notes, and snippets.

@sadeghbarati
Forked from zephraph/npm-canary.md
Created June 19, 2022 08:22
Show Gist options
  • Save sadeghbarati/d80e970f3a44c937828d43a69e962e80 to your computer and use it in GitHub Desktop.
Save sadeghbarati/d80e970f3a44c937828d43a69e962e80 to your computer and use it in GitHub Desktop.
Publish a canary package on NPM
  • Update package.json by running yarn version --prerelease --preid=canary
  • Run npm publish --tag canary to publish the package under the canary tag
  • Run yarn add @artsy/reaction@canary to install canary package

Running npm dist-tag ls can be helpful to see what tagged packages are available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment