Skip to content

Commit 3d9435f

Browse files
authored
docs: add new npm pkg (#2400)
1 parent 94c0a67 commit 3d9435f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

apps/website-new/docs/en/guide/start/npm-packages.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ When using `mf-manifest.json`, @module-federation/enhanced will download consume
7979

8080
:::
8181

82+
## @module-federation/native-federation-tests
83+
84+
![](https://img.shields.io/npm/v/@module-federation/native-federation-tests?style=flat-square&colorA=564341&colorB=EDED91)
85+
86+
The mocks generation and loading plugin for Module Federation for your tests, that works for both Jest and Vitest.
87+
88+
- [npm](https://npmjs.com/package/@module-federation/native-federation-tests)
89+
- [Source Code](https://github.com/module-federation/core/tree/main/packages/native-federation-tests)
90+
- [Documentation](https://github.com/module-federation/core/tree/main/packages/native-federation-tests)
91+
8292
## @module-federation/utilities
8393

8494
![](https://img.shields.io/npm/v/@module-federation/utilities?style=flat-square&colorA=564341&colorB=EDED91)

apps/website-new/docs/zh/guide/start/npm-packages.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,18 @@ Module Federation 的 类型生成和加载插件,**推荐使用 @module-feder
8787

8888
:::
8989

90+
## @module-federation/native-federation-tests
91+
92+
![](https://img.shields.io/npm/v/@module-federation/native-federation-tests?style=flat-square&colorA=564341&colorB=EDED91)
93+
94+
95+
为 Module Federation 生成和加载模拟(mocks)的插件,适用于 Jest 和 Vitest 两种测试框架。
96+
97+
- [npm](https://npmjs.com/package/@module-federation/native-federation-tests)
98+
- [源代码](https://github.com/module-federation/core/tree/main/packages/native-federation-tests)
99+
- [文档](https://github.com/module-federation/core/tree/main/packages/native-federation-tests)
100+
101+
90102
## @module-federation/utilities
91103

92104
![](https://img.shields.io/npm/v/@module-federation/utilities?style=flat-square&colorA=564341&colorB=EDED91)

0 commit comments

Comments
 (0)