Skip to content

Proposal: align TypeScript versions across packages #3133

@luojiyin1987

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.

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