[codex] Use TS6 and TSGO for typechecking#10
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
📜 Recent review details🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,ts,jsx,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (40)📓 Common learnings📚 Learning: 2025-07-23T12:51:43.299ZApplied to files:
📚 Learning: 2025-07-23T12:51:10.961ZApplied to files:
📚 Learning: 2026-03-19T22:57:45.114ZApplied to files:
📚 Learning: 2026-04-16T03:27:04.353ZApplied to files:
📚 Learning: 2026-02-20T14:21:19.208ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-02-20T14:21:40.180ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-11-07T16:17:07.589ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-01-31T11:24:55.220ZApplied to files:
📚 Learning: 2026-03-19T22:57:19.913ZApplied to files:
📚 Learning: 2026-03-19T22:57:33.411ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-07-23T12:51:10.961ZApplied to files:
📚 Learning: 2026-02-20T14:21:19.208ZApplied to files:
📚 Learning: 2026-03-19T16:08:15.951ZApplied to files:
📚 Learning: 2025-07-23T12:51:10.961ZApplied to files:
📚 Learning: 2025-07-23T12:51:43.299ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-03-19T22:57:33.411ZApplied to files:
📚 Learning: 2025-07-23T12:51:10.961ZApplied to files:
📚 Learning: 2026-03-19T22:58:00.031ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-03-19T22:57:33.411ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-02-20T14:21:40.180ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-03-19T22:57:33.411ZApplied to files:
📚 Learning: 2025-07-23T12:51:10.961ZApplied to files:
📚 Learning: 2026-03-19T22:57:33.411ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2026-04-18T15:01:52.722ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
📚 Learning: 2025-12-17T14:48:41.563ZApplied to files:
🔍 Remote MCPI've encountered rate limits with Context7. Let me search for publicly available information about these technologies to help you review this PR.## Summary of Additional Context for PR Review Based on my research, here is the relevant context for reviewing this TypeScript 6 and tsgo migration PR: Understanding tsgo and
|
| Cohort / File(s) | Summary |
|---|---|
TypeScript Upgrade & Tooling package.json, apps/docs-smoke/package.json, packages/docs/package.json |
Upgrades typescript devDependency from 5.9.2 to 6.0.3 and adds @typescript/native-preview devDependency. Type-checking scripts switched from tsc to tsgo in apps/docs-smoke and packages/docs. |
TypeScript Configuration Updates apps/docs-smoke/tsconfig.json, packages/docs/tsconfig.json |
Removes explicit baseUrl setting, expands compilerOptions.types to include Node typings, and adds comprehensive path aliases mapping @inth/docs/* to entry files under packages/docs/src. |
Build Configuration Updates packages/docs/tsup.config.ts |
Modifies dts generation configuration from boolean to structured object, adding compilerOptions.ignoreDeprecations: "6.0" to handle TypeScript 6.0 deprecation diagnostics. |
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
- [backend] Efficient subject lookup with indexing and pagination dsar#9 — Related TypeScript tooling migration switching from tsc to tsgo and upgrading TypeScript with native-preview integration.
- inthhq/monorepo#465 — Part of the broader TypeScript 6 and tsgo migration effort with matching configuration and dependency updates.
Poem
🐰 Hops of joy for TypeScript six!
tsgospeeds the type-check fix,
Nodes and paths align just right,
Deprecations fade from sight! ✨
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly and concisely summarizes the main changes: upgrading to TypeScript 6 and switching to TSGO for typechecking, which are the core objectives of this pull request. |
| Description check | ✅ Passed | The description is directly related to the changeset, providing specific details about TypeScript 6.0.3 upgrade, @typescript/native-preview addition, tsgo integration, configuration adjustments, and validation performed. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
Comment @coderabbitai help to get the list of available commands and usage tips.
Updates the repo to TypeScript 6.0.3 and adds @typescript/native-preview so package typecheck scripts run via tsgo --noEmit. Adjusts TS6 config by removing deprecated baseUrl usage in the smoke app, adding explicit ambient types, and mapping @inth/docs subpaths to workspace source for prebuild typechecking. Adds a tsup DTS deprecation override needed because tsup injects baseUrl during declaration bundling under TS6. Validated with bun run check-types, bun run check, bun run build, and the commit hook package test suite.