FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

distinnguish flows · devhttps/frontend@71d8d9e · GitHub

Commit 71d8d9e

Browse files
committed
distinnguish flows
1 parent c11e3e2 commit 71d8d9e

4 files changed

Lines changed: 26 additions & 11 deletions

File tree

‎.flowconfig‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
[ignore]
22
.*/node_modules/fbjs/.*
33
.*/node_modules/weinre/.*
4+
<PROJECT_ROOT>/ui/.*
45

56
[include]
67

78
[libs]
89
dev/flow-typed
910
dev/flow-typed-guardian-frontend
1011

11-
# Additions for CSS componentisation
12-
ui/__tools__/flow-typed
13-
ui/__tools__/flow-types.js
14-
1512
[options]
1613
module.name_mapper='^admin' -> 'projects/admin'
1714
module.name_mapper='^common' -> 'projects/common'
@@ -37,10 +34,3 @@ module.system.node.resolve_dirname=static/src/javascripts
3734
module.system.node.resolve_dirname=static/src/javascripts-legacy
3835
module.system.node.resolve_dirname=static/vendor/javascripts
3936
module.system.node.resolve_dirname=node_modules
40-
41-
# Additions for CSS componentisation
42-
module.system.node.resolve_dirname=ui/src
43-
module.system.node.resolve_dirname=ui/src/app
44-
module.system.node.resolve_dirname=ui/node_modules
45-
module.file_ext=.scss
46-
module.file_ext=.jsx

‎ui/.flowconfig‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[ignore]
2+
.*/dist/.*
3+
.*/__tools__/.*
4+
.*/__config__/.*
5+
6+
[include]
7+
8+
[libs]
9+
__tools__/flow-typed
10+
__tools__/flow-types.js
11+
12+
[options]
13+
module.system.node.resolve_dirname=node_modules
14+
module.system.node.resolve_dirname=src
15+
module.system.node.resolve_dirname=src/app
16+
17+
module.file_ext=.js
18+
module.file_ext=.scss
19+
module.file_ext=.jsx

‎ui/package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"check:env": "check-node-version --package",
99
"lint": "yarn install -s && eslint .",
1010
"lint:fix": "yarn lint -- --fix",
11+
"flow": "flow",
1112
"test": "yarn install -s && jest",
1213
"test:watch": "yarn install -s && yarn test -- --watch",
1314
"test:ci": "yarn test -- --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
@@ -47,6 +48,7 @@
4748
"check-node-version": "^2.1.0",
4849
"concurrently": "^3.5.0",
4950
"coveralls": "^2.13.0",
51+
"flow-bin": "^0.50.0",
5052
"gzip-size-cli": "^2.0.0",
5153
"node-sass": "^4.5.3",
5254
"sass-loader": "^6.0.6",

‎ui/yarn.lock‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,10 @@ find-up@^2.1.0:
16221622
dependencies:
16231623
locate-path "^2.0.0"
16241624

1625+
flow-bin@^0.50.0:
1626+
version "0.50.0"
1627+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.50.0.tgz#d4cdb2430dee1a3599f0eb6fe551146e3027256a"
1628+
16251629
for-in@^0.1.3:
16261630
version "0.1.8"
16271631
resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL