Skip to content

refactor(build): migrate to Vite 8 monorepo packaging - #402

Open
RSS1102 wants to merge 72 commits into
nextfrom
rss1102/refactor/rollup-build-config
Open

refactor(build): migrate to Vite 8 monorepo packaging#402
RSS1102 wants to merge 72 commits into
nextfrom
rss1102/refactor/rollup-build-config

Conversation

@RSS1102

@RSS1102 RSS1102 commented Jun 12, 2026

Copy link
Copy Markdown
Member

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

carolin913 and others added 22 commits February 3, 2026 21:40
* feat(chatengine): 兼容toolcall并发模式

* feat(chatengine): support activity event agui

* test(markdown): 测试cherry esm

* feat(chatengine): support activity history

* feat(chatsender): readytosend props

---------

Co-authored-by: brightzhli <864345220@qq.com>
* fix(chat-item): user text auto width

* chore(chat-item): useless

* fix(chat-item): fix right align content

Tencent/tdesign-vue-next#6381

fix #6381
* feat(chat-message): support user attachment props&custom

* feat(chatengine): add timestamp to assistant history message

---------

Co-authored-by: carolin913 <carolin913@126.com>
* feat(chat-markdown): use cherry codeBlock

* feat(chat-markdown): codeBlock editCode: false

* feat(cherry): upgrade cherryMD

* feat(cherry code): code copy button

* feat(markdown-color): adjust code button styles

* feat(cherry): upgrade cherry
* fix: 修复缩略图的居中和裁切问题,优化loading和error态的表现

* feat: 缩略图样式调整为居中裁切并填满
* feat(chat-sender): 新增 api `sendBtnDisabled` 支持布尔值或函数形式

* feat(chat-sender): 优化 `sendBtnDisabled` 示例,增加函数控制场景展示

* docs(chat-sender): 移除 `sendBtnDisabled` 示例文档
* feat(chat-sender): 新增图片上传功能及事件参数优化,修复附件组件内存泄漏问题

* fix(chat-sender): 优化附件移除事件参数及发送按钮禁用逻辑

* fix(chat-sender): 优化发送按钮禁用逻辑及发送后输入框重置

* fix(chat-sender): 优化发送按钮禁用逻辑及husky钩子兼容性

* fix(chat-sender): 移除调试日志及文档冗余内容

* refactor(chat-sender): 重构 actions 属性支持对象配置及上传属性,废弃 imageUploadProps 和 fileUploadProps

* feat(chat-sender): 新增 suffix 内部属性,支持操作按钮配置优先级逻辑

* refactor(chat-sender): 移除 selectImage 方法及相关文档
- 添加 @common/js 和 @common/style 路径别名解析
- 移除 workspace 包的 external 标记,支持更好的 tree shaking
- 修复 esbuild loader 配置,分离 .ts 和 .tsx 处理
- 添加 @json-render/core 依赖用于类型声明
- 修复 ESLint 问题(arguments 改为 rest params)
@pkg-pr-new

pkg-pr-new Bot commented Jun 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

@tdesign/web-components

pnpm add https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components@402
npm i https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components@402
yarn add https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components@402.tgz

@tdesign/web-components-chat

pnpm add https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components-chat@402
npm i https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components-chat@402
yarn add https://pkg.pr.new/TDesignOteam/tdesign-web-components/@tdesign/web-components-chat@402.tgz

commit: fb41127

LzhengH and others added 21 commits July 9, 2026 16:30
* agui-activity (#362)

* feat(chatengine): 兼容toolcall并发模式

* feat(chatengine): support activity event agui

* test(markdown): 测试cherry esm

* feat(chatengine): support activity history

* feat(chatsender): readytosend props

---------

Co-authored-by: brightzhli <864345220@qq.com>

* feat(chatengine): add isvalidchunk api for filter validated sse chunk

* fix(chat-item): fix right align content (#364)

* fix(chat-item): user text auto width

* chore(chat-item): useless

* fix(chat-item): fix right align content

Tencent/tdesign-vue-next#6381

fix #6381

* Feat/chat msg attachment 支持user附件消息传入参数或slot自定义 (#365)

* feat(chat-message): support user attachment props&custom

* feat(chatengine): add timestamp to assistant history message

---------

Co-authored-by: carolin913 <carolin913@126.com>

* fix(chat-item): fix user all variant right align style (#367)

* Feat/code block custom 改用cherryMD的代码块组件,支持更多代码块风格 (#366)

* feat(chat-markdown): use cherry codeBlock

* feat(chat-markdown): codeBlock editCode: false

* feat(cherry): upgrade cherryMD

* feat(cherry code): code copy button

* feat(markdown-color): adjust code button styles

* feat(cherry): upgrade cherry

* feat(chatmarkdown): fix cherry iconfont

* fix(markdown): fix button styles (#370)

* chore: fix compatibility (#372)

* chore: release 1.3.1-alpha.9

* fix: fix filecard style (#373)

* fix: 修复缩略图的居中和裁切问题,优化loading和error态的表现

* feat: 缩略图样式调整为居中裁切并填满

* fix(cherry): 修复cherry阻塞md元素事件挂载问题

* chore: release 1.3.1-alpha.10

* feat(chat-sender): 新增 `sendBtnDisabled` 支持禁止发送按钮 (#375)

* feat(chat-sender): 新增 api `sendBtnDisabled` 支持布尔值或函数形式

* feat(chat-sender): 优化 `sendBtnDisabled` 示例,增加函数控制场景展示

* docs(chat-sender): 移除 `sendBtnDisabled` 示例文档

* reactor(chat-sender): 对于 chat-sender api 进行重构 (#376)

* feat(chat-sender): 新增图片上传功能及事件参数优化,修复附件组件内存泄漏问题

* fix(chat-sender): 优化附件移除事件参数及发送按钮禁用逻辑

* fix(chat-sender): 优化发送按钮禁用逻辑及发送后输入框重置

* fix(chat-sender): 优化发送按钮禁用逻辑及husky钩子兼容性

* fix(chat-sender): 移除调试日志及文档冗余内容

* refactor(chat-sender): 重构 actions 属性支持对象配置及上传属性,废弃 imageUploadProps 和 fileUploadProps

* feat(chat-sender): 新增 suffix 内部属性,支持操作按钮配置优先级逻辑

* refactor(chat-sender): 移除 selectImage 方法及相关文档

* chore: release 1.3.1-alpha.11

* fix(styles): fix date-picker styles effect global (#401)

* chore: release 1.3.1-alpha.12

---------

Co-authored-by: lincao <carolin913@126.com>
Co-authored-by: wū yāng <uyarnchen@gmail.com>
Co-authored-by: Yiyang Zhang <120240967+LeonardoSya@users.noreply.github.com>
Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* agui-activity (#362)

* feat(chatengine): 兼容toolcall并发模式

* feat(chatengine): support activity event agui

* test(markdown): 测试cherry esm

* feat(chatengine): support activity history

* feat(chatsender): readytosend props

---------

Co-authored-by: brightzhli <864345220@qq.com>

* feat(chatengine): add isvalidchunk api for filter validated sse chunk

* fix(chat-item): fix right align content (#364)

* fix(chat-item): user text auto width

* chore(chat-item): useless

* fix(chat-item): fix right align content

Tencent/tdesign-vue-next#6381

fix #6381

* Feat/chat msg attachment 支持user附件消息传入参数或slot自定义 (#365)

* feat(chat-message): support user attachment props&custom

* feat(chatengine): add timestamp to assistant history message

---------

Co-authored-by: carolin913 <carolin913@126.com>

* fix(chat-item): fix user all variant right align style (#367)

* Feat/code block custom 改用cherryMD的代码块组件,支持更多代码块风格 (#366)

* feat(chat-markdown): use cherry codeBlock

* feat(chat-markdown): codeBlock editCode: false

* feat(cherry): upgrade cherryMD

* feat(cherry code): code copy button

* feat(markdown-color): adjust code button styles

* feat(cherry): upgrade cherry

* feat(chatmarkdown): fix cherry iconfont

* fix(markdown): fix button styles (#370)

* chore: fix compatibility (#372)

* chore: release 1.3.1-alpha.9

* fix: fix filecard style (#373)

* fix: 修复缩略图的居中和裁切问题,优化loading和error态的表现

* feat: 缩略图样式调整为居中裁切并填满

* fix(cherry): 修复cherry阻塞md元素事件挂载问题

* chore: release 1.3.1-alpha.10

* feat(chat-sender): 新增 `sendBtnDisabled` 支持禁止发送按钮 (#375)

* feat(chat-sender): 新增 api `sendBtnDisabled` 支持布尔值或函数形式

* feat(chat-sender): 优化 `sendBtnDisabled` 示例,增加函数控制场景展示

* docs(chat-sender): 移除 `sendBtnDisabled` 示例文档

* reactor(chat-sender): 对于 chat-sender api 进行重构 (#376)

* feat(chat-sender): 新增图片上传功能及事件参数优化,修复附件组件内存泄漏问题

* fix(chat-sender): 优化附件移除事件参数及发送按钮禁用逻辑

* fix(chat-sender): 优化发送按钮禁用逻辑及发送后输入框重置

* fix(chat-sender): 优化发送按钮禁用逻辑及husky钩子兼容性

* fix(chat-sender): 移除调试日志及文档冗余内容

* refactor(chat-sender): 重构 actions 属性支持对象配置及上传属性,废弃 imageUploadProps 和 fileUploadProps

* feat(chat-sender): 新增 suffix 内部属性,支持操作按钮配置优先级逻辑

* refactor(chat-sender): 移除 selectImage 方法及相关文档

* chore: release 1.3.1-alpha.11

* fix(styles): fix date-picker styles effect global (#401)

* feat: agui new event compatibility

---------

Co-authored-by: lincao <carolin913@126.com>
Co-authored-by: brightzhli <864345220@qq.com>
Co-authored-by: BrightLi <52376662+LzhengH@users.noreply.github.com>
Co-authored-by: Yiyang Zhang <120240967+LeonardoSya@users.noreply.github.com>
Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* fix: support chrome 86 build output

* fix: export dialog plugin from root

* fix: export site example symbols from root

* test: add chrome 86 smoke workflow

* test: remove chrome 86 smoke workflow
@RSS1102
RSS1102 marked this pull request as ready for review July 28, 2026 09:40
@RSS1102 RSS1102 changed the title Rss1102/refactor/rollup build config refactor(build): migrate to Vite 8 monorepo packaging Jul 28, 2026
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.

6 participants