Skip to content

Proposal: align TypeScript versions across packages #3133

Description

@luojiyin1987

Align TypeScript versions across the monorepo (root and packages) so lerna run build and editor tooling use the same compiler version.

Motivation

Root package.json uses typescript@5.7.2 while many packages pin typescript@5.2.2. lerna run build executes tsc in each package using the local devDependency, which can lead to inconsistent diagnostics and potentially different .d.ts output between packages and root tooling.

Pitch

Update all package devDependencies to match the root TypeScript version (or remove per-package TypeScript devDependencies so the root version is used). If there is a compatibility reason to keep 5.2.2, documenting that rationale would also help.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions