This repository was archived by the owner on Feb 6, 2023. It is now read-only.
File tree 7 files changed +22
-10
lines changed
7 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 6
6
gulpfile.js
7
7
scripts /module-map.js
8
8
scripts /jest /preprocessor.js
9
+ scripts /jest /hasteImpl.js
9
10
examples /draft-0-10-0 /universal /static /bundle.js
10
11
examples /draft-0-9-1 /universal /static /bundle.js
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 59
59
"eslint-plugin-react" : " ^7.3.0" ,
60
60
"eslint-plugin-relay" : " ^0.0.8" ,
61
61
"fbjs-scripts" : " ^0.8.0" ,
62
- "flow-bin" : " ^0.64 .0" ,
62
+ "flow-bin" : " ^0.70 .0" ,
63
63
"gulp" : " ^3.9.0" ,
64
64
"gulp-babel" : " ^6.1.2" ,
65
65
"gulp-browserify-thin" : " ^0.1.5" ,
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright (c) 2014-present, Facebook, Inc.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
3
+ * All rights reserved.
3
4
*
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree. An additional grant
7
+ * of patent rights can be found in the PATENTS file in the same directory.
6
8
*
7
9
* @flow
8
10
*/
Original file line number Diff line number Diff line change 16
16
17
17
[options]
18
18
module.system=haste
19
+ module.system.haste.use_name_reducers=true
20
+ # keep the following in sync with server/haste/hasteImpl.js
21
+ # get basename
22
+ module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
23
+ # strip .js or .js.flow suffix
24
+ module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
25
+ module.system.haste.paths.whitelist=<PROJECT_ROOT>/.*
26
+ module.system.haste.paths.whitelist=.*/node_modules/fbjs/lib/.*
19
27
module.system.haste.paths.blacklist=.*/__tests__/.*
20
28
module.system.haste.paths.blacklist=.*/react/node_modules/.*
21
29
module.system.haste.paths.blacklist=.*/react-dom/node_modules/.*
22
30
module.system.haste.paths.blacklist=.*/fbjs/node_modules/.*
23
31
module.system.haste.paths.blacklist=.*/node_modules/invariant/.*
32
+
24
33
esproposal.class_static_fields=enable
25
34
suppress_type=$FlowIssue
26
35
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
27
36
module.name_mapper='ReactDOM' -> 'react-dom'
28
37
29
38
[version]
30
- ^0.64 .0
39
+ ^0.70 .0
Original file line number Diff line number Diff line change @@ -2199,9 +2199,9 @@ flat-cache@^1.2.1:
2199
2199
graceful-fs "^4.1.2"
2200
2200
write "^0.2.1"
2201
2201
2202
- flow-bin@^0.64 .0 :
2203
- version "0.64 .0"
2204
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.64 .0.tgz#ddd3fb3b183ab1ab35a5d5dec9caf5ebbcded167 "
2202
+ flow-bin@^0.70 .0 :
2203
+ version "0.70 .0"
2204
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.70 .0.tgz#080ae83a997f2b4ddb3dc2649bf13336825292b5 "
2205
2205
2206
2206
flush-write-stream@^1.0.0 :
2207
2207
version "1.0.2"
You can’t perform that action at this time.
0 commit comments