Skip to content

Complete full adoption of TS7 / tsgo #1577

@lightwalker-eth

Description

@lightwalker-eth

Background info

  • TS7 doesn't have a full release yet, but is generally mature already.
  • To optimize build times an upgrade to TS7 was implemented with Replace tsc with tsgo for 47% faster type checking #1574
  • PR 1574:
    • skipped transitioning ENSIndexer to TS7 because TS7 / Ponder aren't compatible with each other yet.
    • made use of a preview (non-final) release of TS7: "@typescript/native-preview": "7.0.0-dev.20260128.1"

Goals

  1. Complete a full transition of all apps / packages across the ENSNode monorepo to TS7, including ENSIndexer.
  2. Update the devDependencies in the root package.json file to switch to a full (non-preview) release of TS7 / tsgo once Microsoft makes a full TS7 release.

For investigation

  1. Should we also update VSCode settings in .vscode/settings.json to make use of TS7 / tsgo? For example:
{
    "typescript.experimental.useTsgo": true
}
  1. Do we still need to explicitly set rootDir in some of our tsconfig.json files? Maybe these explicit rootDir configs can be removed now? Needs verification. Background info: Assume rootDir is the current configuration directory microsoft/TypeScript#62194 was closed as part of the work on TS7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevOps relatedensindexerENSIndexer related

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions