wwt-platform 1.1.6

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 ADDED
@@ -0,0 +1,38 @@
1
+ # wwt-platform
2
+
3
+ WWT 工作平台的分发包。包含平台本体与工具清单。
4
+
5
+ ## 包内容
6
+
7
+ | 文件 | 说明 |
8
+ |---|---|
9
+ | `platform.html` | 平台本体(单文件 HTML) |
10
+ | `tools.json` | 工具清单(模块归属、版本号、更新源) |
11
+
12
+ ## 访问方式
13
+
14
+ 版本号(用于更新检查):
15
+
16
+ ```
17
+ https://registry.npmmirror.com/wwt-platform/latest ← 主力(国内快)
18
+ https://registry.npmjs.org/wwt-platform/latest ← 备用
19
+ ```
20
+
21
+ 下载平台本体:
22
+
23
+ ```
24
+ https://registry.npmmirror.com/wwt-platform/<版本>/files/platform.html
25
+ https://registry.npmmirror.com/wwt-platform/<版本>/files/tools.json
26
+ ```
27
+
28
+ ## 版本约定
29
+
30
+ NPM 包版本号 = 平台版本号,保持一致。
31
+
32
+ ## 新增工具
33
+
34
+ 1. 把工具文件放到它的更新源(如 Gitee 仓库)
35
+ 2. 修改 `tools.json`,在 `tools` 数组里加一条
36
+ 3. 发布新版本:`npm version patch && npm publish`
37
+
38
+ 用户端下次打开平台会自动拉到新清单并安装新工具,**不需要重新分发平台**。
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "wwt-platform",
3
+ "version": "1.1.6",
4
+ "description": "WWT 工作平台 - 平台本体与工具清单分发",
5
+ "files": [
6
+ "platform.html",
7
+ "tools.json",
8
+ "README.md"
9
+ ],
10
+ "keywords": [
11
+ "wwt",
12
+ "platform",
13
+ "tools"
14
+ ],
15
+ "author": "mrhu1988",
16
+ "license": "UNLICENSED",
17
+ "private": false
18
+ }