[TS v2] Adopt native TypeScript 7

Abierto
#387 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
storybook, typescript

Línea de trabajo

Start with the v2 build and package-contract configuration, then review the prerequisites and readiness checks in this issue, including #353, #367, and the TypeScript 7 compatibility tooling removed in #386. Check whether typescript-eslint and Storybook docgen support TypeScript 7, then run the build, declaration emit, package-contract consumers, lint, Jest, Storybook build, and E2E on the CI environment. Done means all acceptance criteria pass and supported consumer TypeScript versions are documented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Goal

Move the v2 workspace from TypeScript 6.0 to native TypeScript 7 for builds, declaration emit and type checks, as a separate task after the strict track (#353).

Target branch: v2. Not a prerequisite for #353.

Why deferred

TypeScript 7 is a new major release. #386 removed the TypeScript 7 compatibility tooling so that #353 targets TypeScript 6.0.3 only. An earlier probe with TypeScript 7.0.2 found no blockers in the sources: all source configs typechecked, the publish configs emitted declarations and the consumer fixtures passed.

Prerequisites

  • typescript-eslint supports TypeScript 7 (type-aware lint uses the JS compiler API).
  • Storybook docgen (react-docgen-typescript) supports TypeScript 7 or is replaced.
  • scripts/strict-diagnostics.mjs (classic API) is retired by #367.

Readiness kept by the strict track

  • Zero TypeScript 6 deprecation diagnostics without ignoreDeprecations.
  • Repository scripts use only the tsc CLI, never the compiler API.
  • Strict projects without an allowed-error baseline.

Acceptance criteria

  • Builds and declaration emit use TypeScript 7; commands identify the compiler they run.
  • Packed public types pass the package-contract consumers with strict: true and skipLibCheck: false; the supported consumer TypeScript versions are documented.
  • Lint, Jest, Storybook build, E2E and package contracts pass on the actual CI environment.
Lenguaje dominante
TypeScript
Estrellas
145
Forks
12
Merge medio
1 d 14 h
PR fusionados (30 d)
43

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de gravity-ui/graph

Todos los issues de gravity-ui/graph

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.