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

feat: replacement support for all managers #17883

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
630bfca
feat: add replacement for auto-replace + tests
t-kulmburg Sep 20, 2022
b6bdfec
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Sep 28, 2022
a1fd2e4
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Oct 17, 2022
2d4767d
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 4, 2022
79365b8
Merge branch 'renovatebot:main' into feat/replacement-part-auto-replace
t-kulmburg Nov 9, 2022
9de3754
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 14, 2022
2a66f57
fix: questions from review
t-kulmburg Nov 14, 2022
9f3360e
Merge branch 'main' into feat/replacement-part-auto-replace
JamieMagee Nov 15, 2022
42bf259
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 16, 2022
9571828
Merge branch 'renovatebot:main' into feat/replacement-part-auto-replace
t-kulmburg Nov 16, 2022
31e83a0
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 17, 2022
ac50103
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 17, 2022
28705d0
fix: requested changes
t-kulmburg Nov 17, 2022
519d26b
fix: use codeBlock for all tests with multiline file
t-kulmburg Nov 17, 2022
b3338ad
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 18, 2022
1c8dc63
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 20, 2022
92ce9a4
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Nov 22, 2022
b708e05
searchIndex suggestion
t-kulmburg Nov 30, 2022
b69fcf2
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 1, 2022
908f3b3
adapt documentation
t-kulmburg Dec 1, 2022
61c2275
requested documentation changes
t-kulmburg Dec 1, 2022
16ec728
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 1, 2022
9a6bf3b
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 5, 2022
7d6115d
Apply suggestions from code review
t-kulmburg Dec 5, 2022
35b9d2d
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 7, 2022
3f1bebd
requested documentation changes
t-kulmburg Dec 15, 2022
bdd2f7d
Merge remote-tracking branch 'origin/feat/replacement-part-auto-repla…
t-kulmburg Dec 15, 2022
7dbdffe
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 15, 2022
0d5ec9b
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 19, 2022
85ca181
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Dec 21, 2022
4f90487
Merge branch 'main' into feat/replacement-part-auto-replace
t-kulmburg Jan 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 16 additions & 4 deletions docs/usage/configuration-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2026,19 +2026,31 @@ Example setting source URL for package "dummy":

### replacementName

This config option only works with the `npm` manager.
This config option only works with some managers.
We're working to support more managers, subscribe to issue [renovatebot/renovate#14149](https://github.com/renovatebot/renovate/issues/14149) to follow our progress.

Use this field to define the name of a replacement package.
Managers which do not support replacement:

- `bazel`
- `git-submodules`
- `gomod`
- `gradle`
- `hermit`
- `homebrew`
- `maven`
- `regex`

Use the `replacementName` config option to set the name of a replacement package.
Must be used with `replacementVersion` (see example below).
You can suggest a new community package rule by editing [the `replacements.ts` file on the Renovate repository](https://github.com/renovatebot/renovate/blob/main/lib/config/presets/internal/replacements.ts) and opening a pull request.

### replacementVersion

This config option only works with the `npm` manager.
This config option only works with some managers.
We're working to support more managers, subscribe to issue [renovatebot/renovate#14149](https://github.com/renovatebot/renovate/issues/14149) to follow our progress.
For a list of managers which do not support replacement read the `replacementName` config option docs.

Use this field to define the version of a replacement package.
Use the `replacementVersion` config option to set the version of a replacement package.
Must be used with `replacementName`.
For example to replace the npm package `jade` with version `2.0.0` of the package `pug`:

Expand Down