modu-platform 0.1.8 → 0.1.9
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 +13 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -48,6 +48,19 @@ modu hub --project ../demo-app --port 3300 # 工作台,另开一个终
|
|
|
48
48
|
|
|
49
49
|
打开 <http://127.0.0.1:3300> → 用上一步的账号登录(口令由服务端校验,拿到 JWT)。
|
|
50
50
|
|
|
51
|
+
## 0.1.9(2026-11-19 发布)
|
|
52
|
+
|
|
53
|
+
`/docs` 再加一层保险:**CDN 全不可达时切内置离线渲染器**。
|
|
54
|
+
|
|
55
|
+
0.1.8 修了「脚本没加载」的引号 bug,但如果部署环境完全拿不到 CDN(内网/断网),
|
|
56
|
+
页面还是只剩一句提示。0.1.9 内置了一个零依赖渲染器:
|
|
57
|
+
|
|
58
|
+
| 场景 | 行为 |
|
|
59
|
+
|---|---|
|
|
60
|
+
| 能连 CDN | Swagger UI(和 0.1.8 一样:分组、参数、Try it out、Authorize) |
|
|
61
|
+
| 三源都连不上(npmmirror / unpkg / jsdelivr) | **自动切换内置渲染器**:端点按资源分组、参数表、API Key 输入(存 localStorage)、每个操作可展开试调并显示状态码与响应 JSON;顶部标注「离线模式」 |
|
|
62
|
+
| 想固定用自建 Swagger UI | `MODU_API_DOCS_CDN=<镜像基址>`(目录下需有 `swagger-ui.css` 与 `swagger-ui-bundle.js`) |
|
|
63
|
+
|
|
51
64
|
## 0.1.8(2026-11-19 发布)
|
|
52
65
|
|
|
53
66
|
修 **0.1.7 的 `/docs` 白屏**(这一版务必升):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "modu-platform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
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.9",
|
|
18
|
+
"modu-platform-linux-x64": "0.1.9",
|
|
19
|
+
"modu-platform-windows-x64": "0.1.9"
|
|
20
20
|
}
|
|
21
21
|
}
|