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

PRs that only target package.json file #3184

Closed
Jacob-Kirimi opened this issue Feb 23, 2021 · 1 comment
Closed

PRs that only target package.json file #3184

Jacob-Kirimi opened this issue Feb 23, 2021 · 1 comment
Labels

Comments

@Jacob-Kirimi
Copy link

First of all thank you for the great work.
I do find the documentation especially on Versioning strategy not being clear. Apart from lockfile and auto, the rest are not well explained.
I am intrested currently in raising PRs only when updates affect the package.json file as opposed to the lockfile. I dont know if i missed something and such exists but if not it would be a nice addition.
Is it possible to achieve that?

@jeffwidman
Copy link
Member

Here's the current docs: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy

But it sounds like what you're actually looking for is to limit updates to only the direct deps and not the indirect / transient deps... for that you want the allow config: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#allow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants