@modern-js/main-doc 2.17.2-alpha.3 → 2.18.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @modern-js/main-doc
2
2
 
3
+ ## 2.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 21c87bf: feat: bump codesmith packages version
8
+
9
+ feat: 升级 codesmith 包版本
10
+
11
+ - @modern-js/builder-doc@2.18.1
12
+
13
+ ## 2.18.0
14
+
15
+ ### Patch Changes
16
+
17
+ - d0a9bf8: chore: improve entry docs, fix ssg docs
18
+ chore: 优化入口文档,修复 ssg 文档
19
+ - @modern-js/builder-doc@2.18.0
20
+
3
21
  ## 2.17.1
4
22
 
5
23
  ### Patch Changes
@@ -33,7 +33,7 @@ Then execute the `dev` or `build` command, and you can see Modern.js automatical
33
33
  node_modules
34
34
  └─ .modern-js
35
35
  └─ main
36
- ├─ bootstrap.js # real entry code
36
+ ├─ bootstrap.jsx # real entry code
37
37
  ├─ index.js # asynchronous entry file
38
38
  └─ index.html
39
39
  ```
@@ -41,7 +41,7 @@ node_modules
41
41
  The `index.js` reads as follows:
42
42
 
43
43
  ```js
44
- import('./bootstrap.js');
44
+ import('./bootstrap.jsx');
45
45
  ```
46
46
 
47
47
  At this point, you can consume any remote modules in the current page.
@@ -25,7 +25,6 @@ After the project is created, you can experience the project by running `pnpm ru
25
25
  :::tip
26
26
  When using Rspack as the bundler, the following Features are temporarily unavailable as some of the capabilities are still under development and we will provide support in the future.
27
27
 
28
- - Micro Frontend
29
28
  - Storybook Devtool
30
29
  - The usage of [useLoader](/guides/basic-features/data-fetch.html) in Client Side Rendering
31
30
 
@@ -34,7 +34,7 @@ Each option supports two fields:
34
34
 
35
35
  - label: display name.
36
36
 
37
- ### x-validate
37
+ ### x-validator
38
38
 
39
39
  schema verification rules. Formily's verification method is supported here, for details, please refer to [Formily Validate](https://formilyjs.org/zh-CN/guide/advanced/validate).
40
40
 
@@ -36,7 +36,7 @@ export default defineConfig({
36
36
  node_modules
37
37
  └─ .modern-js
38
38
  └─ main
39
- ├─ bootstrap.js # 真正的入口代码
39
+ ├─ bootstrap.jsx # 真正的入口代码
40
40
  ├─ index.js # 异步入口文件(asynchronous boundary)
41
41
  └─ index.html
42
42
  ```
@@ -44,7 +44,7 @@ node_modules
44
44
  其中 `index.js` 的内容如下:
45
45
 
46
46
  ```js
47
- import('./bootstrap.js');
47
+ import('./bootstrap.jsx');
48
48
  ```
49
49
 
50
50
  此时,就可以在当前页面中消费任意的远程模块了。
@@ -26,7 +26,6 @@ import InitRspackApp from '@site-docs/components/init-rspack-app';
26
26
  :::tip
27
27
  在使用 Rspack 作为打包工具时,由于部分能力尚在开发中,以下 features 暂时无法使用,我们将在未来提供支持:
28
28
 
29
- - 微前端(Micro Frontend)
30
29
  - Storybook 调试
31
30
  - 客户端渲染(CSR)使用 [useLoader](/guides/basic-features/data-fetch.html)
32
31
 
@@ -34,7 +34,7 @@ schema 如果为选择类型,该字段用于定义选项内容。
34
34
 
35
35
  - label: 展示名称。
36
36
 
37
- ### x-validate
37
+ ### x-validator
38
38
 
39
39
  schema 的验证规则。这里支持 Formily 的校验方式,具体可参考 [Formily 表单校验](https://formilyjs.org/zh-CN/guide/advanced/validate)。
40
40
 
package/package.json CHANGED
@@ -15,13 +15,13 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.17.2-alpha.3",
18
+ "version": "2.18.1",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public"
22
22
  },
23
23
  "peerDependencies": {
24
- "@modern-js/builder-doc": "^2.17.1"
24
+ "@modern-js/builder-doc": "^2.18.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "classnames": "^2",
@@ -33,9 +33,9 @@
33
33
  "fs-extra": "^10",
34
34
  "@types/node": "^16",
35
35
  "@types/fs-extra": "^9",
36
- "@modern-js/builder-doc": "2.17.1",
37
- "@modern-js/doc-tools": "2.17.1",
38
- "@modern-js/doc-plugin-auto-sidebar": "2.17.1"
36
+ "@modern-js/builder-doc": "2.18.1",
37
+ "@modern-js/doc-tools": "2.18.1",
38
+ "@modern-js/doc-plugin-auto-sidebar": "2.18.1"
39
39
  },
40
40
  "scripts": {
41
41
  "dev": "modern dev",