upgrade ts6#6986
Conversation
Coverage Report
File CoverageNo changed files found. |
There was a problem hiding this comment.
Pull request overview
This PR upgrades the monorepo’s TypeScript toolchain to v6 via pnpm catalog versions and aligns various project/test tsconfigs and tooling settings with the new setup.
Changes:
- Bump
typescriptcatalog version to^6.0.3and propagate usage via"catalog:"in package manifests (plus lockfile refresh). - Update multiple
tsconfig.jsonfiles (notably test configs) to adjustpathsmappings and switch some configs tomoduleResolution: "bundler". - Update developer/docs artifacts (VS Code settings and self-host upgrade notes + doc timestamps).
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| test/tsconfig.json | Updates path aliases and switches module resolution mode for the root test config. |
| sdk/storage/package.json | Moves tsdown/typescript devDependencies to pnpm catalog:. |
| sdk/sandbox-adapter/tsconfig.json | Removes baseUrl while keeping path aliases. |
| projects/marketplace/tsconfig.json | Adjusts path aliases (adds sdk alias entries) and removes baseUrl. |
| projects/marketplace/test/tsconfig.json | Switches module resolution to bundler and removes baseUrl. |
| projects/app/tsconfig.json | Adjusts path aliases (adds sdk alias entries) and removes baseUrl. |
| projects/app/test/tsconfig.json | Switches module resolution to bundler and removes baseUrl. |
| packages/service/test/tsconfig.json | Updates alias paths and removes baseUrl. |
| packages/global/test/tsconfig.json | Updates alias paths and removes baseUrl. |
| pnpm-workspace.yaml | Bumps the typescript catalog version to ^6.0.3. |
| package.json | Adds @types/node via catalog: at the repo root. |
| document/tsconfig.json | Removes baseUrl (while still using paths). |
| document/package.json | Moves typescript devDependency to catalog:. |
| pnpm-lock.yaml | Lockfile refresh reflecting TS6 and related dependency graph changes. |
| document/data/doc-last-modified.json | Updates generated doc modified timestamp. |
| document/content/self-host/upgrading/4-15/41503.mdx | Adds an upgrade note mentioning TS6. |
| .vscode/settings.json | Adds typescript.tsdk setting (keeps existing TS SDK path). |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "compilerOptions": { | ||
| "baseUrl": "..", | ||
| "paths": { | ||
| "@fastgpt-sdk/storage": ["sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["sdk/otel/src/logger-entry.ts"], | ||
| "@fastgpt-sdk/otel/metrics": ["sdk/otel/src/metrics-entry.ts"], | ||
| "@fastgpt-sdk/otel/tracing": ["sdk/otel/src/tracing-entry.ts"], | ||
| "@fastgpt/*": ["packages/*"], | ||
| "@test/*": ["test/*"], | ||
| "@/*": ["projects/app/src/*"] | ||
| "@fastgpt-sdk/storage": ["../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["../sdk/otel/src/logger-entry.ts"], |
| @@ -13,7 +13,6 @@ | |||
| "moduleDetection": "force", | |||
| "skipLibCheck": true, | |||
| "noEmit": true, | |||
| "compilerOptions": { | ||
| "baseUrl": ".", | ||
| "paths": { | ||
| "@fastgpt-sdk/storage": ["../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["../../sdk/otel/src/logger-entry.ts"], |
| "compilerOptions": { | ||
| "baseUrl": ".", | ||
| "paths": { | ||
| "@fastgpt-sdk/storage": ["../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["../../sdk/otel/src/logger-entry.ts"], |
| "resolveJsonModule": true, | ||
| "isolatedModules": true, | ||
| "jsx": "preserve", | ||
| "incremental": true, |
| "resolveJsonModule": true, | ||
| "isolatedModules": true, | ||
| "jsx": "preserve", | ||
| "incremental": true, |
| "compilerOptions": { | ||
| "baseUrl": "..", | ||
| "paths": { | ||
| "@/*": ["../../projects/app/src/*"], | ||
| "@fastgpt-sdk/storage": ["../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["../../sdk/otel/src/logger-entry.ts"], | ||
| "@fastgpt-sdk/otel/metrics": ["../../sdk/otel/src/metrics-entry.ts"], | ||
| "@fastgpt-sdk/otel/tracing": ["../../sdk/otel/src/tracing-entry.ts"], | ||
| "@fastgpt/*": ["../../packages/*"], | ||
| "@test/*": ["../../test/*"] | ||
| "@/*": ["../../../projects/app/src/*"], | ||
| "@fastgpt-sdk/storage": ["../../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../../sdk/otel/src/index.ts"], |
| "compilerOptions": { | ||
| "baseUrl": "..", | ||
| "paths": { | ||
| "@/*": ["../../packages/*"], | ||
| "@fastgpt-sdk/storage": ["../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../sdk/otel/src/index.ts"], | ||
| "@fastgpt-sdk/otel/logger": ["../../sdk/otel/src/logger-entry.ts"], | ||
| "@fastgpt-sdk/otel/metrics": ["../../sdk/otel/src/metrics-entry.ts"], | ||
| "@fastgpt-sdk/otel/tracing": ["../../sdk/otel/src/tracing-entry.ts"], | ||
| "@fastgpt/*": ["../../packages/*"], | ||
| "@test/*": ["../../test/*"] | ||
| "@/*": ["../../../packages/*"], | ||
| "@fastgpt-sdk/storage": ["../../../sdk/storage/src/index.ts"], | ||
| "@fastgpt-sdk/otel": ["../../../sdk/otel/src/index.ts"], |
| { | ||
| "compilerOptions": { | ||
| "baseUrl": ".", | ||
| "target": "ESNext", | ||
| "lib": ["dom", "dom.iterable", "esnext"], | ||
| "allowJs": true, |
|
✅ Docs Preview Deployed! 🔗 👀 Click here to visit preview 🕒 Time: 2026-05-26 12:23:00 (UTC+8) |
|
✅ Build Successful - Preview code-sandbox Image for this PR: 🕒 Time: 2026-05-26 12:28:11 (UTC+8) |
|
✅ Build Successful - Preview fastgpt Image for this PR: 🕒 Time: 2026-05-26 12:28:15 (UTC+8) |
|
✅ Build Successful - Preview mcp_server Image for this PR: 🕒 Time: 2026-05-26 12:29:04 (UTC+8) |
|
✅ Admin Preview Image Ready! 🕒 Time: 2026-05-26 12:32:04 (UTC+8) |
No description provided.