-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3252,6 +3252,16 @@ Here's an example of how you would define PR priority so that `devDependencies` | |
} | ||
``` | ||
|
||
### replacementApproach | ||
|
||
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]"`. | ||
|
||
```json | ||
{ | ||
"replacementApproach": "alias" | ||
} | ||
``` | ||
|
||
### replacementName | ||
|
||
This config option only works with some managers. | ||
|
@@ -3341,16 +3351,6 @@ For example to replace the npm package `jade` with version `2.0.0` of the packag | |
} | ||
``` | ||
|
||
### replacementApproach | ||
|
||
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]"`. | ||
|
||
```json | ||
{ | ||
"replacementApproach": "alias" | ||
} | ||
``` | ||
|
||
### sourceDirectory | ||
|
||
Use this field to set the directory in which the package is present at the source of the package. | ||
|