Skip to content

Commit c3a91fc

Browse files
committed
use rescript 1.1.1; include rescript-promise by default
1 parent a6a4f6f commit c3a91fc

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

bsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"suffix": ".bs.js",
1616
"reason": { "react-jsx": 3 },
17-
"bs-dependencies": ["@rescript/react"],
17+
"bs-dependencies": ["@rescript/react", "@ryyppy/rescript-promise"],
1818
"gentypeconfig": {
1919
"language": "typescript",
2020
"shims": {},
@@ -25,4 +25,4 @@
2525
"basic": false
2626
}
2727
}
28-
}
28+
}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@rescript/react": "^0.10.3",
16+
"@ryyppy/rescript-promise": "^2.1.0",
1617
"react": "^18.2.0",
1718
"react-dom": "^18.2.0"
1819
},
@@ -21,7 +22,7 @@
2122
"@types/react-dom": "^18.0.6",
2223
"@vitejs/plugin-react": "^2.0.0",
2324
"gentype": "^4.5.0",
24-
"rescript": "^10.0.1",
25+
"rescript": "^10.1.1",
2526
"typescript": "^4.6.4",
2627
"vite": "^3.0.0"
2728
}

pnpm-lock.yaml

+10-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)