Skip to content

Commit 5698a0e

Browse files
feat: upgrade to rescript 11
1 parent 510d6f2 commit 5698a0e

3 files changed

Lines changed: 28 additions & 20 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@dck/rescript-router",
33
"version": "1.0.0",
44
"scripts": {
5-
"build": "rescript build -with-deps",
6-
"start": "rescript build -with-deps -w",
5+
"build": "rescript build",
6+
"start": "rescript build -w",
77
"clean": "rescript clean",
88
"test": "npm run build",
99
"demo": "webpack-dev-server",
@@ -22,19 +22,19 @@
2222
"author": "Thomas Deconinck",
2323
"license": "MIT",
2424
"peerDependencies": {
25-
"@rescript/react": "^0.11.0",
25+
"@rescript/react": "^0.12.0",
2626
"react": "^18.2.0",
2727
"react-dom": "^18.2.0",
28-
"rescript": "^10.1.4",
29-
"rescript-classnames": "^6.0.0"
28+
"rescript": "^11.0.0",
29+
"rescript-classnames": "^7.0.0"
3030
},
3131
"devDependencies": {
3232
"react": "^18.2.0",
3333
"react-dom": "^18.2.0",
34-
"@rescript/react": "^0.11.0",
34+
"@rescript/react": "^0.12.1",
3535
"html-webpack-plugin": "3.2.0",
36-
"rescript": "^10.1.4",
37-
"rescript-classnames": "^6.0.0",
36+
"rescript": "^11.1.0",
37+
"rescript-classnames": "^7.0.0",
3838
"webpack": "4.41.2",
3939
"webpack-cli": "3.3.9",
4040
"webpack-dev-server": "3.8.2"

bsconfig.json renamed to rescript.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
],
2222
"suffix": ".bs.js",
2323
"namespace": false,
24+
"uncurried": true,
2425
"bs-dependencies": ["@rescript/react", "rescript-classnames"],
2526
"bsc-flags": [
2627
"-bs-super-errors",

yarn.lock

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
# yarn lockfile v1
33

44

5-
"@rescript/react@^0.11.0":
6-
version "0.11.0"
7-
resolved "https://registry.yarnpkg.com/@rescript/react/-/react-0.11.0.tgz#d2545546d823bdb8e6b59daa1790098d1666f79e"
8-
integrity sha512-RzoAO+3cJwXE2D7yodMo4tBO2EkeDYCN/I/Sj/yRweI3S1CY1ZBOF/GMcVtjeIurJJt7KMveqQXTaRrqoGZBBg==
5+
"@rescript/core@1.3.0":
6+
version "1.3.0"
7+
resolved "https://registry.yarnpkg.com/@rescript/core/-/core-1.3.0.tgz#e7ebc6814772ccabac23c980d5bb0851ad8338d1"
8+
integrity sha512-wNZOZ63sYcaIYZCmTZeIPCeLa3HCGgPbIOR8zjyNkoBYUlxNV8Nb2ZyqlXR5Mb9ttvv8fTV56JbKhyVEZEYo8g==
9+
10+
"@rescript/react@^0.12.1":
11+
version "0.12.1"
12+
resolved "https://registry.yarnpkg.com/@rescript/react/-/react-0.12.1.tgz#7bddb957a1bc08b944c6597f28549ac410982d64"
13+
integrity sha512-ZD7nhDr5FZgLYqRH9s4CNM+LRz/3IMuTb+LH12fd2Akk0xYkYUP+DZveB2VQUC2UohJnTf/c8yPSNsiFihVCCg==
914

1015
"@types/events@*":
1116
version "3.0.0"
@@ -3334,15 +3339,17 @@ requires-port@^1.0.0:
33343339
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
33353340
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
33363341

3337-
rescript-classnames@^6.0.0:
3338-
version "6.0.0"
3339-
resolved "https://registry.yarnpkg.com/rescript-classnames/-/rescript-classnames-6.0.0.tgz#e833d9fc88e0e494c2ef39862721a80ab75fae32"
3340-
integrity sha512-hfOffijzIPnULtRZW3Kf0DCfCaw9lhGaMxf81WYlREieyBS2KNMcdI/8g5uSXFj0j4Ci21xkf70EFCKjuCTqpw==
3342+
rescript-classnames@^7.0.0:
3343+
version "7.0.1"
3344+
resolved "https://registry.yarnpkg.com/rescript-classnames/-/rescript-classnames-7.0.1.tgz#4822003c58b371b7c865ca6eaf25352aca6c592a"
3345+
integrity sha512-aQmio6eBSarSq3rXR6kiuCMdiFrn0riPpQoRPTo/CTVKaA6FXAeid8uqNPuGplEoNPAAQsuVCaoD4XwGMbB6WQ==
3346+
dependencies:
3347+
"@rescript/core" "1.3.0"
33413348

3342-
rescript@^10.1.4:
3343-
version "10.1.4"
3344-
resolved "https://registry.yarnpkg.com/rescript/-/rescript-10.1.4.tgz#0f37710d371f32a704f17b4e804f66ce3c79a305"
3345-
integrity sha512-FFKlS9AG/XrLepWsyw7B+A9DtQBPWEPDPDKghV831Y2KGbie+eeFBOS0xtRHp0xbt7S0N2Dm6hhX+kTZQ/3Ybg==
3349+
rescript@^11.1.0:
3350+
version "11.1.0"
3351+
resolved "https://registry.yarnpkg.com/rescript/-/rescript-11.1.0.tgz#68dec0b3cbc456c1f9c8e4f10bda6fae49bf7f92"
3352+
integrity sha512-9la2Dv+ACylQ77I8s4spPu1JnLZXbH5WgxcLHLLUBWgFFSiv0wXqgzWztrBIZqwFgVX5BYcwldUqUVcEzdCyHg==
33463353

33473354
resolve-cwd@^2.0.0:
33483355
version "2.0.0"

0 commit comments

Comments
 (0)