Skip to content

Commit 2c45db2

Browse files
authored
chore(deps): bump all build dependencies (#646)
1 parent 58f5f0e commit 2c45db2

File tree

3 files changed

+3953
-4799
lines changed

3 files changed

+3953
-4799
lines changed

metro.config.windows.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ const path = require('path');
99
const blacklist = require('metro-config/src/defaults/blacklist');
1010

1111
const rnPath = fs.realpathSync(
12-
path.dirname(require.resolve('react-native/package.json'))
12+
path.dirname(require.resolve('react-native/package.json')),
1313
);
1414
const rnwPath = fs.realpathSync(
15-
path.dirname(require.resolve('react-native-windows/package.json'))
15+
path.dirname(require.resolve('react-native-windows/package.json')),
1616
);
1717

1818
module.exports = {
@@ -30,12 +30,14 @@ module.exports = {
3030
// This should go in RN 0.61 when haste is removed
3131
blacklistRE: blacklist([
3232
new RegExp(
33-
`${(path.resolve(rnPath) + path.sep).replace(/[/\\]/g, '/')}.*`
33+
`${(path.resolve(rnPath) + path.sep).replace(/[/\\]/g, '/')}.*`,
3434
),
3535

3636
// This stops "react-native run-windows" from causing the metro server to crash if its already running
3737
new RegExp(
38-
`${path.resolve(__dirname, 'example', 'windows').replace(/[/\\]/g, '/')}.*`
38+
`${path
39+
.resolve(__dirname, 'example', 'windows')
40+
.replace(/[/\\]/g, '/')}.*`,
3941
),
4042

4143
// Workaround for `EBUSY: resource busy or locked, open '~\msbuild.ProjectImports.zip'`

package.json

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,12 @@
7070
"@babel/core": "^7.8.4",
7171
"@babel/runtime": "^7.8.4",
7272
"@expo/webpack-config": "^0.12.0",
73-
"@react-native-community/bob": "^0.17.0",
7473
"@react-native-community/cli": "^4.10.0",
7574
"@react-native-community/cli-platform-android": "^4.10.0",
7675
"@react-native-community/cli-platform-ios": "^4.10.0",
77-
"@react-native-community/eslint-config": "^2.0.0",
78-
"babel-jest": "^26.5.2",
79-
"babel-plugin-module-resolver": "3.1.3",
76+
"@react-native-community/eslint-config": "^3.0.0",
8077
"detox": "17.10.6",
81-
"eslint": "^6.0.0",
78+
"eslint": "^7.0.0",
8279
"expo": "^38.0.10",
8380
"flow-bin": "^0.122.0",
8481
"jest": "^26.5.3",
@@ -89,10 +86,11 @@
8986
"react": "16.13.1",
9087
"react-dom": "16.13.1",
9188
"react-native": "0.63.4",
92-
"react-native-macos": "0.63.4",
93-
"react-native-test-app": "^0.6.12",
89+
"react-native-builder-bob": "^0.18.0",
90+
"react-native-macos": "^0.63.4",
91+
"react-native-test-app": "^0.7.1",
9492
"react-native-web": "~0.12.0",
95-
"react-native-windows": "0.63.18",
93+
"react-native-windows": "^0.63.18",
9694
"react-test-renderer": "16.13.1",
9795
"semantic-release": "^17.2.1"
9896
},
@@ -139,16 +137,11 @@
139137
}
140138
}
141139
},
142-
"@react-native-community/bob": {
140+
"react-native-builder-bob": {
143141
"source": "src",
144142
"output": "lib",
145143
"targets": [
146-
[
147-
"commonjs",
148-
{
149-
"copyFlow": true
150-
}
151-
],
144+
["commonjs", { "copyFlow": true }],
152145
"module"
153146
]
154147
}

0 commit comments

Comments
 (0)