-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Setting :preserveSemverRanges
or rangeStrategy
together with config:js-app
or config:js-lib
has no effect and is not user-friendly.
#13111
Comments
:preserveSemverRanges
or rangeStrategy
together with config:js-app
or config:js-app
has no effect and is not user-friendly.:preserveSemverRanges
or rangeStrategy
together with config:js-app
or config:js-lib
has no effect and is not user-friendly.
Hi there, Help us by making a minimal reproduction repository. Before we can start work on your issue we first need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction to understand what is needed. We may close the issue if you (or someone else) have not provided a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
this is minimal reproduction repository.
|
|
I was confusing the repository configuration with the BOT configuration. Created |
If you specify printConfig=true in your config.js then it should print out the full config after all presets are resolved. This will probably give us an indication of why the ordering is not happening why you expect. |
This is a feature request, and I don't consider it a bug. Just for the record. |
🎉 This issue has been resolved in version 31.3.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
Problem
config:js-app
andconfig:js-lib
set:pinAllExceptPeerDependencies
and:pinOnlyDevDependencies
respectively, both of which usepackageRules - matchPackagePatterns
.https://docs.renovatebot.com/presets-default/#pinallexceptpeerdependencies
And these will probably override
rangeStrategy
.Thus, if a user (like me) tries to write the configuration they are looking for in a straightforward way, the
rangeStrategy
will not be set as expected.Hope
It would be nice if an explanation were added, or if the
packageRules
written inextends
were overridden by the user-written settings.Remarks
I thought I did a quick test to make sure, but I'm a newbie so I might be doing something wrong. Sorry.
If you have any ideas on how this should be implemented, please tell us here.
It seems that
config:js-*
currently only adds pin settings, so why don't you rename it to something likeconfig:pin-js-*
?Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: