Skip to content

Commit af9dbf5

Browse files
committed
Update to rescript@12
1 parent 7ceb298 commit af9dbf5

File tree

5 files changed

+994
-1273
lines changed

5 files changed

+994
-1273
lines changed

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"prestart": "yarn run res:build:dev",
1010
"build": "parcel build examples/index.html",
1111
"prebuild": "yarn run res:build",
12-
"res:build": "RES_LOG=off rescript build -with-deps",
13-
"res:build:dev": "RES_LOG=*,rescript-dnd=* rescript build -with-deps",
14-
"res:watch": "RES_LOG=*,rescript-dnd=* rescript build -with-deps -w",
12+
"res:build": "RES_LOG=off rescript build",
13+
"res:build:dev": "RES_LOG=*,rescript-dnd=* rescript build",
14+
"res:watch": "RES_LOG=*,rescript-dnd=* rescript build -w",
1515
"res:clean": "rescript clean",
1616
"clean": "rm -rf dist && yarn run res:clean",
1717
"test": "exit 0",
18-
"format": "rescript format -all",
18+
"format": "rescript format",
1919
"deploy": "vercel deploy dist --prod",
2020
"predeploy": "yarn run build"
2121
},
@@ -44,22 +44,24 @@
4444
"rescript-logger": "4.0.0"
4545
},
4646
"peerDependencies": {
47-
"@rescript/react": ">=0.12.0",
47+
"@rescript/react": ">=0.14.0",
4848
"react": ">=18.0.0",
4949
"react-dom": ">=18.0.0",
5050
"rescript": ">=11.0.0",
5151
"rescript-webapi": ">=0.6.0"
5252
},
5353
"devDependencies": {
54-
"@rescript/react": "0.12.1",
55-
"autoprefixer": "10.4.17",
56-
"parcel": "2.11.0",
57-
"postcss": "8.4.35",
54+
"@rescript/react": "0.14.0",
55+
"@rescript/runtime": "12.0.0-beta.8",
56+
"autoprefixer": "10.4.21",
57+
"parcel": "2.15.4",
58+
"postcss": "8.5.6",
5859
"process": "^0.11.10",
5960
"react": "18.2.0",
6061
"react-dom": "18.2.0",
61-
"rescript": "11.0.1",
62-
"rescript-classnames": "7.0.0",
63-
"rescript-webapi": "0.9.1"
64-
}
62+
"rescript": "12.0.0-beta.10",
63+
"rescript-classnames": "7.0.1",
64+
"rescript-webapi": "0.10.0"
65+
},
66+
"packageManager": "[email protected]+sha512.033a040f18f6e7a04e4bf8ea0d7037a63ca19a2e054410543206284c7238108b7612144492f1f4b283d512d9c3f8340825f53947d6ca85c6751fd97cccf59ea0"
6567
}

rescript.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"subdirs": true
1212
}
1313
],
14-
"bs-dependencies": [
14+
"dependencies": [
1515
"@rescript/react",
1616
"rescript-webapi",
1717
"rescript-logger"
1818
],
19-
"bs-dev-dependencies": [
19+
"dev-dependencies": [
2020
"rescript-classnames"
2121
],
2222
"jsx": {
2323
"version": 4
2424
},
25-
"bsc-flags": [
25+
"compiler-flags": [
2626
"-open Belt"
2727
],
2828
"ppx-flags": [

0 commit comments

Comments
 (0)