@modern-js/main-doc 0.0.0-nightly-20240128170732 → 0.0.0-nightly-20240130170640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ When this option is enabled, Modern.js will wrap the automatically generated ent
13
13
 
14
14
  ## Background
15
15
 
16
- import ModuleFederation from '@modern-js/builder-doc/docs/zh/shared/module-federation.md';
16
+ import ModuleFederation from '@modern-js/builder-doc/docs/en/shared/module-federation.md';
17
17
 
18
18
  <ModuleFederation />
19
19
 
@@ -10,7 +10,7 @@ Modern.js offers a comprehensive plugin system with a complete lifecycle. Plugin
10
10
 
11
11
  ## Usage
12
12
 
13
- Plugins must be explicitly registered in the configuration file to be effective. When you need to add plugins to Modern.js, you can configure them in the `[plugin](/configure/app/plugins.html)` field:
13
+ Plugins must be explicitly registered in the configuration file to be effective. When you need to add plugins to Modern.js, you can configure them in the `[plugins](/configure/app/plugins.html)` field:
14
14
 
15
15
  ```ts title="edenx.config.ts"
16
16
  // an example for bff
@@ -10,7 +10,7 @@ Modern.js 提供了一套拥有完整生命周期的插件系统。插件可用
10
10
 
11
11
  ## 使用方式
12
12
 
13
- 插件需要在配置文件中显示注册才能够生效,当需要为 Modern.js 添加插件时,可以将它配置到 [plugin](/configure/app/plugins.html) 字段中:
13
+ 插件需要在配置文件中显式注册才能够生效,当需要为 Modern.js 添加插件时,可以将它配置到 [plugins](/configure/app/plugins.html) 字段中:
14
14
 
15
15
  ```ts title="edenx.config.ts"
16
16
  // an example for bff
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240128170732",
18
+ "version": "0.0.0-nightly-20240130170640",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20240128170732"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20240130170640"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20240128170732"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20240130170640"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.10.1",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240128170732",
43
- "@modern-js/builder-doc": "0.0.0-nightly-20240128170732"
42
+ "@modern-js/builder-doc": "0.0.0-nightly-20240130170640",
43
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240130170640"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",