mirror of
https://github.com/nestjs/nest.git
synced 2026-10-28 09:45:43 +08:00
chore: let renovate resolve the lockfile with legacy peer deps (#17765)
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>
This commit is contained in:
1 parent
bc0fb5606f
commit
2e353fa2a7
1 file changed
+1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": ["config:base", ":dependencyDashboard"],
|
||||
"labels": ["dependencies"],
|
||||
"npmrc": "legacy-peer-deps=true",
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDepTypes": ["devDependencies"],
|
||||
|
||||
Reference in new issue
Block a user