0

I just created my first package and as I wanted to show it on my GitHub profile so I published it to the GitHub package registry.

Now I ran into a problem I can't npm install it without specifying the GitHub registry. Alright just uploaded it to the npm registry as well...

But as I am usually using yarn as package manager I found out yarn apparently has its own registry.

I don't want to publish it on every update to all 3 registries manually... can this be automated? Is there a way to keep the same org and package name across all registries since my npm package already has another org name...

Npm package: https://www.npmjs.com/package/@sebastian.boehler/philipshue GitHub package: https://github.com/SebastianBoehler/philipsHue/pkgs/npm/philipshue

Tho the GitHub package page shows the npm install command without the registry specified, since its auto-generated I thought it should specify it bc otherwise installation fails bc of [package] is not in this registry. error.

Or am I missing something?

0 Answers0