Skip to content

Migrate to TypeScript 6 #114

@benzsevern

Description

Track the TypeScript 5 → 6 migration.

Spec: docs/superpowers/specs/2026-05-28-typescript-6-migration-design.md

TL;DR

Not really our migration. The only CI failure under TS 6 is a single TS5101: 'baseUrl' is deprecated error emitted from tsup's internal build, not from any of our tsconfigs (which don't set baseUrl).

Recommended path

Wait for tsup to stop emitting baseUrl upstream, then bump typescript + tsup together. Fallback (if TS 6 becomes urgent before tsup is fixed) is to add "ignoreDeprecations": "6.0" in our tsconfigs.

When to revisit

  • A tsup release that fixes the deprecation (watch tsup's changelog).
  • A downstream consumer reports their TS 6 typecheck against our published .d.ts fails (the deprecation only fires on tsup's build, not on consumer typecheck — but verify).
  • Approaching TS 7 (the ignoreDeprecations flag stops working there).

See spec for the full three-option analysis, verification plan, and rollback.

(Closes-out point for the dependabot PR #106, which is being closed as superseded by this tracking issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions