Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Handle more complex yarn resolutions #12605

Closed
JamieMagee opened this issue Nov 11, 2021 · 0 comments
Closed

Handle more complex yarn resolutions #12605

JamieMagee opened this issue Nov 11, 2021 · 0 comments
Labels
manager:npm package.json files (npm/yarn/pnpm) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality)

Comments

@JamieMagee
Copy link
Contributor

What would you like Renovate to be able to do?

Currently Renovate can handle yarn replacements that are either exact, or are wildcards:

if (parsedContents.resolutions[depName]) {
depKey = depName;
} else if (parsedContents.resolutions[`**/${depName}`]) {
depKey = `**/${depName}`;
}

Renovate should be able to handle resolutions at any level

If you have any ideas on how this should be implemented, please tell us here.

Per #5558 (comment) it may be as simple as

endsWith(`/${upgrade.newName}`)

Is this a feature you are interested in implementing yourself?

Yes

@JamieMagee JamieMagee added type:feature Feature (new functionality) status:requirements Full requirements are not yet known, so implementation should not be started priority-5-triage labels Nov 11, 2021
@HonkingGoose HonkingGoose added manager:npm package.json files (npm/yarn/pnpm) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others and removed priority-5-triage labels Nov 11, 2021
@JamieMagee JamieMagee removed their assignment Aug 9, 2022
@renovatebot renovatebot locked and limited conversation to collaborators Oct 1, 2023
@rarkins rarkins converted this issue into discussion #24917 Oct 1, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
manager:npm package.json files (npm/yarn/pnpm) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants