mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Deploy v0.47.0 to xplat/js
Reviewed By: zertosh Differential Revision: D5135644 fbshipit-source-id: f979970f8d0c4e082ec1302084d4def6652557c8
This commit is contained in:
parent
35393524a9
commit
ffdae135fd
@ -31,8 +31,6 @@ emoji=true
|
||||
|
||||
module.system=haste
|
||||
|
||||
experimental.strict_call_arity=true
|
||||
|
||||
munge_underscores=true
|
||||
|
||||
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
|
||||
@ -41,12 +39,12 @@ suppress_type=$FlowIssue
|
||||
suppress_type=$FlowFixMe
|
||||
suppress_type=$FixMe
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-6]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-6]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.46.0
|
||||
^0.47.0
|
||||
|
@ -42,7 +42,7 @@ type Props = {
|
||||
|
||||
const APP_STATE_KEY = 'RNTesterAppState.v2';
|
||||
|
||||
const Header = ({ onBack, title}) => (
|
||||
const Header = ({ onBack, title }: { onBack?: () => mixed, title: string }) => (
|
||||
<View style={styles.header}>
|
||||
<View style={styles.headerCenter}>
|
||||
<Text style={styles.title}>{title}</Text>
|
||||
|
@ -26,8 +26,6 @@ emoji=true
|
||||
|
||||
module.system=haste
|
||||
|
||||
experimental.strict_call_arity=true
|
||||
|
||||
munge_underscores=true
|
||||
|
||||
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
|
||||
@ -36,12 +34,12 @@ suppress_type=$FlowIssue
|
||||
suppress_type=$FlowFixMe
|
||||
suppress_type=$FixMe
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-6]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-6]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.46.0
|
||||
^0.47.0
|
||||
|
@ -227,7 +227,7 @@
|
||||
"eslint-plugin-babel": "^4.1.1",
|
||||
"eslint-plugin-flowtype": "^2.33.0",
|
||||
"eslint-plugin-react": "^7.0.1",
|
||||
"flow-bin": "^0.46.0",
|
||||
"flow-bin": "^0.47.0",
|
||||
"jest": "19.0.2",
|
||||
"jest-repl": "19.0.2",
|
||||
"jest-runtime": "^19.0.3",
|
||||
|
@ -296,6 +296,12 @@ class ResolutionRequest<TModule: Moduleish, TPackage: Packageish> {
|
||||
return result;
|
||||
}
|
||||
|
||||
function resolveKeyWithPromise(
|
||||
[key: TModule, promise: Promise<Array<TModule>>],
|
||||
): Promise<[TModule, Array<TModule>]> {
|
||||
return promise.then(value => [key, value]);
|
||||
}
|
||||
|
||||
return Promise.all([
|
||||
// kicks off recursive dependency discovery, but doesn't block until it's
|
||||
// done
|
||||
@ -901,10 +907,6 @@ function resolveWindowsPath(modulePath) {
|
||||
return path.resolve(modulePath);
|
||||
}
|
||||
|
||||
function resolveKeyWithPromise([key, promise]) {
|
||||
return promise.then(value => [key, value]);
|
||||
}
|
||||
|
||||
function isRelativeImport(filePath) {
|
||||
return /^[.][.]?(?:[/]|$)/.test(filePath);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user