File tree Expand file tree Collapse file tree 6 files changed +18
-10
lines changed
Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 1+ ** /__tests__ /**
12.bsb.lock
23* .bs.js
34.gitattributes
@@ -15,7 +16,6 @@ EXAMPLES/
1516lib /
1617node_modules /
1718package-lock.json
18- README.md
1919TODO
2020yarn.lock
2121yarn-error.log
Original file line number Diff line number Diff line change 3131 " rescript-apollo-client" ,
3232 " @reasonml-community/graphql-ppx" ,
3333 " @ryyppy/rescript-promise" ,
34- " reason- react"
34+ " @rescript/ react"
3535 ]
3636}
Original file line number Diff line number Diff line change 1111 },
1212 "devDependencies" : {
1313 "@reasonml-community/graphql-ppx" : " 1.0.0" ,
14- "bs-platform" : " 8.2 .0" ,
14+ "bs-platform" : " 9.0 .0" ,
1515 "graphql-client-example-server" : " 1.2.0" ,
1616 "html-webpack-plugin" : " 4.3.0" ,
1717 "webpack" : " 4.43.0" ,
2020 },
2121 "dependencies" : {
2222 "@apollo/client" : " 3.3.7" ,
23+ "@rescript/react" : " 0.10.1" ,
2324 "@ryyppy/rescript-promise" : " 0.0.2" ,
2425 "graphql" : " 15.3.0" ,
2526 "react" : " 16.13.1" ,
2627 "react-dom" : " 16.13.1" ,
2728 "reason-promise" : " 1.1.1" ,
28- "reason-react" : " 0.9.1" ,
29- "rescript-apollo-client" : " 1.1.2" ,
29+ "rescript-apollo-client" : " 2.0.1" ,
3030 "subscriptions-transport-ws" : " 0.9.16"
3131 }
3232}
Original file line number Diff line number Diff line change 1- ReactDOMRe.renderToElementWithId(<App />, "root")
1+ switch ReactDOM .querySelector ("#root" ) {
2+ | Some (root ) => ReactDOM .render (<App />, root )
3+ | None => ()
4+ }
Original file line number Diff line number Diff line change 1717 }
1818 ],
1919 "suffix" : " .bs.js" ,
20- "bs-dependencies" : [" @reasonml-community/graphql-ppx" , " reason- react" ]
20+ "bs-dependencies" : [" @reasonml-community/graphql-ppx" , " @rescript/ react" ]
2121}
Original file line number Diff line number Diff line change 11{
22 "name" : " rescript-apollo-client" ,
33 "description" : " ReScript bindings for the Apollo Client ecosystem" ,
4- "version" : " 1.1.2 " ,
4+ "version" : " 2.0.1 " ,
55 "keywords" : [
66 " Apollo" ,
77 " BuckleScript" ,
2727 "jest" : " 26.5.3" ,
2828 "react" : " ^16.13.1" ,
2929 "react-dom" : " ^16.13.1" ,
30- "reason- react" : " ^0.9 .1" ,
30+ "@rescript/ react" : " ^0.10 .1" ,
3131 "subscriptions-transport-ws" : " ^0.9.17"
3232 },
3333 "peerDependencies" : {
3434 "@apollo/client" : " ^3.3.0" ,
3535 "@reasonml-community/graphql-ppx" : " ^1.0.0" ,
3636 "bs-platform" : " ^8.2.0 || ^9.0.0" ,
37- "reason-react" : " ^0.8.0 || ^0.9.0"
37+ "@rescript/react" : " ^0.10.1"
38+ },
39+ "peerDependenciesMeta" : {
40+ "bs-platform" : {
41+ "optional" : true
42+ }
3843 }
3944}
You can’t perform that action at this time.
0 commit comments