Skip to content

Upgrade to ReScript 12#24

Merged
zth merged 2 commits into
zth:rescriptfrom
JonoPrest:claude/upgrade-rescript-12-Qk3mm
May 23, 2026
Merged

Upgrade to ReScript 12#24
zth merged 2 commits into
zth:rescriptfrom
JonoPrest:claude/upgrade-rescript-12-Qk3mm

Conversation

@JonoPrest
Copy link
Copy Markdown

Hey @zth just a quick one I thought would be helpful.

- Bump rescript to 12.2.0 in cli and example packages
- Bump @rescript/tools to 0.6.6 and peerDep to >= 12.0.0
- Drop @rescript/core dependency from example (Stdlib is now bundled)
- Remove -open RescriptCore flag and rename bs-dependencies to dependencies
  in example/rescript.json
- Replace deprecated APIs: Js.Null.t -> Null.t, Js.Json.t -> JSON.t,
  Option.getExn -> Option.getOrThrow, Exn.Error -> JsExn
- Regenerate gentype output for the new module resolution
The previous commit captured gentype output that had been generated
before the cli package was fully built, which produced relative
'./PgTyped.gen' imports. Re-running the full monorepo build restores
the correct 'pgtyped-rescript/src/res/PgTyped.gen' module reference.
@zth zth merged commit ef14bca into zth:rescript May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants