Skip to content

Commit 3f3cf36

Browse files
authored
Update @rescript/react to v0.13.1 for ReScript v12 support (#94)
* Vite template: update @rescript/react from v0.13.0 to v0.13.1 * Next template: update @rescript/react from v0.13.0 to v0.13.1 * Remove outdated notice in Next template README regarding lockfile version
1 parent 1417348 commit 3f3cf36

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

templates/rescript-template-nextjs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ This is a NextJS based template with following setup:
99
- Some ReScript Bindings for Next to get you started
1010
- Preconfigured Dependencies: `@rescript/react`
1111

12-
**Note:** This setup is based on the `v1` `package-lock` format utilized by `npm@6`. If you want to use the newer `v2` version, delete the `package-lock.json` file and install the dependencies with `npm@7`.
13-
1412
## Development
1513

1614
Run ReScript in dev mode:

templates/rescript-template-nextjs/package-lock.json

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

templates/rescript-template-nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Patrick Ecker <[email protected]>",
55
"license": "Apache-2.0",
66
"dependencies": {
7-
"@rescript/react": "^0.13.0",
7+
"@rescript/react": "^0.13.1",
88
"next": "^15.1.6",
99
"react": "^19.0.0",
1010
"react-dom": "^19.0.0"

templates/rescript-template-vite/package-lock.json

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

templates/rescript-template-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preview": "vite preview"
1313
},
1414
"dependencies": {
15-
"@rescript/react": "^0.13.0",
15+
"@rescript/react": "^0.13.1",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0"
1818
},

0 commit comments

Comments
 (0)