Skip to content

Commit 8001e79

Browse files
authored
Merge pull request #16 from DZakh/rescript-v11
Support rescript v11
2 parents 66a5580 + 904b86d commit 8001e79

File tree

14 files changed

+156
-156
lines changed

14 files changed

+156
-156
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
name: Test
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: pnpm/action-setup@v2
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 18
21+
cache: yarn
22+
- run: yarn install
23+
- run: yarn test

bsconfig.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
],
2626
"suffix": ".bs.js",
2727
"bs-dependencies": [],
28-
"bs-dev-dependencies": [
29-
"@dusty-phillips/rescript-zora",
30-
"@ryyppy/rescript-promise"
31-
],
28+
"bs-dev-dependencies": ["@dusty-phillips/rescript-zora"],
3229
"warnings": {
3330
"number": "A-4-40-41-42-43-44+101-102-103",
3431
"error": "false"
35-
}
36-
}
32+
},
33+
"uncurried": false
34+
}

lib/js/examples/ReadFileByLine.bs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/js/test/atomic/BigInt.test.bs.js

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

lib/js/test/atomic/BinaryLike.test.bs.js

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

lib/js/test/atomic/Fs.test.bs.js

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

lib/js/test/atomic/Stream.test.bs.js

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"description": "Node bindings for ReScript",
2727
"license": "MIT",
2828
"devDependencies": {
29-
"@dusty-phillips/rescript-zora": "^3.0.0",
29+
"@dusty-phillips/rescript-zora": "^4.0.0",
3030
"onchange": "^7.1.0",
31-
"pta": "^1.0.0",
32-
"rescript": "^10.0.1",
33-
"zora": "^5.0.0"
31+
"pta": "^1.2.0",
32+
"rescript": "^11.0.0-beta.3",
33+
"zora": "^5.2.0"
3434
}
3535
}

src/Buffer.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type t = Node.buffer
1+
type t
22
open Js.TypedArray2
33

44
module Constants = {

src/Exports.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
type t

0 commit comments

Comments
 (0)