Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacements: support npm aliases #34013

Open
rarkins opened this issue Feb 3, 2025 · 0 comments
Open

replacements: support npm aliases #34013

rarkins opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
manager:npm package.json files (npm/yarn/pnpm) priority-2-high Bugs impacting wide number of users or very important features

Comments

@rarkins
Copy link
Collaborator

rarkins commented Feb 3, 2025

Describe the proposed change(s).

Add a new config option replacementApproach, defaulting to "replace" (current behavior), but allowing a value of "alias".

For npm manager when replacementApproach=alias then instead of replacing "foo": "1.2.3" with "@my/foo": "1.2.4" we would instead replace it with "foo": "npm:@my/[email protected]".

@rarkins rarkins added manager:npm package.json files (npm/yarn/pnpm) priority-2-high Bugs impacting wide number of users or very important features labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manager:npm package.json files (npm/yarn/pnpm) priority-2-high Bugs impacting wide number of users or very important features
Projects
None yet
Development

No branches or pull requests

2 participants