Skip to content

Commit 036111e

Browse files
committed
[draft] Upgrade flow
1 parent d4faa77 commit 036111e

20 files changed

+14186
-10
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"react": {
44
"pragma": "React",
55
"version": "19.0",
6-
"flowVersion": "0.248.1" // Flow version
6+
"flowVersion": "0.281.0" // Flow version
77
}
88
},
99
// babel parser to support ES6/7 features

.flowconfig

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
[version]
2-
0.248.1
2+
0.281.0
33

44
[ignore]
55
.*/malformed_package_json/.*
66
<PROJECT_ROOT>/.*/__tests__/.*
7+
<PROJECT_ROOT>/apps/examples/.*
8+
<PROJECT_ROOT>/apps/website/.*
79

810
[include]
911

10-
[libs]
11-
tools/flow-typed
12-
1312
[options]
1413
casting_syntax=as
1514
component_syntax=true
1615
module.name_mapper='^react-strict-dom$' -> '<PROJECT_ROOT>/packages/react-strict-dom/dist/native/index.js.flow'
1716
module.system.node.resolve_dirname=flow_modules
1817
module.system.node.resolve_dirname=node_modules
1918
react.runtime=automatic
20-
suppress_type=$FlowIssue
21-
suppress_type=$FlowFixMe
2219

2320
[strict]
2421
nonstrict-import

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
build
33
coverage
44
dist
5+
flow-typed
56
log
67
node_modules

apps/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"clsx": "^2.0.0",
1616
"docusaurus-lunr-search": "^3.6.0",
1717
"prism-react-renderer": "^2.4.1",
18-
"react": "^18.1.0",
19-
"react-dom": "^18.1.0"
18+
"react": "~19.0.0",
19+
"react-dom": "~19.0.0"
2020
},
2121
"devDependencies": {
2222
"@docusaurus/module-type-aliases": "3.8.1",

flow-typed.config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"env": ["bom", "cssom", "dom", "geometry", "html", "intl", "indexeddb", "jsx", "node", "serviceworkers", "webassembly" ]
3+
}
File renamed without changes.

0 commit comments

Comments
 (0)