Bump metro@0.40.0

Summary:
@public

This new version of metro replaces the `getProjectRoots()` config param by `getProjectRoot()` (which is used as the main folder for calculating relative paths of files, etc) and `getWatchFolders()` (which is used to know which files/folder to crawl when starting metro).

More info: 3bdf386d14

[skip-ci]

Reviewed By: yungsters, mmmulani

Differential Revision: D8538986

fbshipit-source-id: 2afc33950334a278364debb39f34ef0fe0535894
This commit is contained in:
Rafael Oleza 2018-06-20 10:49:39 -07:00 committed by Facebook Github Bot
parent adb6929b36
commit 04fa721ed5
2 changed files with 5 additions and 5 deletions

View File

@ -41,6 +41,6 @@
"@babel/plugin-transform-template-literals": "7.0.0-beta.47",
"@babel/plugin-transform-unicode-regex": "7.0.0-beta.47",
"@babel/template": "7.0.0-beta.47",
"metro-babel7-plugin-react-transform": "^0.39.1"
"metro-babel7-plugin-react-transform": "^0.40.0"
}
}

View File

@ -167,10 +167,10 @@
"graceful-fs": "^4.1.3",
"inquirer": "^3.0.6",
"lodash": "^4.17.5",
"metro": "^0.39.1",
"metro-babel-register": "^0.39.1",
"metro-core": "^0.39.1",
"metro-memory-fs": "^0.39.1",
"metro": "^0.40.0",
"metro-babel-register": "^0.40.0",
"metro-core": "^0.40.0",
"metro-memory-fs": "^0.40.0",
"mime": "^1.3.4",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",