Skip to content

Commit f78b954

Browse files
authored
Merge pull request #6864 from StoDevX/hawken/flipper
2 parents 7f875bb + ae6e1dd commit f78b954

File tree

2 files changed

+51
-55
lines changed

2 files changed

+51
-55
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"ios": "react-native run-ios",
1414
"lint": "eslint --report-unused-disable-directives --cache source/ modules/ scripts/ images/",
1515
"prepare": "patch -p0 -Nfsi contrib/*.patch || true",
16-
"pretty": "prettier --write '{source,modules,scripts,images,e2e}/**/*.{js,ts,tsx,json}' 'data/**/*.css' '{*,.*}.{yaml,yml,json,js,ts,tsx}'",
16+
"pretty": "prettier --write '{source,modules,scripts,images,e2e}/**/*.{js,ts,tsx,json}' 'data/**/*.css' '{*,.*}.{yaml,yml,json,json5,js,ts,tsx}'",
1717
"p": "pretty-quick",
1818
"pods": "scripts/pods.sh",
1919
"start": "react-native start",

renovate.json5

Lines changed: 50 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,52 @@
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+
'com.facebook.flipper:flipper',
33+
'com.facebook.flipper:flipper-fresco-plugin',
34+
'com.facebook.flipper:flipper-network-plugin',
35+
],
36+
matchUpdateTypes: ['minor', 'major'],
37+
dependencyDashboardApproval: true,
38+
},
39+
// require manual approval for new major versions of these packages
40+
{
41+
matchPackageNames: ['react-markdown'],
42+
matchUpdateTypes: ['major'],
43+
dependencyDashboardApproval: true,
44+
},
45+
// stop widening peerDep ranges for custom modules
46+
{
47+
matchPaths: ['modules/**/package.json'],
48+
matchDepTypes: ['peerDependencies'],
49+
rangeStrategy: 'bump',
50+
},
51+
],
5652
}

0 commit comments

Comments
 (0)