Skip to content

docs: note pnpm hoisting caveat for @rescript/runtime#1254

Merged
jderochervlk merged 1 commit intorescript-lang:masterfrom
JonoPrest:jono-add-runtime-docs
Apr 19, 2026
Merged

docs: note pnpm hoisting caveat for @rescript/runtime#1254
jderochervlk merged 1 commit intorescript-lang:masterfrom
JonoPrest:jono-add-runtime-docs

Conversation

@JonoPrest
Copy link
Copy Markdown
Contributor

pnpm's strict isolation does not expose transitive dependencies at the app root, so ReScript-compiled JS importing @rescript/runtime fails to resolve. Add a callout to the installation and v12 migration docs explaining the two workarounds (direct install or publicHoistPattern in pnpm-workspace.yaml) and fix a small typo while at it.

Related issue: rescript-lang/rescript#8357

pnpm's strict isolation does not expose transitive dependencies at
the app root, so ReScript-compiled JS importing @rescript/runtime
fails to resolve. Add a callout to the installation and v12 migration
docs explaining the two workarounds (direct install or publicHoistPattern
in pnpm-workspace.yaml) and fix a small typo while at it.
@jderochervlk jderochervlk added the ok-to-deploy Trigger deployment if you are sure a PR is safe to deploy. label Apr 19, 2026
@github-actions
Copy link
Copy Markdown

Fork PR Cloudflare deployment

PR: #1254
Deployement ID: 216cc986-fc24-452e-8fdc-c6eb74082df5
Deployment Environment: preview

⛅️ wrangler 4.61.1 (update available 4.83.0)
─────────────────────────────────────────────
✨ Compiled Worker successfully
Uploading... (7364/7845)
Uploading... (7524/7845)
Uploading... (7684/7845)
Uploading... (7845/7845)
✨ Success! Uploaded 481 files (7364 already uploaded) (5.36 sec)

✨ Uploading _redirects
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://216cc986.rescript-lang.pages.dev
✨ Deployment alias URL: https://head.rescript-lang.pages.dev

@jderochervlk jderochervlk merged commit e27f46a into rescript-lang:master Apr 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-deploy Trigger deployment if you are sure a PR is safe to deploy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants