[TS v2] Adopt native TypeScript 7
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- storybook, typescript
- Lĩnh vực
- build-system, developer-experience, testing-qa
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
tscCLI, 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: trueandskipLibCheck: false; the supported consumer TypeScript versions are documented. - Lint, Jest, Storybook build, E2E and package contracts pass on the actual CI environment.
- Ngôn ngữ chính
- TypeScript
- Star
- 145
- Fork
- 12
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của gravity-ui/graph
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
gravity-ui/graph#457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
gravity-ui/graph#455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
gravity-ui/graph#456 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
gravity-ui/graph#431 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
proposal
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
gravity-ui/graph#416 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của gravity-ui/graph
Issue tương tự
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openclaw/openclaw#199885 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
feature needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BoardGamesEmpire/board-games-empire-backend#1306 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
sequant-io/sequant#1689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100