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

Configure Renovate to update both Yarn and pnpm lock files #778

Closed
coderabbitai bot opened this issue Jan 20, 2025 · 0 comments
Closed

Configure Renovate to update both Yarn and pnpm lock files #778

coderabbitai bot opened this issue Jan 20, 2025 · 0 comments

Comments

@coderabbitai
Copy link

coderabbitai bot commented Jan 20, 2025

Background

Currently, when dependencies shared between Yarn and pnpm projects are updated, only the Yarn lock file is being updated. This is because the repository uses a mixed package manager setup:

Proposed Changes

Add the following configuration to renovate.json:

{
  "enabledManagers": ["npm", "pnpm"],
  "lockFileMaintenance": {
    "enabled": true,
    "extends": ["group:all"]
  }
}

This will explicitly enable both npm (yarn) and pnpm managers and ensure lock file maintenance is performed for both.

References

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

No branches or pull requests

1 participant