Skip to content

Commit 8dae192

Browse files
authored
Support the compiler v12 (#7)
* compat to v12 * eof
1 parent 8920964 commit 8dae192

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# v0.0.5 (unreleased)
1+
# v0.0.6 (unreleased)
22

3+
# v0.0.5
34

5+
- Support ReScript v12
46

57
# v0.0.4
68

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
"scripts": {
2020
"postinstall": "node ./postInstall.js"
2121
}
22-
}
22+
}

src/ppx_rhf.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dev-repo: "git+https://gitlab.com/mununki/ppx-react-hook-form.git"
1414
depends: [
1515
"ocaml" { = "4.14.0"}
1616
"dune" { >= "2.7"}
17-
"ppxlib" { = "0.24.0"}
17+
"ppxlib" { = "0.28.0"}
1818
]
1919
build: [
2020
["dune" "build" "-p" name "-j" jobs]

test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"eslint-plugin-react-hooks": "^4.6.0",
3333
"eslint-plugin-react-refresh": "^0.4.4",
3434
"react-router-dom": "^6.20.0",
35-
"rescript": "11.1.0-rc.8",
35+
"rescript": "12.0.0-alpha.4",
3636
"typescript": "^5.2.2",
3737
"vite": "^5.0.0"
3838
}

test/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/rescript.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
"number": "-48"
3434
},
3535
"generators": [],
36-
"bsc-flags": [
37-
"-bs-super-errors"
38-
],
36+
"bsc-flags": [],
3937
"gentypeconfig": {
4038
"language": "typescript",
4139
"shims": {},
@@ -46,4 +44,4 @@
4644
"basic": false
4745
}
4846
}
49-
}
47+
}

0 commit comments

Comments
 (0)