Conversation
chenyme
marked this pull request as draft
July 16, 2026 05:58
chenyme
marked this pull request as ready for review
July 16, 2026 06:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade the frontend compiler to the stable TypeScript 7.0.2 release.
Because Next.js 16.2 and the current
typescript-eslintparser still depend on the legacy TypeScript Compiler API, isolate the existing ESLint toolchain in a private pnpm workspace using TypeScript 5.9. Application code continues to compile exclusively with TypeScript 7.Add explicit TypeScript 7 checks before development and production builds, adapt Next.js compatibility handling, and update the Docker dependency layer for the new workspace structure.
Change type
Affected areas
Verification
cd frontend && pnpm install --frozen-lockfile --offlinecd frontend && pnpm typecheckcd frontend && pnpm lintcd frontend && pnpm build/admin/statisticsreturned HTTP 200docker build --target frontend-builder -t deeix-chat-frontend-ts7-check .git diff --checkScreenshots, API examples, or logs
Not applicable. This change does not alter user-facing UI or public APIs.
Configuration, migration, and compatibility notes
7.0.2.baseUrlcompiler option was deleted; existing@/*path aliases remain valid.typescript-eslintsupports TypeScript 7.predevandprebuildrun the TypeScript 7 CLI before Next.js starts.Documentation
Security and privacy
Checklist
.pycfiles,.envfiles, and local storage data are not committed.