Skip to content

[FEATURE] Collapse the 26 remaining per-workspace tsconfigs onto the root base (blocked on Bun paths-inheritance) #887

Description

@Noisemaker111

Problem

The root base tsconfig shipped (PR #857 for combined-critique #56), but only the 3 paths-free tsconfigs actually extend it and drop their duplicated compiler flags. The other 26 still repeat target/module/strict (drift risk) because each must keep a local paths block — and they can't inherit paths from the base yet.

Context

  • Bun's test runner does not inherit tsconfig paths through extends (upstream bug oven-sh/bun#23695). If a leaf tsconfig extends the base and relies on inherited paths, bun test silently fails to resolve @jgengine/*.
  • tsgo separately rejects baseUrl (TS5102), so the classic baseUrl workaround isn't available either.
  • This is the documented "trap Harvest: first-person looter-shooter engine hardening #2" in the critique-remainder work; the base + the 3 clean extenders already landed.

Suggested scope

  1. Watch oven-sh/bun#23695; when Bun honors inherited paths, collapse the remaining 26 leaf tsconfigs onto the base in one regex sweep (drop the duplicated flags, keep only paths + per-package specifics).
  2. Verify with bun test in each affected package before shipping (the inheritance is the whole point of the blocker).
  3. Until then, leave the 26 as-is — do not extend-and-inherit paths, it breaks bun test.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions