Skip to content

Commit

Permalink
Merge branch 'main' into release-v2.54.2
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Jun 24, 2024
2 parents 62ec16b + aee1898 commit 822f4d6
Show file tree
Hide file tree
Showing 25 changed files with 11 additions and 240 deletions.
7 changes: 7 additions & 0 deletions .changeset/green-starfishes-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/module-tools-docs': patch
---

docs: remove module tools test doc

docs: 移除模块工程方案测试相关文档
1 change: 0 additions & 1 deletion packages/document/main-doc/docs/en/apis/app/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ $ npx modern new
Enable BFF
Enable SSG
Enable Micro Frontend
Enable Unit Test / Integration Test
```

:::tip
Expand Down
13 changes: 0 additions & 13 deletions packages/document/main-doc/docs/en/apis/app/hooks/api/test.mdx

This file was deleted.

15 changes: 0 additions & 15 deletions packages/document/main-doc/docs/en/apis/app/hooks/server/test.mdx

This file was deleted.

15 changes: 0 additions & 15 deletions packages/document/main-doc/docs/en/apis/app/hooks/src/test.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ $ npx modern new
❯ Enable BFF
Enable SSG
Enable Micro Frontend
Enable Unit Test / Integration Test
```
After the selection is completed, the Modern.js generator will automatically install the corresponding plugins and third-party dependencies. Upon completion of the installation, you will see:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Options:

- Enable Micro Frontend -- micro_frontend

- Enable Unit Test / Integration Test -- test

- Enable UA-based Polyfill Feature -- polyfill

- Enable Global Proxy -- proxy
Expand Down Expand Up @@ -110,8 +108,6 @@ Question: Please select the feature name.

Options:

- Enable Unit Test / Integration Test -- test

- Enable Tailwind CSS -- tailwindcss

- Enable Storybook -- storybook
Expand Down
1 change: 0 additions & 1 deletion packages/document/main-doc/docs/zh/apis/app/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ $ npx modern new
❯ 启用 「Tailwind CSS」 支持
启用「BFF」功能
启用「微前端」模式
启用「单元测试 / 集成测试」功能
```

:::tip
Expand Down
12 changes: 0 additions & 12 deletions packages/document/main-doc/docs/zh/apis/app/hooks/api/test.mdx

This file was deleted.

14 changes: 0 additions & 14 deletions packages/document/main-doc/docs/zh/apis/app/hooks/server/test.mdx

This file was deleted.

14 changes: 0 additions & 14 deletions packages/document/main-doc/docs/zh/apis/app/hooks/src/test.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ Modern.js Module 的核心能力包括:

- **构建能力**:基于 esbuild 实现的构建工具,提供类型生成能力,能够高度定制构建产物。
- **调试能力**:基于 Storybook 调试项目,可以测试代码功能、验证构建产物可用性。
- **测试能力**:集成 Jest 测试能力,能够开箱即用地编写你的测试代码。
- **版本管理能力**:基于 Changeset 提供版本管理命令,涵盖从开发到发布的过程。
- **扩展能力**:提供包含丰富 Hooks 的插件机制,支持扩展调试能力,或对流程进行自定义。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ $ npx modern new
启用 「Tailwind CSS」 支持
❯ 启用「BFF」功能
启用「微前端」模式
启用「单元测试 / 集成测试」功能
```

完成选择后,Modern.js 生成器会自动安装对应的插件和三方依赖,安装完成后可以看到:
Expand Down
58 changes: 0 additions & 58 deletions packages/document/module-doc/docs/en/api/config/testing.md

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ The `modern new` command is used to start the microgenerator functionality, whic

The following features can currently be enabled.

- Testing support
- Storybook V7
- Tailwind CSS support
- Modern.js Runtime API
Expand Down
1 change: 0 additions & 1 deletion packages/document/module-doc/docs/en/guide/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ Here is a list of all frequently asked questions about Modern.js Module.
- [General FAQ](./basic.mdx)
- [Build FAQ](./build.mdx)
- [Storybook FAQ](./storybook.mdx)
- [Test FAQ](./test.mdx)
11 changes: 0 additions & 11 deletions packages/document/module-doc/docs/en/guide/faq/test.mdx

This file was deleted.

4 changes: 2 additions & 2 deletions packages/document/module-doc/docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ features:
- title: 'Storybook: The community popular UI development tool'
details: Integrated with Storybook, you can use it to debug UI.
icon: 📦
- title: 'Jest: Delightful Testing Framework'
details: Jest integration makes it easier to test code。
- title: 'Lint: Code Formatting'
details: Built-in ESLint rules for rich scenarios.
icon: 📐
---
# index
58 changes: 0 additions & 58 deletions packages/document/module-doc/docs/zh/api/config/testing.md

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Options:

目前可以开启的功能有:

- Test 测试
- Storybook V7
- Tailwind CSS 支持
- Modern.js Runtime API
Expand Down
1 change: 0 additions & 1 deletion packages/document/module-doc/docs/zh/guide/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
- [通用类问题](./basic.mdx)
- [构建相关问题](./build.mdx)
- [Storybook 相关问题](./storybook.mdx)
- [测试相关问题](./test.mdx)
11 changes: 0 additions & 11 deletions packages/document/module-doc/docs/zh/guide/faq/test.mdx

This file was deleted.

4 changes: 2 additions & 2 deletions packages/document/module-doc/docs/zh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ features:
- title: 'Storybook: 社区流行的 UI 开发工具'
details: 集成了 Storybook,你可以使用它调试 UI。
icon: 📦
- title: 'Jest: 令人愉快的测试框架'
details: 集成了 Jest,使得代码测试更加容易
- title: 'Lint: 代码格式化'
details: 丰富场景的内置 ESLint 规则
icon: 📐
---
# index

0 comments on commit 822f4d6

Please sign in to comment.