@modern-js/main-doc 0.0.0-next-8a882ed80 → 0.0.0-next-1104a9f18
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 +4 -2
- package/en/apis/app/commands.mdx +2 -0
- package/package.json +3 -3
- package/zh/apis/app/commands.mdx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# @modern-js/main-doc
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-1104a9f18
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- ea7bb41e3: feat: add custom web server docs
|
|
8
8
|
feat: 添加自定义 Web Server 文档
|
|
9
|
+
- 1104a9f18: feat: support start web service only
|
|
10
|
+
feat: 支持只启动 web 服务
|
|
9
11
|
- bd58566b3: Fix Typo
|
|
10
12
|
|
|
11
13
|
修复 Typo
|
|
12
14
|
|
|
13
15
|
- Updated dependencies [2c1151271]
|
|
14
|
-
- @modern-js/builder-doc@0.0.0-next-
|
|
16
|
+
- @modern-js/builder-doc@0.0.0-next-1104a9f18
|
package/en/apis/app/commands.mdx
CHANGED
|
@@ -20,6 +20,7 @@ Options:
|
|
|
20
20
|
-c --config <config> configuration file path, which can be a relative path or an absolute path
|
|
21
21
|
-h, --help show command help
|
|
22
22
|
--analyze analyze the bundle and view size of each module
|
|
23
|
+
--web-only only start web service
|
|
23
24
|
--api-only only start API service
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -161,6 +162,7 @@ Usage: modern serve [options]
|
|
|
161
162
|
Options:
|
|
162
163
|
-c --config <config> configuration file path, which can be a relative path or an absolute path
|
|
163
164
|
-h, --help show command help
|
|
165
|
+
--web-only only run web service
|
|
164
166
|
--api-only only run API service
|
|
165
167
|
```
|
|
166
168
|
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-1104a9f18",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
20
|
+
"@modern-js/builder-doc": "0.0.0-next-1104a9f18"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"ts-node": "^10",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^10",
|
|
26
26
|
"@types/node": "^16",
|
|
27
27
|
"@types/fs-extra": "^9",
|
|
28
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
28
|
+
"@modern-js/builder-doc": "0.0.0-next-1104a9f18"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "npx ts-node ./scripts/sync.ts"
|
package/zh/apis/app/commands.mdx
CHANGED
|
@@ -20,6 +20,7 @@ Options:
|
|
|
20
20
|
-c --config <config> 指定配置文件路径,可以为相对路径或绝对路径
|
|
21
21
|
-h, --help 显示命令帮助
|
|
22
22
|
--analyze 分析构建产物体积,查看各个模块打包后的大小
|
|
23
|
+
--web-only 仅启动 Web 服务
|
|
23
24
|
--api-only 仅启动 API 接口服务
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -161,6 +162,7 @@ Usage: modern serve [options]
|
|
|
161
162
|
Options:
|
|
162
163
|
-c --config <config> 指定配置文件路径,可以为相对路径或绝对路径
|
|
163
164
|
-h, --help 显示命令帮助
|
|
165
|
+
--web-only 仅启动 Web 服务
|
|
164
166
|
--api-only 仅启动 API 接口服务
|
|
165
167
|
```
|
|
166
168
|
|