Skip to content

fix(ci): 修复 CI 构建缺少 core 类型声明文件 - #10

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

fix(ci): 修复 CI 构建缺少 core 类型声明文件#10
honlnk merged 1 commit into
masterfrom
dev

Conversation

@honlnk

@honlnk honlnk commented Jun 3, 2026

Copy link
Copy Markdown
Owner

app 的 tsconfig 通过 references 引用 core 包,vue-tsc 需要 core 的 dist/ 目录中有 .d.ts 声明文件。CI 全新环境没有这些文件导致
TS6305 报错。

  • core 包新增 build 脚本(tsc --build)生成类型声明
  • 根 build 脚本改为先构建 core 再构建 app

@honlnk
honlnk merged commit 06c5876 into master Jun 3, 2026
1 check passed
app 的 tsconfig 通过 references 引用 core 包,vue-tsc 需要 core
的 dist/ 目录中有 .d.ts 声明文件。CI 全新环境没有这些文件导致
TS6305 报错。

- core 包新增 build 脚本(tsc --build)生成类型声明
- 根 build 脚本改为先构建 core 再构建 app

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