mirror of
https://github.com/nestjs/nest.git
synced 2026-10-28 09:45:43 +08:00
Renovate's artifact step fails with ERESOLVE on every npm PR, so it opens them with `package.json` updated and `package-lock.json` left behind, drifting the lockfile until `npm ci` breaks. The conflict is the root pinning graphql@17.0.2 against @apollo/cache-control-types, which requires 14.x || 15.x || 16.x. CI already works around this by installing with `npm install --legacy-peer-deps`; this gives Renovate the same setting so its lockfile step resolves the same way CI does. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
12 lines
228 B
JSON
12 lines
228 B
JSON
{
|
|
"extends": ["config:base", ":dependencyDashboard"],
|
|
"labels": ["dependencies"],
|
|
"npmrc": "legacy-peer-deps=true",
|
|
"packageRules": [
|
|
{
|
|
"matchDepTypes": ["devDependencies"],
|
|
"automerge": true
|
|
}
|
|
]
|
|
}
|