-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Support updating Yarn binary #11368
Comments
I think this should be a new |
Yes you're right |
Hi there, You're requesting support for a new package manager. We need to know some basic information about this package manager first. Please copy/paste the new package manager questionnaire, and fill it out in full. Once the questionnaire is filled out we will evaluate if adding support for this manager is something we want to do. Good luck, The Renovate team |
New package manager questionnaireDid you read our documentation on adding a package manager?
BasicsName of package manager
What language does this support?Yarn package manager (JavaScript) How popular is this package manager?
from dependabot/dependabot-core#1297. GitHub search shows 6,252 results for YAML with Does this language have other (competing?) package managers?
Package File DetectionWhat type of package files and names does it use?
What fileMatch pattern(s) should be used?
Is it likely that many users would need to extend this pattern for custom file names?
Is the fileMatch pattern likely to get many "false hits" for files that have nothing to do with package management?No. It's almost exclusively used with Yarn Berry. Parsing and ExtractionCan package files have "local" links to each other that need to be resolved?No. Is there a reason why package files need to be parsed together (in serial) instead of independently?No. Only the innermost What format/syntax is the package file in?
How do you suggest parsing the file?
Does the package file structure distinguish between different "types" of dependencies? e.g. production dependencies, dev dependencies, etc?
List all the sources/syntaxes of dependencies that can be extractedyarnPath: .yarn/releases/yarn-3.0.1.cjs Describe which types of dependencies above are supported and which will be implemented in futureThe manager handles only a single dependency, Yarn itself. VersioningWhat versioning scheme does the package file(s) use?Semantic Versioning Does this versioning scheme support range constraints, e.g.
|
This comment has been minimized.
This comment has been minimized.
🎉 This issue has been resolved in version 28.21.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
Update the Yarn (JavaScript package manager) binary to the latest version.
If you have any ideas on how this should be implemented, please tell us here.
The current version can be detected from
.yarnrc.yml
:(However, the version cannot be detected if upgraded from Yarn 1:
In this case, I think it should always run. )
The version data can be fetched from the npm
@yarnpkg/cli
package (npm datasource).It can be updated by running:
Afterwards, following paths should be commited:
Is this a feature you are interested in implementing yourself?
Yes
The text was updated successfully, but these errors were encountered: