Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b5c6767
ci(pr): add pr-contributor-welcome workflow
Samoy Nov 22, 2025
967da63
Merge branch 'next' into pr-contributor-welcome
Samoy Nov 22, 2025
e7dc930
fix: setMessages did not refresh component (#1450)
hylin Dec 5, 2025
c19ae68
fix(XMarkdown): replace useStreaming regex to avoid compatibility iss…
Div627 Dec 5, 2025
79cac84
chore: merge feature to main (#1458)
kimteayon Dec 5, 2025
e5d961f
chore(deps-dev): bump @happy-dom/jest-environment from 18.0.1 to 20.0…
dependabot[bot] Dec 5, 2025
1bf26c6
chore(deps-dev): bump typescript from 5.8.3 to 5.9.3 (#1421)
dependabot[bot] Dec 5, 2025
e83c084
chore(deps-dev): bump sharp from 0.33.5 to 0.34.5 (#1374)
dependabot[bot] Dec 5, 2025
9e9b2f2
chore(deps-dev): bump @npmcli/run-script from 9.1.0 to 10.0.3 (#1373)
dependabot[bot] Dec 5, 2025
654d59d
chore: bump actions/upload-artifact from 4 to 5 (#1267)
dependabot[bot] Dec 5, 2025
c187f95
chore(deps-dev): bump open from 10.2.0 to 11.0.0 (#1422)
dependabot[bot] Dec 5, 2025
768ac04
fix: declare dependence (#1459)
hylin Dec 5, 2025
8d0f477
chore: changelog of 2.1.0 (#1461)
kimteayon Dec 5, 2025
996e080
docs(prompts): modify semanticType (#1464)
IsDyh01 Dec 8, 2025
4b904f6
fix(Sender): submit disabled & submit params (#1472)
kimteayon Dec 8, 2025
d7a09e5
fix: sideEffects avoid css dropped in webpack
Dec 9, 2025
ef77b41
Merge pull request #1480 from hongxuWei/main
Div627 Dec 9, 2025
e5799d4
fix: correct scripts tsconfig typeRoots (#1483)
Chiaki-xps Dec 9, 2025
0e81224
docs(Suggestion): The custom demo for the suggestion section fixes th…
J-Da-Shi Dec 9, 2025
1e2fe3f
fix(Sender): Sender onchange & slot skill placeholder (#1477)
kimteayon Dec 9, 2025
efc8fdd
fix: relying on mermaid to fix umi MFSU checks (#1475)
Div627 Dec 9, 2025
db1712e
fix: maxCount of Attachment (#1486)
kimteayon Dec 9, 2025
cda0054
fix: Attachment image preview mask to cover (#1492)
kimteayon Dec 10, 2025
5670cc8
chore: fix scripts tsconfig allowJs (#1489)
Chiaki-xps Dec 10, 2025
4321450
fix(x-sdk): add throttling to ChatMessagesStore to prevent "Maximum u…
Afee2019 Dec 10, 2025
cb053c1
chore(deps-dev): bump @antv/gpt-vis from 0.4.7 to 0.5.10 (#1468)
dependabot[bot] Dec 10, 2025
4632ec9
fix(mermaid): set explicit height to prevent render shaking (#1497)
Div627 Dec 10, 2025
316c74d
fix: Sender input slot submit (#1498)
kimteayon Dec 10, 2025
68bfb92
docs: update introduce docs (#1499)
kimteayon Dec 10, 2025
4f16e6b
Update DingTalk QR code URL in welcome message
kimteayon Dec 10, 2025
7c53b59
chore: update release-dingtalk (#1500)
kimteayon Dec 10, 2025
7dadbfc
Merge pull request #1501 from Samoy/pr-contributor-welcome
Div627 Dec 10, 2025
26c18e8
fix: Sender skill focus at start (#1504)
kimteayon Dec 10, 2025
e61e753
chore: Changelog of 2.1.1 (#1502)
kimteayon Dec 10, 2025
66d11fa
chore: add dingding-tokens (#1507)
kimteayon Dec 10, 2025
cd774b6
docs: tbox playground abort status (#1508)
kimteayon Dec 11, 2025
8a0f9b1
refactor: migrate rc-* to @rc-component/* and classnames to clsx (#1448)
yoyo837 Dec 12, 2025
93a6dab
chore(deps-dev): bump size-limit from 11.2.0 to 12.0.0 (#1506)
dependabot[bot] Dec 12, 2025
6c516e8
chore: welcome workflow (#1516)
kimteayon Dec 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .github/workflows/pr-contributor-welcome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 当 PR 被合并时,留言欢迎加入共建群
name: PullRequest Contributor Welcome

on:
pull_request_target:
types:
- closed
paths:
- 'packages/**'

permissions:
contents: read

jobs:
comment:
permissions:
issues: write # for actions-cool/maintain-one-comment to modify or create issue comments
pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments
if: github.event.pull_request.merged == true && github.repository == 'ant-design/x'
runs-on: ubuntu-latest
steps:
- name: get commit count
id: get_commit_count
run: |
PR_AUTHOR=$(echo "${{ github.event.pull_request.user.login }}")
RESULT_DATA=$(curl -s "https://api.github.com/repos/${{ github.repository }}/commits?author=${PR_AUTHOR}&per_page=5")
DATA_LENGTH=$(echo $RESULT_DATA | jq 'if type == "array" then length else 0 end')
echo "COUNT=$DATA_LENGTH" >> $GITHUB_OUTPUT
- name: Comment on PR
if: steps.get_commit_count.outputs.COUNT < 3
uses: actions-cool/maintain-one-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).

🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。

<img src="https://mdn.alipayobjects.com/huamei_lkxviz/afts/img/gGRQTaOkHf8AAAAAQvAAAAgADtFMAQFr/original" alt="Thank you for your contribution!" height="200" />

<!-- WELCOME_CONTRIBUTION -->
body-include: <!-- WELCOME_CONTRIBUTION -->
4 changes: 2 additions & 2 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
NODE_OPTIONS: '--max_old_space_size=4096'
- name: upload site artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: site
path: packages/x/_site/
Expand All @@ -41,7 +41,7 @@ jobs:

- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: pr
path: ./pr-id.txt
6 changes: 3 additions & 3 deletions .github/workflows/release-dingtalk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
trigger: tag
changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md'
branch: 'main'
tag: '1*'
latest: '1*'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
tag: '2*'
latest: '2*'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }} ${{ secrets.DINGDING_BOT_INTERNAL_TOKEN }} ${{ secrets.DINGDING_BOT_XMARKDOWN_TOKEN }}
dingding-msg: CHANGELOG.zh-CN.md
msg-title: '# Ant Design X {{v}} 发布日志'
msg-poster: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*kjHUSYIdsnUAAAAAAAAAAAAADgCCAQ/original'
Expand Down
52 changes: 52 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,58 @@ tag: vVERSION

---

## 2.1.1

`2025-12-10`

### @ant-design/x

- Sender
- 🐛 Fixed the issue where send shortcuts enter and shift + enter were not controlled by the disabled state of the submit button, and fixed the inconsistency between `onSubmit` shortcut keys and button parameters. [#1472](https://github.com/ant-design/x/pull/1472) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed the missing `skill` parameter in `onChange`, fixed the issue where placeholder was not displayed when slot mode only showed skill capabilities, and refactored `onChange` logic. [#1477](https://github.com/ant-design/x/pull/1477) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed the issue where send shortcuts enter and shift + enter were not triggered when `input` type slot was activated and focused in slot mode. [#1498](https://github.com/ant-design/x/pull/1498) by [@kimteayon](https://github.com/kimteayon)
- Attachment
- 🐛 Fixed the issue where the last file was not uploaded after setting `maxCount`. [#1486](https://github.com/ant-design/x/pull/1486) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed the antd warning issue after uploading images. [#1492](https://github.com/ant-design/x/pull/1492) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed Mermaid rendering jitter issue. [#1497](https://github.com/ant-design/x/pull/1497) by [@Div627](https://github.com/Div627)
- 📖 Optimized official website to improve user experience. [#1464](https://github.com/ant-design/x/pull/1464) by [@IsDyh01](https://github.com/IsDyh01), [#1483](https://github.com/ant-design/x/pull/1483) by [@Chiaki-xps](https://github.com/Chiaki-xps), [#1463](https://github.com/ant-design/x/pull/1463) by [@J-Da-Shi](https://github.com/J-Da-Shi), [#1489](https://github.com/ant-design/x/pull/1489) by [@Chiaki-xps](https://github.com/Chiaki-xps), [#1499](https://github.com/ant-design/x/pull/1499) by [@kimteayon](https://github.com/kimteayon), [#1500](https://github.com/ant-design/x/pull/1500) by [@kimteayon](https://github.com/kimteayon), [#1501](https://github.com/ant-design/x/pull/1501) by [@Samoy](https://github.com/Samoy)
- 🛠 Modified dependency configuration for `mermaid`. [#1475](https://github.com/ant-design/x/pull/1475) by [@Div627](https://github.com/Div627)

### @ant-design/x-sdk

- 🐛 Optimized message flow throttling and emission logic to avoid deep update errors caused by high-frequency streaming updates, improving real-time message stability and performance. [#1418](https://github.com/ant-design/x/pull/1418) by [@Afee2019](https://github.com/Afee2019)

### @ant-design/x-markdown

- 🛠 Optimized `sideEffects` configuration. [#1408](https://github.com/ant-design/x/pull/1408) by [@hongxuWei](https://github.com/hongxuWei)

## 2.1.0

`2025-12-05`

### @ant-design/x

- 🐛 Fixed Bubble css token `typingContent` configuration not taking effect. [#1435](https://github.com/ant-design/x/pull/1435) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed multiple component style loss issues caused by antd upgrade to 6.0.1. [#1441](https://github.com/ant-design/x/pull/1441) by [@kimteayon](https://github.com/kimteayon), [#1446](https://github.com/ant-design/x/pull/1446) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed Bubble.List scrolling compatibility issue in Safari browser. [#1392](https://github.com/ant-design/x/pull/1392) by [@anxLiang](https://github.com/anxLiang)
- 🔥 New components HighlightCode and Mermaid. [#1402](https://github.com/ant-design/x/pull/1402) by [@Div627](https://github.com/Div627)
- 🆕 Added semantic implementation for Actions. [#1443](https://github.com/ant-design/x/pull/1443) by [@kimteayon](https://github.com/kimteayon)
- 🆕 Added semantic implementation for Suggestion, removed duplicate Enter trigger events, fixed the issue of `onSubmit` method being executed multiple times, added complete data return of `selectedOptions` to `onSelect` method, and refactored the option implementation using `useMergedState`. [#1406](https://github.com/ant-design/x/pull/1406) by [@kimteayon](https://github.com/kimteayon)
- 📖 Optimized official website to improve user experience. [#1444](https://github.com/ant-design/x/pull/1444) by [@kimteayon](https://github.com/kimteayon)
- 🆕 Added new slot type `content` and skill function `skill` for Sender. [#1377](https://github.com/ant-design/x/pull/1377) by [@kimteayon](https://github.com/kimteayon)

### @ant-design/x-sdk

- 🐛 Fixed DeepSeekChatProvider's improper handling of newline characters in `<think>` tag format causing XMarkdown rendering anomalies. [#1445](https://github.com/ant-design/x/pull/1445) by [@kimteayon](https://github.com/kimteayon)
- 🐛 Fixed useXChat `setMessages` method call not triggering re-rendering. [#1450](https://github.com/ant-design/x/pull/1450) by [@hylin](https://github.com/hylin)
- 🐛 Fixed missing rc-util dependency declaration. [#1456](https://github.com/ant-design/x/pull/1456) by [@hylin](https://github.com/hylin)

### @ant-design/x-markdown

- 🐛 Replaced useStreaming regex to resolve iOS compatibility issues. [#1457](https://github.com/ant-design/x/pull/1457) by [@Div627](https://github.com/Div627)
- 📖 Improved documentation to enhance user experience. [#1451](https://github.com/ant-design/x/pull/1451) by [@Div627](https://github.com/Div627)
- 🛠 Migrated UI plugins HighlightCode and Mermaid to @ant-design/x to achieve more reasonable dependency relationships. [#1402](https://github.com/ant-design/x/pull/1402) by [@Div627](https://github.com/Div627)

## 2.0.1

`2025-12-03`
Expand Down
52 changes: 52 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,58 @@ tag: vVERSION

---

## 2.1.1

`2025-12-10`

### @ant-design/x

- Sender
- 🐛 修复发送快捷键 enter 和 shift + enter 未受 submit 按钮 disabled 状态控制的问题,修复 `onSubmit` 快捷键和按钮参数不一致问题。 [#1472](https://github.com/ant-design/x/pull/1472) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复 `onChange` 缺少 `skill` 参数问题,修复词槽模式仅展示技能能力时 placeholder 未展示问题,并重构 `onChange`逻辑。[#1477](https://github.com/ant-design/x/pull/1477) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复词槽模式 `input` 类型词槽激活焦点时发送快捷键 enter 和 shift + enter 未触发问题。[#1498](https://github.com/ant-design/x/pull/1498) 由 [@kimteayon](https://github.com/kimteayon) 提交
- Attachment
- 🐛 修复设置 `maxCount` 后最后一个文件未上传问题。[#1486](https://github.com/ant-design/x/pull/1486) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复上传图片后 antd 报警告问题。[#1492](https://github.com/ant-design/x/pull/1492) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复 Mermaid 渲染抖动问题。[#1497](https://github.com/ant-design/x/pull/1497) 由 [@Div627](https://github.com/Div627) 提交
- 📖 优化官网站点提升用户体验。[#1464](https://github.com/ant-design/x/pull/1464) 由 [@IsDyh01](https://github.com/IsDyh01) 提交、[#1483](https://github.com/ant-design/x/pull/1483) 由 [@Chiaki-xps](https://github.com/Chiaki-xps) 提交、[#1463](https://github.com/ant-design/x/pull/1463) 由 [@J-Da-Shi](https://github.com/J-Da-Shi) 提交、[#1489](https://github.com/ant-design/x/pull/1489) 由 [@Chiaki-xps](https://github.com/Chiaki-xps) 提交、[#1499](https://github.com/ant-design/x/pull/1499) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#1500](https://github.com/ant-design/x/pull/1500) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#1501](https://github.com/ant-design/x/pull/1501) 由 [@Samoy](https://github.com/Samoy) 提交
- 🛠 修改对 `mermaid` 的依赖配置。[#1475](https://github.com/ant-design/x/pull/1475) 由 [@Div627](https://github.com/Div627) 提交

### @ant-design/x-sdk

- 🐛 优化消息流的节流与发射逻辑,避免高频流式更新导致的深度更新错误,提升实时消息稳定性与性能。[#1418](https://github.com/ant-design/x/pull/1418) 由 [@Afee2019](https://github.com/Afee2019) 提交

### @ant-design/x-markdown

- 🛠 优化 `sideEffects` 配置。[#1408](https://github.com/ant-design/x/pull/1408) 由 [@hongxuWei](https://github.com/hongxuWei) 提交

## 2.1.0

`2025-12-05`

### @ant-design/x

- 🐛 修复 Bubble css token `typingContent` 配置不生效问题。[#1435](https://github.com/ant-design/x/pull/1435) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复因 antd 升级到 6.0.1 导致多个组件样式丢失问题。[#1441](https://github.com/ant-design/x/pull/1441) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#1446](https://github.com/ant-design/x/pull/1446) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复 Bubble.List 在 safari 浏览器滚动兼容性问题。[#1392](https://github.com/ant-design/x/pull/1392) 由 [@anxLiang](https://github.com/anxLiang) 提交
- 🔥 新组件 HighlightCode 和 Mermaid。[#1402](https://github.com/ant-design/x/pull/1402) 由 [@Div627](https://github.com/Div627) 提交
- 🆕 Actions 新增语义化实现。[#1443](https://github.com/ant-design/x/pull/1443) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🆕 Suggestion 新增语义化实现,移除重复的 Enter 触发事件,修复 `onSubmit` 方法多次执行的问题,`onSelect` 方法新增 `selectedOptions` 完整数据返回,同时对选项的实现使用 `useMergedState` 进行了重构。[#1406](https://github.com/ant-design/x/pull/1406) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 📖 优化官网站点提升用户体验。[#1444](https://github.com/ant-design/x/pull/1444) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🆕 Sender 新的词槽类型 `content` 和技能功能 `skill`。[#1377](https://github.com/ant-design/x/pull/1377) 由 [@kimteayon](https://github.com/kimteayon) 提交

### @ant-design/x-sdk

- 🐛 修复 DeepSeekChatProvider 对 `<think>` 标签格式换行处理不当导致 XMarkdown 格式渲染异常问题。[#1445](https://github.com/ant-design/x/pull/1445) 由 [@kimteayon](https://github.com/kimteayon) 提交
- 🐛 修复 useXChat `setMessages` 方法调用未触发渲染问题。[#1450](https://github.com/ant-design/x/pull/1450) 由 [@hylin](https://github.com/hylin) 提交
- 🐛 修复 rc-util 依赖未声明问题。[#1456](https://github.com/ant-design/x/pull/1456) 由 [@hylin](https://github.com/hylin) 提交

### @ant-design/x-markdown

- 🐛 替换 useStreaming 正则解决 ios 兼容性问题。[#1457](https://github.com/ant-design/x/pull/1457) 由 [@Div627](https://github.com/Div627) 提交
- 📖 完善文档提升用户体验。[#1451](https://github.com/ant-design/x/pull/1451) 由 [@Div627](https://github.com/Div627) 提交
- 🛠 迁移 UI 插件 HighlightCode 和 Mermaid 到 @ant-design/x 达成更合理的依赖关系。[#1402](https://github.com/ant-design/x/pull/1402) 由 [@Div627](https://github.com/Div627) 提交

## 2.0.1

`2025-12-03`
Expand Down
28 changes: 10 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "x-mono",
"version": "2.0.1",
"version": "2.1.1",
"private": true,
"scripts": {
"presite": "npm run prestart --workspaces",
Expand All @@ -15,7 +15,7 @@
"publish-version": "tsx ./scripts/synchronize-version.ts",
"prepublishOnly": "tsx ./scripts/pre-publish.ts",
"precompile": "npm run precompile --workspaces",
"prepare": "husky install",
"prepare": "husky",
"size-limit": "size-limit",
"lint": "npm run lint --workspaces",
"tsc": "npm run tsc --workspaces",
Expand All @@ -29,47 +29,39 @@
"packages/*"
],
"devDependencies": {
"@ant-design/tools": "^19.0.2",
"@ant-design/tools": "^19.1.0",
"@biomejs/biome": "^2.0.5",
"@codecov/webpack-plugin": "^1.4.0",
"@madccc/duplicate-package-checker-webpack-plugin": "^1.0.0",
"@size-limit/file": "^11.1.5",
"antd": "^6.0.1",
"antd": "^6.1.0",
"circular-dependency-plugin": "^5.2.2",
"dekko": "^0.2.1",
"father": "^4.6.0",
"gh-pages": "^6.3.0",
"husky": "^9.1.6",
"lint-staged": "^16.1.5",
"gh-pages": "^6.3.0",
"marked-emoji": "^2.0.1",
"prettier": "^3.3.3",
"react-markdown": "^10.1.0",
"size-limit": "^11.1.5"
"size-limit": "^12.0.0"
},
"size-limit": [
{
"path": "./packages/x/dist/antdx.min.js",
"limit": "350 KiB"
"limit": "500 KiB"
},
{
"path": "./packages/x-sdk/dist/x-sdk.min.js",
"limit": "350 KiB"
},
{
"path": "./packages/x-markdown/dist/x-markdown.min.js",
"limit": "350 KiB"
},
{
"path": "./packages/x-markdown/dist/plugins/code-high-light.min.js",
"limit": "700 KiB"
"limit": "150 KiB"
},
{
"path": "./packages/x-markdown/dist/plugins/latex.min.js",
"limit": "700 KiB"
},
{
"path": "./packages/x-markdown/dist/plugins/mermaid.min.js",
"limit": "900 KiB"
"limit": "300 KiB"
}
],
"description": "Craft AI-driven interfaces effortlessly",
Expand All @@ -89,4 +81,4 @@
"@emotion/hash": "^0.9.2",
"react-is": "^18.3.1"
}
}
}
42 changes: 0 additions & 42 deletions packages/x-markdown/.fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ export default defineConfig({
filename: 'x-markdown',
},
},
'src/plugins/HighlightCode/index.tsx': {
name: 'HighlightCode',
sourcemap: true,
generateUnminified: true,
output: {
path: 'dist/plugins',
filename: 'code-high-light',
},
},
'src/plugins/Latex/index.ts': {
name: 'Latex',
sourcemap: true,
Expand All @@ -64,15 +55,6 @@ export default defineConfig({
filename: 'latex',
},
},
'src/plugins/Mermaid/index.tsx': {
name: 'Mermaid',
sourcemap: true,
generateUnminified: true,
output: {
path: 'dist/plugins',
filename: 'mermaid',
},
},
},
bundler: 'webpack',
// bundler: 'utoopack',
Expand All @@ -89,17 +71,7 @@ export default defineConfig({
commonjs: 'react-dom',
commonjs2: 'react-dom',
},
'@ant-design/cssinjs': {
root: 'antdCssinjs',
commonjs: 'antdCssinjs',
commonjs2: 'antdCssinjs',
},
},
// externals: {
// react: 'React',
// 'react-dom': 'ReactDOM',
// '@ant-design/cssinjs': 'antdCssinjs',
// },
transformRuntime: {
absoluteRuntime: process.cwd(),
},
Expand All @@ -116,26 +88,12 @@ export default defineConfig({
memo.plugin('circular-dependency-checker').use(CircularDependencyPlugin, [
{
failOnError: true,
exclude: /node_modules[\\/](chevrotain|d3-.*|langium)/,
},
]);
memo.plugin('duplicate-package-checker').use(DuplicatePackageCheckerPlugin, [
{
verbose: true,
emitError: true,
exclude: (instance: any) => {
// 排除特定包
if (
instance.name === 'cose-base' ||
instance.name === 'layout-base' ||
instance.name.startsWith('d3-') ||
instance.name === 'internmap'
) {
return true;
}

return false;
},
},
]);
}
Expand Down
1 change: 1 addition & 0 deletions packages/x-markdown/.jest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const compileModules = [
'@rc-component',
'react-sticky-box',
'rc-tween-one',
'@babel',
Expand Down
Loading
Loading