Skip to content

Commit

Permalink
chore: Add constraints to renovate (#37047)
Browse files Browse the repository at this point in the history
initial
  • Loading branch information
LekoArts committed Nov 16, 2022
1 parent f94db78 commit aca64b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 7 additions & 3 deletions renovate.json5
Expand Up @@ -29498,7 +29498,6 @@
"@pmmmwh/react-refresh-webpack-plugin",
"axios",
"cookie",
"express-graphql",
"json-loader",
"memoizee",
"opentracing",
Expand Down Expand Up @@ -29557,7 +29556,6 @@
"@pmmmwh/react-refresh-webpack-plugin",
"axios",
"cookie",
"express-graphql",
"json-loader",
"memoizee",
"opentracing",
Expand Down Expand Up @@ -29603,5 +29601,11 @@
"commitMessageSuffix": "{{#unless groupName}} for gatsby{{/unless}}",
"dependencyDashboardApproval": true
}
]
],
"force": {
"constraints": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
}
}
}
6 changes: 6 additions & 0 deletions scripts/renovate-config-generator.js
Expand Up @@ -386,6 +386,12 @@ const renovateConfig = {
packageRules: defaultPackageRules.concat(
Array.from(packageRules.values()).flat()
),
force: {
constraints: {
node: `>=18.0.0`,
npm: `>=8.0.0`,
},
},
}

fs.writeJSONSync(path.join(ROOT_DIR, `renovate.json5`), renovateConfig, {
Expand Down

0 comments on commit aca64b7

Please sign in to comment.