@modern-js/main-doc 0.0.0-next-1686554685970 → 0.0.0-next-1686556197370

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @modern-js/main-doc
2
2
 
3
- ## 0.0.0-next-1686554685970
3
+ ## 0.0.0-next-1686556197370
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -29,7 +29,7 @@
29
29
  docs(main): 更新 BFF 配置文档
30
30
 
31
31
  - Updated dependencies [7e6fb5fc1]
32
- - @modern-js/builder-doc@0.0.0-next-1686554685970
32
+ - @modern-js/builder-doc@0.0.0-next-1686556197370
33
33
 
34
34
  ## 2.22.1
35
35
 
File without changes
@@ -49,6 +49,10 @@ export default defineConfig({
49
49
 
50
50
  Unlike [dev.proxy](/configure/app/dev/proxy), the proxy here only applies to requests entering the BFF/API service; at the same time, this configuration can not only be used in the development environment, but also proxies corresponding requests in the production environment.
51
51
 
52
+ import BFFProxyOtherConfig from "@site-docs-en/components/bff-proxy-other-config";
53
+
54
+ <BFFProxyOtherConfig />
55
+
52
56
  ## Common Usage
53
57
 
54
58
  ### Solving Cross-Domain Issues for APIs
@@ -72,3 +76,5 @@ export default defineServerConfig({
72
76
  },
73
77
  };
74
78
  ```
79
+
80
+
File without changes
@@ -48,6 +48,10 @@ export default defineConfig({
48
48
 
49
49
  与 [dev.proxy](/configure/app/dev/proxy) 不同,本节所介绍的代理只作用于进入 BFF/API 服务的请求;同时,这一配置不但可以在开发环境中使用,在生产环境中也会代理相应的请求。
50
50
 
51
+ import BFFProxyOtherConfig from "@site-docs/components/bff-proxy-other-config";
52
+
53
+ <BFFProxyOtherConfig />
54
+
51
55
  ## 常见用法
52
56
 
53
57
  ### 解决接口跨域问题
@@ -71,3 +75,4 @@ export default defineServerConfig({
71
75
  },
72
76
  };
73
77
  ```
78
+
package/package.json CHANGED
@@ -15,14 +15,14 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1686554685970",
18
+ "version": "0.0.0-next-1686556197370",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "peerDependencies": {
25
- "@modern-js/builder-doc": "0.0.0-next-1686554685970"
25
+ "@modern-js/builder-doc": "0.0.0-next-1686556197370"
26
26
  },
27
27
  "devDependencies": {
28
28
  "classnames": "^2",
@@ -34,9 +34,9 @@
34
34
  "fs-extra": "^10",
35
35
  "@types/node": "^16",
36
36
  "@types/fs-extra": "^9",
37
- "@modern-js/builder-doc": "0.0.0-next-1686554685970",
38
- "@modern-js/doc-tools": "0.0.0-next-1686554685970",
39
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-1686554685970"
37
+ "@modern-js/builder-doc": "0.0.0-next-1686556197370",
38
+ "@modern-js/doc-tools": "0.0.0-next-1686556197370",
39
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-1686556197370"
40
40
  },
41
41
  "scripts": {
42
42
  "dev": "modern dev",