-
-
Notifications
You must be signed in to change notification settings - Fork 97
/
renovate.json5
34 lines (34 loc) · 1.12 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
// Group all minor and patch updates together
'group:allNonMajor',
// Schedule updates to run every weekend
'schedule:weekends',
// Use "chore" type for all commit messages
':semanticCommitTypeAll(chore)',
// Pin all dev dependencies following https://docs.renovatebot.com/dependency-pinning/
':pinDevDependencies',
],
// Don't ignore 'examples' directories
ignorePaths: ['**/node_modules/**'],
packageRules: [
{
// Pin all @storybook/* packages because even minor updates can break things for us
matchPackagePatterns: ['storybook', '@storybook/*'],
groupName: 'storybook packages',
groupSlug: 'storybook',
rangeStrategy: 'pin',
},
{
// Pin all dependencies (for docs and examples) following https://docs.renovatebot.com/dependency-pinning/
matchFileNames: ['docs/package.json', 'examples/**/package.json'],
rangeStrategy: 'pin',
},
],
postUpdateOptions: [
// Run pnpm dedupe after pnpm-lock.yaml updates
'pnpmDedupe',
],
}