Skip to content

Commit 053484a

Browse files
committed
reformat renovate.json5
1 parent 3337a4c commit 053484a

File tree

1 file changed

+47
-54
lines changed

1 file changed

+47
-54
lines changed

renovate.json5

Lines changed: 47 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,49 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:base",
5-
// go ahead and update Docker FROM sources, and pin them with a hash
6-
":docker",
7-
"docker:pinDigests",
8-
// update lockfile versions weekly
9-
":maintainLockFilesWeekly",
10-
// keep all dependency versions pinned - except peerDependencies
11-
":pinAllExceptPeerDependencies",
12-
// pin github-actions with a digest, to avoid surprises when they update
13-
"helpers:pinGitHubActionDigests",
14-
// > wait until the npm package is three days old before raising the
15-
// > update. This prevents npm unpublishing a package you already upgraded to.
16-
"npm:unpublishSafe",
17-
// include ts-jest and @types/jest in jestjs grouped updates
18-
"group:jestPlusTSJest",
19-
"group:jestPlusTypes"
20-
],
21-
"packageRules": [
22-
// require manual approval for new minor OR major versions of these packages
23-
{
24-
"matchPackageNames": [
25-
"@types/react-native",
26-
"react-native",
27-
"metro-react-native-babel-preset",
28-
"@types/react-test-renderer",
29-
"react-test-renderer",
30-
"@types/react",
31-
"react"
32-
],
33-
"matchUpdateTypes": ["minor", "major"],
34-
"dependencyDashboardApproval": true
35-
},
36-
// require manual approval for new major versions of these packages
37-
{
38-
"matchPackageNames": [
39-
"react-markdown"
40-
],
41-
"matchUpdateTypes": ["major"],
42-
"dependencyDashboardApproval": true
43-
},
44-
// disable renovate for the app/build.gradle react-native and webkit dependencies
45-
{
46-
"matchPackageNames": ["com.facebook.react:react-native", "org.webkit:android-jsc"],
47-
"enabled": false
48-
},
49-
// stop widening peerDep ranges for custom modules
50-
{
51-
"matchPaths": ["modules/**/package.json"],
52-
"matchDepTypes": ["peerDependencies"],
53-
"rangeStrategy": "bump"
54-
}
55-
]
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:base',
5+
// go ahead and update Docker FROM sources, and pin them with a hash
6+
':docker',
7+
'docker:pinDigests',
8+
// update lockfile versions weekly
9+
':maintainLockFilesWeekly',
10+
// keep all dependency versions pinned - except peerDependencies
11+
':pinAllExceptPeerDependencies',
12+
// pin github-actions with a digest, to avoid surprises when they update
13+
'helpers:pinGitHubActionDigests',
14+
// > wait until the npm package is three days old before raising the
15+
// > update. This prevents npm unpublishing a package you already upgraded to.
16+
'npm:unpublishSafe',
17+
// include ts-jest and @types/jest in jestjs grouped updates
18+
'group:jestPlusTSJest',
19+
'group:jestPlusTypes',
20+
],
21+
packageRules: [
22+
// require manual approval for new minor OR major versions of these packages
23+
{
24+
matchPackageNames: [
25+
'@types/react-native',
26+
'react-native',
27+
'metro-react-native-babel-preset',
28+
'@types/react-test-renderer',
29+
'react-test-renderer',
30+
'@types/react',
31+
'react',
32+
],
33+
matchUpdateTypes: ['minor', 'major'],
34+
dependencyDashboardApproval: true,
35+
},
36+
// require manual approval for new major versions of these packages
37+
{
38+
matchPackageNames: ['react-markdown'],
39+
matchUpdateTypes: ['major'],
40+
dependencyDashboardApproval: true,
41+
},
42+
// stop widening peerDep ranges for custom modules
43+
{
44+
matchPaths: ['modules/**/package.json'],
45+
matchDepTypes: ['peerDependencies'],
46+
rangeStrategy: 'bump',
47+
},
48+
],
5649
}

0 commit comments

Comments
 (0)