Skip to content

Commit 00b3fb6

Browse files
committed
Update rescript to v12.0.0-beta.4
1 parent 6f12d46 commit 00b3fb6

File tree

5 files changed

+92
-35
lines changed

5 files changed

+92
-35
lines changed

.github/workflows/github-action-acceptance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
- run: yarn install
27-
- run: yarn rescript:build
27+
- run: yarn rescript:build:dev
2828
- run: yarn test

__tests__/Example_vitest.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ open Vitest
22

33
describe("it", () => {
44
open Expect
5-
open! Expect.Operators
65

76
test("works", () => {
87
true->expect->toEqual(true)

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,22 @@
2525
"changelog": "yarn auto-changelog -p && git add HISTORY.md",
2626
"build": "yarn rescript:build",
2727
"rescript:clean": "yarn rescript clean",
28-
"rescript:build": "yarn rescript build -with-deps",
29-
"rescript:dev": "yarn rescript build -with-deps -w",
28+
"rescript:build": "yarn rescript build",
29+
"rescript:build:dev": "yarn rescript build --dev",
30+
"rescript:dev": "yarn rescript watch --dev",
3031
"test": "yarn vitest --run --coverage --allow-only",
3132
"test:dev": "yarn vitest",
3233
"yalc:dev": "yarn rescript:dev & yarn nodemon -x \"yalc push\"",
3334
"yalc:push": "yarn nodemon -e res -x \"yalc push\""
3435
},
3536
"preferUnplugged": true,
3637
"peerDependencies": {
37-
"@rescript/react": "0.11.0",
38-
"rescript": "^11.1.0"
38+
"@rescript/react": "^0.14.0-rc.1",
39+
"rescript": "^12.0.0-beta.4"
3940
},
4041
"devDependencies": {
41-
"@greenfinity/rescript-vitest": "^0.1.0",
42-
"@rescript/react": "0.11.0",
42+
"@greenfinity/rescript-vitest": "^0.2.0",
43+
"@rescript/react": "^0.14.0-rc.1",
4344
"@vitest/coverage-v8": "2.1.8",
4445
"auto-changelog": "^2.4.0",
4546
"bs-loader": "^2.0.7",
@@ -48,7 +49,8 @@
4849
"prettier": "^2.3.1",
4950
"react": "^18.2.0",
5051
"react-dom": "^18.2.0",
51-
"rescript": "^11.1.0",
52+
"rescript": "^12.0.0-beta.4",
5253
"vitest": "^2.1.8"
53-
}
54+
},
55+
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
5456
}

rescript.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@greenfinity/rescript-context-utils",
33
"jsx": { "version": 4, "mode": "classic" },
44
"namespace": false,
5-
"bsc-flags": ["-bs-no-version-header", "-bs-super-errors"],
5+
"compiler-flags": ["-bs-no-version-header"],
66
"suffix": ".bs.mjs",
77
"package-specs": {
88
"module": "esmodule",
@@ -23,6 +23,6 @@
2323
"number": "-44",
2424
"error": "+101"
2525
},
26-
"bs-dependencies": ["@rescript/react"],
27-
"bs-dev-dependencies": ["@greenfinity/rescript-vitest"]
26+
"dependencies": ["@rescript/react"],
27+
"dev-dependencies": ["@greenfinity/rescript-vitest"]
2828
}

yarn.lock

Lines changed: 78 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ __metadata:
460460
version: 0.0.0-use.local
461461
resolution: "@greenfinity/rescript-context-utils@workspace:."
462462
dependencies:
463-
"@greenfinity/rescript-vitest": "npm:^0.1.0"
464-
"@rescript/react": "npm:0.11.0"
463+
"@greenfinity/rescript-vitest": "npm:^0.2.0"
464+
"@rescript/react": "npm:^0.14.0-rc.1"
465465
"@vitest/coverage-v8": "npm:2.1.8"
466466
auto-changelog: "npm:^2.4.0"
467467
bs-loader: "npm:^2.0.7"
@@ -470,22 +470,24 @@ __metadata:
470470
prettier: "npm:^2.3.1"
471471
react: "npm:^18.2.0"
472472
react-dom: "npm:^18.2.0"
473-
rescript: "npm:^11.1.0"
473+
rescript: "npm:^12.0.0-beta.4"
474474
vitest: "npm:^2.1.8"
475475
peerDependencies:
476-
"@rescript/react": 0.11.0
477-
rescript: ^11.1.0
476+
"@rescript/react": ^0.14.0-rc.1
477+
rescript: ^12.0.0-beta.4
478478
languageName: unknown
479479
linkType: soft
480480

481-
"@greenfinity/rescript-vitest@npm:^0.1.0":
482-
version: 0.1.0
483-
resolution: "@greenfinity/rescript-vitest@npm:0.1.0"
481+
"@greenfinity/rescript-vitest@npm:^0.2.0":
482+
version: 0.2.0
483+
resolution: "@greenfinity/rescript-vitest@npm:0.2.0"
484484
dependencies:
485485
"@vitest/coverage-v8": "npm:^2.1.8"
486486
jsdom: "npm:^25.0.1"
487487
vitest: "npm:^2.1.8"
488-
checksum: 10/6eef46c39396098ad9610d348ed73733a0ebd5c58d09723f78b42ec8ae3c8896c302ac65bd3098b8e201b4650fa7a5daf75903f2701e4e24a50c76f5906f860c
488+
peerDependencies:
489+
rescript: ^12.0.0-beta.4
490+
checksum: 10/ed97513735fc1a936def1faf66a0b33372ff8af6cdeaeb0fcf7f88d7d6c4d7bca6620af14029c9add494d346aba7cc803184317d74344abf30debef72a9a41ab
489491
languageName: node
490492
linkType: hard
491493

@@ -588,13 +590,48 @@ __metadata:
588590
languageName: node
589591
linkType: hard
590592

591-
"@rescript/react@npm:0.11.0":
592-
version: 0.11.0
593-
resolution: "@rescript/react@npm:0.11.0"
593+
"@rescript/darwin-arm64@npm:12.0.0-beta.4":
594+
version: 12.0.0-beta.4
595+
resolution: "@rescript/darwin-arm64@npm:12.0.0-beta.4"
596+
conditions: os=darwin & cpu=arm64
597+
languageName: node
598+
linkType: hard
599+
600+
"@rescript/darwin-x64@npm:12.0.0-beta.4":
601+
version: 12.0.0-beta.4
602+
resolution: "@rescript/darwin-x64@npm:12.0.0-beta.4"
603+
conditions: os=darwin & cpu=x64
604+
languageName: node
605+
linkType: hard
606+
607+
"@rescript/linux-arm64@npm:12.0.0-beta.4":
608+
version: 12.0.0-beta.4
609+
resolution: "@rescript/linux-arm64@npm:12.0.0-beta.4"
610+
conditions: os=linux & cpu=arm64
611+
languageName: node
612+
linkType: hard
613+
614+
"@rescript/linux-x64@npm:12.0.0-beta.4":
615+
version: 12.0.0-beta.4
616+
resolution: "@rescript/linux-x64@npm:12.0.0-beta.4"
617+
conditions: os=linux & cpu=x64
618+
languageName: node
619+
linkType: hard
620+
621+
"@rescript/react@npm:^0.14.0-rc.1":
622+
version: 0.14.0
623+
resolution: "@rescript/react@npm:0.14.0"
594624
peerDependencies:
595-
react: ">=18.0.0"
596-
react-dom: ">=18.0.0"
597-
checksum: 10/f66bccf4260e26243790ffcc729e26f422bdc9770e2d01f7539320a04fdf93d33f2c9ba9e12b9a4d3b0383fc60299515a7ccfb9076bbbd0c2b4e53215d5eda8f
625+
react: ">=19.0.0"
626+
react-dom: ">=19.0.0"
627+
checksum: 10/bcfac2d750c0707079ee2369fd418726b73180610dcc65278892f0d797af1e1bddef6b7cce56b2d3a9ff7325ed00510d75cbfa65decc600369c58377c685bfae
628+
languageName: node
629+
linkType: hard
630+
631+
"@rescript/win32-x64@npm:12.0.0-beta.4":
632+
version: 12.0.0-beta.4
633+
resolution: "@rescript/win32-x64@npm:12.0.0-beta.4"
634+
conditions: os=win32 & cpu=x64
598635
languageName: node
599636
linkType: hard
600637

@@ -2543,14 +2580,33 @@ __metadata:
25432580
languageName: node
25442581
linkType: hard
25452582

2546-
"rescript@npm:^11.1.0":
2547-
version: 11.1.4
2548-
resolution: "rescript@npm:11.1.4"
2583+
"rescript@npm:^12.0.0-beta.4":
2584+
version: 12.0.0-beta.4
2585+
resolution: "rescript@npm:12.0.0-beta.4"
2586+
dependencies:
2587+
"@rescript/darwin-arm64": "npm:12.0.0-beta.4"
2588+
"@rescript/darwin-x64": "npm:12.0.0-beta.4"
2589+
"@rescript/linux-arm64": "npm:12.0.0-beta.4"
2590+
"@rescript/linux-x64": "npm:12.0.0-beta.4"
2591+
"@rescript/win32-x64": "npm:12.0.0-beta.4"
2592+
dependenciesMeta:
2593+
"@rescript/darwin-arm64":
2594+
optional: true
2595+
"@rescript/darwin-x64":
2596+
optional: true
2597+
"@rescript/linux-arm64":
2598+
optional: true
2599+
"@rescript/linux-x64":
2600+
optional: true
2601+
"@rescript/win32-x64":
2602+
optional: true
25492603
bin:
2550-
bsc: bsc
2551-
bstracing: lib/bstracing
2552-
rescript: rescript
2553-
checksum: 10/2ba71cf76e04000afb025afc245aef0d4c1647c73323f325bbc386f562df5a9fdddf137f6031ac7bb59c935c60174156d7a605a05a70adac8bd76dc0795aa6bd
2604+
bsc: cli/bsc.js
2605+
bstracing: cli/bstracing.js
2606+
rescript: cli/rescript.js
2607+
rescript-legacy: cli/rescript-legacy.js
2608+
rescript-tools: cli/rescript-tools.js
2609+
checksum: 10/2dbb8cbd28e774e5039d4bc2bb91b523c1fdf4ab5fedafcb8fa1ee3367044fba422ea67707265c01dc6782b86d2a14c63c34a5c5c2eb43bffb5f9f73505955a1
25542610
languageName: node
25552611
linkType: hard
25562612

0 commit comments

Comments
 (0)