Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created December 9, 2022 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/86a7d94a832b432b5139ad28c074df32 to your computer and use it in GitHub Desktop.
Save Integralist/86a7d94a832b432b5139ad28c074df32 to your computer and use it in GitHub Desktop.
[Getting JS module published] #js #javascript #npm #module
  • Run tag="v3.0.0" && git tag -s $tag -m $tag && git push origin $tag
  • Run npm login and follow instructions
  • Run npm publish --dry-run and check there are no errors
  • Run npm publish to publish the module to https://www.npmjs.com/package/fastly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment