forked from rpldy/react-uploady
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
46 lines (39 loc) · 2.02 KB
/
.flowconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[ignore]
.*/node_modules/config-chain/.*
.*/node_modules/eslint-plugin-jsx-a11y/.*
.*/node_modules/eslint-plugin-react/.*
.*/node_modules/enzyme-matchers/.*
.*/node_modules/jest-enzyme/.*
.*/node_modules/webpack-cli/node_modules/.*
.*/node_modules/resolve/.*
.*/lib/.*
[include]
./packages/**/*.js.flow
[libs]
[strict]
untyped-type-import
sketchy-null
[options]
exact_by_default=false
experimental.const_params=true
autoimports=true
react.runtime=automatic
module.ignore_non_literal_requires=true
module.system.node.main_field=main:dev
module.system.node.resolve_dirname=node_modules
#dealing with deps without index.js entry
module.name_mapper='^invariant$' -> '<PROJECT_ROOT>/node_modules/invariant/invariant'
module.name_mapper='^html-dir-content$' -> '<PROJECT_ROOT>/node_modules/html-dir-content/dist/html-dir-content'
module.name_mapper='^react-image-crop$' -> '<PROJECT_ROOT>/node_modules/react-image-crop/dist/index.umd.cjs'
module.name_mapper='^styled-components$' -> '<PROJECT_ROOT>/node_modules/styled-components/dist/styled-components.cjs.js'
module.name_mapper='^react-dnd$' -> '<PROJECT_ROOT>/node_modules/react-dnd/dist/index.js'
module.name_mapper='^react-dnd-html5-backend$' -> '<PROJECT_ROOT>/node_modules/react-dnd-html5-backend/dist/index.js'
module.name_mapper='^rc-progress$' -> '<PROJECT_ROOT>/node_modules/rc-progress/es/index.js'
module.name_mapper='^@storybook/addon-knobs' -> '<PROJECT_ROOT>/node_modules/@storybook/addon-knobs/dist/index.js'
#dealing with pnpm workspace deps protocol
module.name_mapper='^@rpldy/uploady$' -> '<PROJECT_ROOT>/packages/ui/uploady/src/index.js'
module.name_mapper='^@rpldy/shared$' -> '<PROJECT_ROOT>/packages/core/shared/src/index.js'
module.name_mapper='^@rpldy/uploader$' -> '<PROJECT_ROOT>/packages/core/uploader/src/index.js'
module.name_mapper='^@rpldy/life-events$' -> '<PROJECT_ROOT>/packages/core/life-events/src/index.js'
#tricking flow so it doesnt complain about not able to import README files in storybook
module.name_mapper='README.md$' -> '<PROJECT_ROOT>/node_modules/react/index.js'