modu-platform 0.1.7 → 0.1.8
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/README.md +11 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -48,6 +48,17 @@ modu hub --project ../demo-app --port 3300 # 工作台,另开一个终
|
|
|
48
48
|
|
|
49
49
|
打开 <http://127.0.0.1:3300> → 用上一步的账号登录(口令由服务端校验,拿到 JWT)。
|
|
50
50
|
|
|
51
|
+
## 0.1.8(2026-11-19 发布)
|
|
52
|
+
|
|
53
|
+
修 **0.1.7 的 `/docs` 白屏**(这一版务必升):
|
|
54
|
+
|
|
55
|
+
| 问题 | 根因 | 修法 |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| 打开 `/docs` 只看到「文档渲染器没有加载成功」,Swagger UI 从不出现 | 模板里 URL 被 `JSON.stringify` 套了一层,生成 `src=""https://…""`——浏览器把双引号当相对路径,脚本压根没加载 | 属性用原始 URL(HTML 转义),`JSON.stringify` 只用于内联 JS |
|
|
58
|
+
| 单源 CDN 在国内时快时慢 | 只有 unpkg 一个源 | 多源顺序回退:`MODU_API_DOCS_CDN`(默认 npmmirror)→ unpkg → jsdelivr;全失败才显示回退说明(含 JSON 直链) |
|
|
59
|
+
|
|
60
|
+
升级建议:**用过 0.1.7 的 `/docs` 的都升**;只调 `/v1` 接口的不受影响。
|
|
61
|
+
|
|
51
62
|
## 0.1.7(2026-11-19 发布)
|
|
52
63
|
|
|
53
64
|
小版本,两件事:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "modu-platform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "modu 命令行:低代码业务平台的二进制命令面(MCP 启动 · 项目建立 · 研发 · 运维)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"README.md"
|
|
15
15
|
],
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"modu-platform-darwin-arm64": "0.1.
|
|
18
|
-
"modu-platform-linux-x64": "0.1.
|
|
19
|
-
"modu-platform-windows-x64": "0.1.
|
|
17
|
+
"modu-platform-darwin-arm64": "0.1.8",
|
|
18
|
+
"modu-platform-linux-x64": "0.1.8",
|
|
19
|
+
"modu-platform-windows-x64": "0.1.8"
|
|
20
20
|
}
|
|
21
21
|
}
|