Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add registry option to publishConfig #6775

@WhiteKiwi

Description

@WhiteKiwi

Describe the user story

I proceeded with the registry migration using nexus group.

I did group legacy-registry and new-registry. 
group-registry is used for reading.
new-registry is used for uploading.

There are currently two ways to solve this issue.
1. modify pnpm registry config just before uploading
2. set publicConfig.registry and using npm

I want to use publishConfig.registry in pnpm because method 2 looks neat.
Currently, I use npm only for publishing.

Describe the solution you'd like

This issue is resolved if pnpm supports publishConfig.registry.

Describe the drawbacks of your solution

Additional work is needed, and I don't think there will be many situations where read repo and write repo are different.

Describe alternatives you've considered

The alternative is described above.

It is written using a translator. Please comment if you don't understand anything.
Thank you for reading.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions