Skip to content

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

Open
JonoPrest wants to merge 1 commit intorescript-lang:masterfrom
JonoPrest:jono-add-runtime-docs
Open

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

Conversation

@JonoPrest
Copy link
Copy Markdown

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.
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.

1 participant