Possible to publish to Github Packages?
See original GitHub issueAffected Packages
CLI publish command
Problem
It appears that the current publish command always assumes the public registry. If there is a way to do this with the current version of changesets
I haven’t been able to figure it out.
Proposed solution
Update publish command to check publishConfig.registry
before publishing to the public registry.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Quickstart for GitHub Packages
Publishing your package · Create a new repository on GitHub, adding the . · Create an index. · Initialize an npm package with...
Read more >Publish Github Package
Github package repository is where you can publish npm, gem, mvn, nuget, gradle, docker packages and is currently now in beta.
Read more >Quickly publish and install a library with GitHub Packages
GitHub Packages allows us to directly host a package we create. This comes with a whole swath of functionalities since it's tied to...
Read more >Publish an npm to GitHub packages
GitHub provides the GitHub Package Registry to publish private npm packages. We can also use it for Docker images and libraries for other ......
Read more >Publishing private npm packages using GitHub Packages
You'll need to generate what is known as a personal access token. This token will allow you to be able to authenticate with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am publishing private packages to GitHub using changesets.
I’ve added this config to the individual package:
Because there are multiple packages published from the one repo, you need the repository key to point back at GitHub (see https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages#publishing-multiple-packages-to-the-same-repository)
Hi @aussiegeek, Possible to share how you were able to publish packages to github using changesets. Everytime I try, it gives the following error:
Snippet from
release.yml
file:Thanks