[TS v2] Adopt native TypeScript 7

オープン
#387 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
storybook, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
145
フォーク
12
平均マージ
1日 14時間
マージ済み PR(30日)
43

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

gravity-ui/graph のほかの issue

gravity-ui/graph の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。