Skip to content

Commit

Permalink
rescript@11.0.0-alpha
Browse files Browse the repository at this point in the history
* Use rescript@11.0.0-alpha

* Fix ThrowsExpectation.Message.fn

* 🚀 2.3.0
  • Loading branch information
DZakh committed May 1, 2023
1 parent cad57ee commit 4ef3f47
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Runtime free [ReScript](https://github.com/rescript-lang) bindings for [Ava](htt
### Installation

```sh
npm install -D @dzakh/rescript-ava ava@5.1.x
npm install -D @dzakh/rescript-ava ava@5.2.x
```

Then add `@dzakh/rescript-ava` to `bs-dev-dependencies` in your `bsconfig.json`:
Expand Down
23 changes: 13 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzakh/rescript-ava",
"version": "2.2.0",
"version": "2.3.0",
"description": "Runtime free ReScript bindings for Ava",
"keywords": [
"ReScript",
Expand Down Expand Up @@ -30,10 +30,10 @@
"res:dev": "rescript build -with-deps -w"
},
"devDependencies": {
"rescript": "11.0.0-alpha.2"
"rescript": "11.0.0-alpha.5"
},
"peerDependencies": {
"ava": "5.2.x",
"rescript": "11.0.0-alpha.2"
"rescript": "10.1.x || ~11.0.0-alpha"
}
}
2 changes: 1 addition & 1 deletion src/Ava.res
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module ThrowsExpectation = {

external re: Js.Re.t => t = "%identity"

external fn: (~message: string) => t = "%identity"
external fn: (~message: string => bool) => t = "%identity"
}

type code = int
Expand Down

0 comments on commit 4ef3f47

Please sign in to comment.