Skip to content

Publishing a Javascript Project In NPM & GithubProjects @ The same time #25493

Discussion options

You must be logged in to vote

Should i publish a single package in both package managers ?

You should publish public packages to both GitHub and npm.

Try something like this:

npm publish --registry=https://npm.pkg.github.com
npm publish --registry=https://registry.npmjs.org

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
2 participants