2022-07-01 18:41:12 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2022-09-16 03:38:55 +03:00
|
|
|
"extends": [
|
2023-12-21 12:46:18 +03:00
|
|
|
"github>microsoft/m365-renovate-config:beachball",
|
2022-09-16 03:38:55 +03:00
|
|
|
"github>microsoft/m365-renovate-config:disableEsmVersions",
|
|
|
|
"github>microsoft/m365-renovate-config:groupMore",
|
|
|
|
"github>microsoft/m365-renovate-config:groupTypes",
|
|
|
|
"github>microsoft/m365-renovate-config:keepFresh",
|
|
|
|
"github>microsoft/m365-renovate-config:restrictNode(14)"
|
|
|
|
],
|
|
|
|
|
|
|
|
"labels": ["renovate"],
|
|
|
|
|
|
|
|
"prHourlyLimit": 5,
|
|
|
|
|
2023-12-21 09:46:05 +03:00
|
|
|
"semanticCommits": "disabled",
|
|
|
|
|
2022-11-11 08:50:34 +03:00
|
|
|
"ignorePaths": [
|
|
|
|
"**/node_modules/**",
|
|
|
|
// incorrect manager is being used for fixtures, and most of them don't have real deps anyway
|
|
|
|
"**/__fixtures__/**"
|
|
|
|
],
|
|
|
|
|
2022-09-17 05:36:55 +03:00
|
|
|
"regexManagers": [
|
|
|
|
{
|
|
|
|
"fileMatch": ["^package.json$"],
|
2023-12-21 12:46:18 +03:00
|
|
|
"matchStrings": ["lage-npm\": \"lage@(?<currentValue>[~^]?\\d+\\.\\d+\\.\\d+)"],
|
2022-09-17 05:36:55 +03:00
|
|
|
"depNameTemplate": "lage-npm",
|
2023-02-15 19:54:28 +03:00
|
|
|
"packageNameTemplate": "lage",
|
2022-09-17 05:36:55 +03:00
|
|
|
"datasourceTemplate": "npm",
|
|
|
|
"depTypeTemplate": "devDependencies"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
|
2022-07-01 18:41:12 +03:00
|
|
|
"packageRules": [
|
|
|
|
{
|
|
|
|
"groupName": "Docusaurus deps",
|
2022-09-17 05:36:55 +03:00
|
|
|
"matchPackagePrefixes": ["docusaurus", "@docusaurus/*"]
|
2022-07-01 18:41:12 +03:00
|
|
|
},
|
|
|
|
{
|
2023-12-21 12:46:18 +03:00
|
|
|
// Automatically pick up backfill and workspace-tools updates
|
2022-09-17 05:36:55 +03:00
|
|
|
"matchPackagePrefixes": ["backfill-"],
|
2023-12-21 12:46:18 +03:00
|
|
|
"matchPackageNames": ["backfill", "workspace-tools"],
|
2022-09-17 02:47:47 +03:00
|
|
|
"matchUpdateTypes": ["major", "minor", "patch", "bump"],
|
|
|
|
"dependencyDashboardApproval": false
|
2022-09-20 05:24:33 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
// Don't try to pin or otherwise modify in-repo deps
|
|
|
|
"matchPackagePrefixes": ["@lage-run/"],
|
|
|
|
"enabled": false
|
2023-12-21 12:46:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
// lage bundles its dependencies, so any updates should to dependencies should be explicit
|
|
|
|
// so that they trigger a new lage version (with proper documentation of included updates).
|
|
|
|
// The standard approach of using ^ dependencies and allowing implicit updates via the lock file
|
|
|
|
// (which with a published bundle, are guaranteed to affect consumers) makes it very hard to
|
|
|
|
// track when an issue was introduced if it's discovered in another repo.
|
|
|
|
"rangeStrategy": "pin",
|
|
|
|
"matchFileNames": ["packages/**"], // ignore this for docs, scripts, root
|
|
|
|
"matchDepTypes": ["dependencies"],
|
|
|
|
// lage packages aren't an issue since they're within the repo and the latest version is always used
|
|
|
|
"excludePackagePrefixes": ["@lage-run/"],
|
|
|
|
// this is a runtime dependency of lage since it publishes binaries
|
|
|
|
"excludePackageNames": ["glob-hasher"]
|
2022-09-16 03:38:55 +03:00
|
|
|
}
|
2022-07-01 18:41:12 +03:00
|
|
|
]
|
2023-12-21 09:46:05 +03:00
|
|
|
}
|