replacements: support npm aliases #34013
Labels
manager:npm
package.json files (npm/yarn/pnpm)
priority-2-high
Bugs impacting wide number of users or very important features
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 whenreplacementApproach=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]"
.The text was updated successfully, but these errors were encountered: