Skip to content

Is there a sample for publishing to github? #74

Answered by mpetuska
RLD-JL asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, GitHub registry has some restrictions on npm package naming. In short, they need to be scoped to your username (so for me that would be @mpetuska/package-name). You can achieve this via scope.set() dsl.

More details here: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#publishing-a-package

P.S. You don't need to set the uri when using gitHub registry shortcut.

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@mpetuska
Comment options

@mpetuska
Comment options

@RLD-JL
Comment options

@mpetuska
Comment options

@mpetuska
Comment options

Answer selected by RLD-JL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants