-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config): migrate config renovate.json5
- Loading branch information
1 parent
f6123cf
commit 961a845
Showing
1 changed file
with
29 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,43 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"updatePinnedDependencies": false, | ||
"draftPR": true, | ||
"ignoreDeps": [ | ||
// We can't always stick to latest due to infra and compatibility with other plugins | ||
"node" | ||
], | ||
"packageRules": [ | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
updatePinnedDependencies: false, | ||
draftPR: true, | ||
ignoreDeps: ["node"], | ||
packageRules: [ | ||
{ | ||
"depTypeList": ["peerDependencies"], | ||
"enabled": false | ||
matchDepTypes: ["peerDependencies"], | ||
enabled: false, | ||
}, | ||
{ | ||
// Any peerDep or dep within the publishable packages triggers a | ||
// patch release as a _sensible default_. Merger should use their | ||
// discretion to determine whether a major change is more appropriate | ||
"matchPaths": ["packages/**", "draft-packages/**"], | ||
"semanticCommitType": "fix", | ||
"matchDepTypes": ["peerDependencies", "dependencies"] | ||
matchFileNames: ["packages/**", "draft-packages/**"], | ||
semanticCommitType: "fix", | ||
matchDepTypes: ["peerDependencies", "dependencies"], | ||
}, | ||
{ | ||
"groupName": "react-aria", | ||
"matchPackagePrefixes": [ | ||
"@react-aria/", | ||
"@react-stately/", | ||
"@internationalized/", | ||
"@react-types/shared", | ||
"react-aria", | ||
"react-aria-components", | ||
] | ||
groupName: "react-aria", | ||
matchPackageNames: [ | ||
"@react-aria/{/,}**", | ||
"@react-stately/{/,}**", | ||
"@internationalized/{/,}**", | ||
"@react-types/shared{/,}**", | ||
"react-aria{/,}**", | ||
"react-aria-components{/,}**", | ||
], | ||
}, | ||
{ | ||
"groupName": "prosemirror", | ||
"matchPackagePrefixes": [ | ||
"prosemirror" | ||
] | ||
groupName: "prosemirror", | ||
matchPackageNames: ["prosemirror{/,}**"], | ||
}, | ||
{ | ||
"groupName": "rollup", | ||
"matchPackagePatterns": [ | ||
"@rollup", | ||
"rollup" | ||
] | ||
groupName: "rollup", | ||
matchPackageNames: ["/@rollup/", "/rollup/"], | ||
}, | ||
{ | ||
"groupName": "cultureamp/i18n", | ||
"matchPackageNames": [ | ||
groupName: "cultureamp/i18n", | ||
matchPackageNames: [ | ||
"@cultureamp/i18n-react-intl", | ||
// Peer dependency of i18n-react-intl | ||
"@cultureamp/frontend-apis" | ||
] | ||
} | ||
] | ||
"@cultureamp/frontend-apis", | ||
], | ||
}, | ||
], | ||
} |