Skip to content

fix: make Bun installs use the isolated linker#6

Open
paul-bouzian wants to merge 1 commit intoEmanuele-web04:mainfrom
paul-bouzian:fix/explicit-bun-isolated-linker
Open

fix: make Bun installs use the isolated linker#6
paul-bouzian wants to merge 1 commit intoEmanuele-web04:mainfrom
paul-bouzian:fix/explicit-bun-isolated-linker

Conversation

@paul-bouzian
Copy link
Copy Markdown
Contributor

Summary

  • Make the Bun install layout explicit for this monorepo instead of relying on Bun version defaults
  • Prevent workspace prepare scripts from failing when @effect/language-service expects a workspace-local ./node_modules/typescript
  • Keep the existing Bun 1.3.9 project expectation while making installs more robust for contributors on older or migrated setups

Changes

  • Add a root bunfig.toml with install.linker = "isolated"
  • Align the workspace install layout with what the existing effect-language-service patch prepare scripts already assume
  • Avoid the scripts/node_modules/typescript/package.json lookup failure during bun install

Testing

  • bun install - Pass
  • bun run fmt - Pass
  • bun run lint - Pass with existing repository warnings and no errors
  • bun run typecheck - Pass

Notes

  • The repository already declares bun@1.3.9 in package.json and .mise.toml; this change makes the required monorepo install layout explicit instead of relying on Bun defaults

Add a root bunfig.toml that forces Bun's isolated linker for this
workspace.

The repo already targets Bun 1.3.9, where this monorepo layout is the
expected default, but making the linker explicit keeps installs working
when contributors are on older or migrated Bun setups and avoids
workspace prepare-script failures from @effect/language-service.

Co-authored-by: Codex <noreply@openai.com>
@github-actions github-actions Bot added size:XS vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants