Skip to content

Commit

Permalink
chore(deps): bump all build dependencies (react-native-async-storage#646
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tido64 authored Aug 9, 2021
1 parent 58f5f0e commit 2c45db2
Show file tree
Hide file tree
Showing 3 changed files with 3,953 additions and 4,799 deletions.
10 changes: 6 additions & 4 deletions metro.config.windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const path = require('path');
const blacklist = require('metro-config/src/defaults/blacklist');

const rnPath = fs.realpathSync(
path.dirname(require.resolve('react-native/package.json'))
path.dirname(require.resolve('react-native/package.json')),
);
const rnwPath = fs.realpathSync(
path.dirname(require.resolve('react-native-windows/package.json'))
path.dirname(require.resolve('react-native-windows/package.json')),
);

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

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

// Workaround for `EBUSY: resource busy or locked, open '~\msbuild.ProjectImports.zip'`
Expand Down
23 changes: 8 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,12 @@
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@expo/webpack-config": "^0.12.0",
"@react-native-community/bob": "^0.17.0",
"@react-native-community/cli": "^4.10.0",
"@react-native-community/cli-platform-android": "^4.10.0",
"@react-native-community/cli-platform-ios": "^4.10.0",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.5.2",
"babel-plugin-module-resolver": "3.1.3",
"@react-native-community/eslint-config": "^3.0.0",
"detox": "17.10.6",
"eslint": "^6.0.0",
"eslint": "^7.0.0",
"expo": "^38.0.10",
"flow-bin": "^0.122.0",
"jest": "^26.5.3",
Expand All @@ -89,10 +86,11 @@
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "0.63.4",
"react-native-macos": "0.63.4",
"react-native-test-app": "^0.6.12",
"react-native-builder-bob": "^0.18.0",
"react-native-macos": "^0.63.4",
"react-native-test-app": "^0.7.1",
"react-native-web": "~0.12.0",
"react-native-windows": "0.63.18",
"react-native-windows": "^0.63.18",
"react-test-renderer": "16.13.1",
"semantic-release": "^17.2.1"
},
Expand Down Expand Up @@ -139,16 +137,11 @@
}
}
},
"@react-native-community/bob": {
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"copyFlow": true
}
],
["commonjs", { "copyFlow": true }],
"module"
]
}
Expand Down
Loading

0 comments on commit 2c45db2

Please sign in to comment.