Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit f77a430

Browse files
committed
Migrating from reason syntax to rescript and reason-react to @rescript/react
1 parent 508dc2e commit f77a430

9 files changed

+1475
-2420
lines changed

Diff for: bsconfig.json

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"name": "bs-react-testing-library",
3-
"bsc-flags": [
4-
"-bs-no-version-header",
5-
"-bs-super-errors"
6-
],
3+
"bsc-flags": ["-bs-no-version-header", "-bs-super-errors"],
74
"warnings": {
85
"number": "+A-48-42",
96
"error": "+A-3-44-102"
@@ -17,14 +14,8 @@
1714
"in-source": true
1815
},
1916
"suffix": ".bs.js",
20-
"bs-dependencies": [
21-
"bs-dom-testing-library",
22-
"reason-react"
23-
],
24-
"bs-dev-dependencies": [
25-
"@glennsl/bs-jest",
26-
"bisect_ppx"
27-
],
17+
"bs-dependencies": ["bs-dom-testing-library", "@rescript/react"],
18+
"bs-dev-dependencies": ["@glennsl/bs-jest", "bisect_ppx"],
2819
"sources": [
2920
{
3021
"dir": "src",

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"@wyze/changelog": "^1.0.0",
4747
"@wyze/github-release": "^1.1.1",
4848
"bisect_ppx": "^2.5.0",
49-
"bs-platform": "^8.3.1",
49+
"bs-platform": "^8.4.2",
5050
"npm-run-all": "^4.1.5",
5151
"react": "^17.0.0",
5252
"react-dom": "^17.0.0",
53-
"reason-react": "^0.9.1",
53+
"@rescript/react": "^0.10.2",
5454
"rimraf": "^3.0.2"
5555
}
5656
}

0 commit comments

Comments
 (0)