Skip to content

Commit 1d7c51b

Browse files
alan-agius4devversion
authored andcommitted
ci: Use 'replace' rangeStrategy to prevent unintended dependency pinning
The previous 'pin' rangeStrategy caused several issues: * It unexpectedly pinned exact versions of dependencies in the distributed `package.json` files. * It also automatically updated the Node.js version and engine ranges to their latest versions, which was not the desired behavior for our CI/CD pipeline. Switching to the 'replace' strategy resolves these problems, ensuring more predictable and stable dependency management within our CI setup. See: angular#31062
1 parent 6acafed commit 1d7c51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"stopUpdatingLabel": "action: merge",
66
"labels": ["action: review"],
77
"dependencyDashboard": true,
8-
"rangeStrategy": "pin",
8+
"rangeStrategy": "replace",
99
"prHourlyLimit": 3,
1010
"commitBody": "See associated pull request for more information.",
1111
"timezone": "America/Tijuana",

0 commit comments

Comments
 (0)