Skip to content

fix(ci): 修复 CI 构建 TS6305 错误 - #11

Merged
honlnk merged 1 commit into
masterfrom
dev
Jun 3, 2026
Merged

fix(ci): 修复 CI 构建 TS6305 错误#11
honlnk merged 1 commit into
masterfrom
dev

Conversation

@honlnk

@honlnk honlnk commented Jun 3, 2026

Copy link
Copy Markdown
Owner

根因是 app 的 tsconfig.json 配置了 composite + declaration + references 指向 core 包,导致 vue-tsc 要求 core 的 dist/ 中有 .d.ts 文件。
但 core 是源码直出包(exports 指向 .ts 源文件),不需要预编译。

移除 app tsconfig 中不必要的 composite、declaration、outDir 和 references 配置,vue-tsc 直接解析 core 源码即可。

@honlnk
honlnk merged commit 2c83a91 into master Jun 3, 2026
1 check passed
根因是 app 的 tsconfig.json 配置了 composite + declaration + references
指向 core 包,导致 vue-tsc 要求 core 的 dist/ 中有 .d.ts 文件。
但 core 是源码直出包(exports 指向 .ts 源文件),不需要预编译。

移除 app tsconfig 中不必要的 composite、declaration、outDir 和
references 配置,vue-tsc 直接解析 core 源码即可。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant