Skip to content

Commit d76901a

Browse files
authored
Misc small fixes/improvements (#1145)
* Another doc update for yarn * Fix minimum node version * @rescript/react 0.14.0 release version * Use rescript 12.0.0
1 parent 265511f commit d76901a

File tree

4 files changed

+39
-38
lines changed

4 files changed

+39
-38
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This is the official documentation platform for the [ReScript](https://rescript-
1515
## System Requirements
1616

1717
- `node@22` or higher
18+
- `yarn` or `corepack`
1819

1920
## Setup
2021

@@ -26,10 +27,10 @@ yarn
2627
yarn rescript
2728

2829
# Build the index data. Only needed for initial clone (or content H2 changes)
29-
yarn run update-index
30+
yarn update-index
3031

3132
# In a new tab
32-
yarn run dev
33+
yarn dev
3334

3435
open localhost:3000
3536
```
@@ -47,7 +48,7 @@ search terms we need for searching inside the `Belt` docs). You can create your
4748
index by running following command:
4849

4950
```sh
50-
yarn run update-index
51+
yarn update-index
5152
```
5253

5354
All the index data is stored in `index_data`, but will not be tracked by git.

markdown-pages/docs/manual/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ order: 2
1111
## Prerequisites
1212

1313
<div class="install-list">
14-
- [Node.js](https://nodejs.org/) version >= 20
14+
- [Node.js](https://nodejs.org/) version >= 20.11.0
1515
- One of the following package managers:
1616
- [npm](https://docs.npmjs.com/cli/) (comes with Node.js)
1717
- [yarn](https://yarnpkg.com/)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@node-cli/static-server": "^3.1.4",
4242
"@react-router/node": "^7.8.1",
4343
"@replit/codemirror-vim": "^6.3.0",
44-
"@rescript/react": "^0.14.0-rc.1",
44+
"@rescript/react": "^0.14.0",
4545
"@rescript/webapi": "0.1.0-experimental-29db5f4",
4646
"@tsnobip/rescript-lezer": "^0.6.0",
4747
"docson": "^2.1.0",
@@ -67,7 +67,7 @@
6767
"remark-frontmatter": "^5.0.0",
6868
"remark-gfm": "^4.0.1",
6969
"remark-validate-links": "^13.1.0",
70-
"rescript": "^12.0.0-rc.5",
70+
"rescript": "^12.0.0",
7171
"unified": "^11.0.5",
7272
"vfile-matter": "^5.0.0"
7373
},

yarn.lock

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,35 +1921,35 @@ __metadata:
19211921
languageName: node
19221922
linkType: hard
19231923

1924-
"@rescript/darwin-arm64@npm:12.0.0-rc.5":
1925-
version: 12.0.0-rc.5
1926-
resolution: "@rescript/darwin-arm64@npm:12.0.0-rc.5"
1924+
"@rescript/darwin-arm64@npm:12.0.0":
1925+
version: 12.0.0
1926+
resolution: "@rescript/darwin-arm64@npm:12.0.0"
19271927
conditions: os=darwin & cpu=arm64
19281928
languageName: node
19291929
linkType: hard
19301930

1931-
"@rescript/darwin-x64@npm:12.0.0-rc.5":
1932-
version: 12.0.0-rc.5
1933-
resolution: "@rescript/darwin-x64@npm:12.0.0-rc.5"
1931+
"@rescript/darwin-x64@npm:12.0.0":
1932+
version: 12.0.0
1933+
resolution: "@rescript/darwin-x64@npm:12.0.0"
19341934
conditions: os=darwin & cpu=x64
19351935
languageName: node
19361936
linkType: hard
19371937

1938-
"@rescript/linux-arm64@npm:12.0.0-rc.5":
1939-
version: 12.0.0-rc.5
1940-
resolution: "@rescript/linux-arm64@npm:12.0.0-rc.5"
1938+
"@rescript/linux-arm64@npm:12.0.0":
1939+
version: 12.0.0
1940+
resolution: "@rescript/linux-arm64@npm:12.0.0"
19411941
conditions: os=linux & cpu=arm64
19421942
languageName: node
19431943
linkType: hard
19441944

1945-
"@rescript/linux-x64@npm:12.0.0-rc.5":
1946-
version: 12.0.0-rc.5
1947-
resolution: "@rescript/linux-x64@npm:12.0.0-rc.5"
1945+
"@rescript/linux-x64@npm:12.0.0":
1946+
version: 12.0.0
1947+
resolution: "@rescript/linux-x64@npm:12.0.0"
19481948
conditions: os=linux & cpu=x64
19491949
languageName: node
19501950
linkType: hard
19511951

1952-
"@rescript/react@npm:^0.14.0-rc.1":
1952+
"@rescript/react@npm:^0.14.0":
19531953
version: 0.14.0
19541954
resolution: "@rescript/react@npm:0.14.0"
19551955
peerDependencies:
@@ -1959,10 +1959,10 @@ __metadata:
19591959
languageName: node
19601960
linkType: hard
19611961

1962-
"@rescript/runtime@npm:12.0.0-rc.5":
1963-
version: 12.0.0-rc.5
1964-
resolution: "@rescript/runtime@npm:12.0.0-rc.5"
1965-
checksum: 10c0/aff1b5d1969094912cb8d2c0c1f968ba25cfe5c49d5180d82588dcae1ab0866dca35b3166d5f5e03c6138a5be564e10865136e871cb699495be72b51fc8f2b0f
1962+
"@rescript/runtime@npm:12.0.0":
1963+
version: 12.0.0
1964+
resolution: "@rescript/runtime@npm:12.0.0"
1965+
checksum: 10c0/32121f3a78154cf9ab8ae4939819b9807d4a70552d7c2594872f838456c63026eddca4d6b562220fe5431d56afa96e0e276f09e5d9028b15b03f2570a52f1d30
19661966
languageName: node
19671967
linkType: hard
19681968

@@ -1975,9 +1975,9 @@ __metadata:
19751975
languageName: node
19761976
linkType: hard
19771977

1978-
"@rescript/win32-x64@npm:12.0.0-rc.5":
1979-
version: 12.0.0-rc.5
1980-
resolution: "@rescript/win32-x64@npm:12.0.0-rc.5"
1978+
"@rescript/win32-x64@npm:12.0.0":
1979+
version: 12.0.0
1980+
resolution: "@rescript/win32-x64@npm:12.0.0"
19811981
conditions: os=win32 & cpu=x64
19821982
languageName: node
19831983
linkType: hard
@@ -8119,7 +8119,7 @@ __metadata:
81198119
"@react-router/dev": "npm:^7.8.1"
81208120
"@react-router/node": "npm:^7.8.1"
81218121
"@replit/codemirror-vim": "npm:^6.3.0"
8122-
"@rescript/react": "npm:^0.14.0-rc.1"
8122+
"@rescript/react": "npm:^0.14.0"
81238123
"@rescript/webapi": "npm:0.1.0-experimental-29db5f4"
81248124
"@tailwindcss/vite": "npm:^4.1.13"
81258125
"@tsnobip/rescript-lezer": "npm:^0.6.0"
@@ -8155,7 +8155,7 @@ __metadata:
81558155
remark-frontmatter: "npm:^5.0.0"
81568156
remark-gfm: "npm:^4.0.1"
81578157
remark-validate-links: "npm:^13.1.0"
8158-
rescript: "npm:^12.0.0-rc.5"
8158+
rescript: "npm:^12.0.0"
81598159
search-insights: "npm:^2.17.3"
81608160
tailwindcss: "npm:^4"
81618161
to-vfile: "npm:^8.0.0"
@@ -8169,16 +8169,16 @@ __metadata:
81698169
languageName: unknown
81708170
linkType: soft
81718171

8172-
"rescript@npm:^12.0.0-beta.3, rescript@npm:^12.0.0-rc.5":
8173-
version: 12.0.0-rc.5
8174-
resolution: "rescript@npm:12.0.0-rc.5"
8172+
"rescript@npm:^12.0.0, rescript@npm:^12.0.0-beta.3":
8173+
version: 12.0.0
8174+
resolution: "rescript@npm:12.0.0"
81758175
dependencies:
8176-
"@rescript/darwin-arm64": "npm:12.0.0-rc.5"
8177-
"@rescript/darwin-x64": "npm:12.0.0-rc.5"
8178-
"@rescript/linux-arm64": "npm:12.0.0-rc.5"
8179-
"@rescript/linux-x64": "npm:12.0.0-rc.5"
8180-
"@rescript/runtime": "npm:12.0.0-rc.5"
8181-
"@rescript/win32-x64": "npm:12.0.0-rc.5"
8176+
"@rescript/darwin-arm64": "npm:12.0.0"
8177+
"@rescript/darwin-x64": "npm:12.0.0"
8178+
"@rescript/linux-arm64": "npm:12.0.0"
8179+
"@rescript/linux-x64": "npm:12.0.0"
8180+
"@rescript/runtime": "npm:12.0.0"
8181+
"@rescript/win32-x64": "npm:12.0.0"
81828182
dependenciesMeta:
81838183
"@rescript/darwin-arm64":
81848184
optional: true
@@ -8196,7 +8196,7 @@ __metadata:
81968196
rescript: cli/rescript.js
81978197
rescript-legacy: cli/rescript-legacy.js
81988198
rescript-tools: cli/rescript-tools.js
8199-
checksum: 10c0/39cb496077f3f3504ae2b18837fcc38ea4d5de1e351fe6e0d915728403ea229391ab2a82ea72c29e8632eb1790ac60833ccce564c03f4c0293b8c00b14749e58
8199+
checksum: 10c0/8fc92a806d86825fe593cc2c23accc39c95236b4885f9c6d9874fc1b375dd6dd07f8a99ef4c8bbbb273a6f44d47439b5cb4a62577a57ab9ecb0c7ad15021846c
82008200
languageName: node
82018201
linkType: hard
82028202

0 commit comments

Comments
 (0)