-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- I'd be willing to implement this feature (contributing guide)
- This feature is important to have in this repository; a contrib plugin wouldn't do
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request