Describe the user story
I want to use same names for different implementation of the same feature in my monorepo.
For example, there's @acme/somelib-foo and @acme/somelib-bar and I want to alias it as @acme/somelib in the packages who consumes them. the npm: protocol supports aliasing but sadly workspace: does not.
Describe the solution you'd like
Support aliasing similar to npm: protocol
ex)
"@acme/somelib": "workspace:@acme/somelib-foo@^"
Describe the drawbacks of your solution
Describe alternatives you've considered
I can alias the packages with bundler but handling types with compilerOptions.paths is not a great experience
Describe the user story
I want to use same names for different implementation of the same feature in my monorepo.
For example, there's
@acme/somelib-fooand@acme/somelib-barand I want to alias it as@acme/somelibin the packages who consumes them. thenpm:protocol supports aliasing but sadlyworkspace:does not.Describe the solution you'd like
Support aliasing similar to
npm:protocolex)
Describe the drawbacks of your solution
Describe alternatives you've considered
I can alias the packages with bundler but handling types with compilerOptions.paths is not a great experience