Skip to content

upgrade ts6#6986

Merged
c121914yu merged 2 commits into
labring:mainfrom
c121914yu:codex-upgrade-ts6
May 26, 2026
Merged

upgrade ts6#6986
c121914yu merged 2 commits into
labring:mainfrom
c121914yu:codex-upgrade-ts6

Conversation

@c121914yu
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 26, 2026 04:10
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 13.96% 1140 / 8161
🔵 Statements 13.95% 1195 / 8564
🔵 Functions 12.47% 245 / 1964
🔵 Branches 11.94% 536 / 4489
File CoverageNo changed files found.
Generated in workflow #431 for commit 65dfe01 by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 typescript catalog version to ^6.0.3 and propagate usage via "catalog:" in package manifests (plus lockfile refresh).
  • Update multiple tsconfig.json files (notably test configs) to adjust paths mappings and switch some configs to moduleResolution: "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.

Comment thread test/tsconfig.json
Comment on lines 3 to +7
"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,
Comment on lines 3 to +7
"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"],
Comment on lines 3 to +7
"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,
Comment on lines 3 to +7
"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"],
Comment on lines 3 to +7
"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"],
Comment thread document/tsconfig.json
Comment on lines 1 to 5
{
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
@github-actions
Copy link
Copy Markdown

Docs Preview Deployed!

🔗 👀 Click here to visit preview

ghcr.io/labring/fastgpt-docs-pr:65dfe0135878e250cb756a1d2574f141aebf5854

🕒 Time: 2026-05-26 12:23:00 (UTC+8)

@github-actions
Copy link
Copy Markdown

Build Successful - Preview code-sandbox Image for this PR:

ghcr.io/labring/fastgpt-pr:code-sandbox_65dfe0135878e250cb756a1d2574f141aebf5854

🕒 Time: 2026-05-26 12:28:11 (UTC+8)

@github-actions
Copy link
Copy Markdown

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_65dfe0135878e250cb756a1d2574f141aebf5854

🕒 Time: 2026-05-26 12:28:15 (UTC+8)

@github-actions
Copy link
Copy Markdown

Build Successful - Preview mcp_server Image for this PR:

ghcr.io/labring/fastgpt-pr:mcp_server_65dfe0135878e250cb756a1d2574f141aebf5854

🕒 Time: 2026-05-26 12:29:04 (UTC+8)

@github-actions
Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_65dfe0135878e250cb756a1d2574f141aebf5854

🕒 Time: 2026-05-26 12:32:04 (UTC+8)

@c121914yu c121914yu merged commit 6e95cfb into labring:main May 26, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants