@66rpg/lumimaker 0.1.53 → 0.1.55
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 +1 -1
- package/dist/index.js +21 -18
- package/dist/validate.js +1 -1
- package/package.json +4 -4
- package/skill/lumimaker/SKILL.md +6 -2
- package/skill/lumimaker/references/common-commands.md +3 -1
- package/skill/lumimaker/references/publish-game.md +2 -2
- package/skill/lumimaker/references/publish-project.md +1 -1
- package/skill/lumimaker/references/publish-template.md +1 -1
- package/skill/lumimaker-copy-editing/SKILL.md +241 -0
- package/skill/lumimaker-copy-editing/references/templates.md +277 -0
- package/skill/lumimaker-play-sdk/SKILL.md +6 -6
- package/skill/lumimaker-play-sdk/references/api.md +9 -6
- package/skill/lumimaker-template-spec/references/protocol.md +3 -2
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
| `slug` | **必须** | string | 模板英文短名,在平台中唯一标识本模板;格式须匹配 `^[a-z0-9][a-z0-9-]{0,62}$`。详见下方细则。 | `"quiz-react"` |
|
|
60
60
|
| `version` | **必须** | string | 模板版本号;格式须匹配 `^(?=.{1,16}$)[a-z0-9]+(?:[.-][a-z0-9]+)*$`。详见下方细则。 | `"0.1.0"`、`"1.0.0-a"` |
|
|
61
61
|
| `data_ver` | **必须** | string 或 number | 配套数据包版本;非空字符串或有限数字。详见下方细则。 | `"1"` 或 `1` |
|
|
62
|
-
| `description` | **可选** | string |
|
|
62
|
+
| `description` | **可选** | string | 模板简介。若省略或填写空字符串,按空简介处理。有内容时:中文不超过 60 个字,英文及其他不超过 120 个字符;写在一起时,一个中文按两个字符计,合计不超过 120。 | `"基于 React 的题库答题作品模板"` |
|
|
63
63
|
|
|
64
64
|
#### 字段格式细则
|
|
65
65
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
2. **入口文件**:`dist/` 根目录下**必须**产出 `index.html` 入口文件。可以仅产出纯 `index.html`,无需任何其他静态资源文件。
|
|
104
104
|
3. **静态资源(建议)**:若构建产物包含 JavaScript、CSS、图片等静态资源,建议放置于与 `index.html` 同级的 `dist/assets/` 目录下。
|
|
105
105
|
4. **其他产物**:除 `dist/index.html` 外,产物目录内的其他文件组织形式本协议不作强制限制。
|
|
106
|
-
5. **社区播放页能打开的玩法 HTML**:写包内 `.html` 路径,例如 `staff.html` 或 `assets/index.html`。目录地址(如 `jubenba/`)打不开,也不会自动改成该目录的 `index.html`。页内锚点写 `#id`,不要写 `./#id`。链接写法见 `lumimaker-play-sdk`。
|
|
106
|
+
5. **社区播放页能打开的玩法 HTML**:写包内 `.html` 路径,例如 `staff.html` 或 `assets/index.html`。目录地址(如 `jubenba/`)打不开,也不会自动改成该目录的 `index.html`。页内锚点写 `#id`,不要写 `./#id`。下一页用 `<a href>` 或 `openPlayHtml`,不要用 `location.href`、`location.assign`、`location.replace`。链接写法见 `lumimaker-play-sdk`。
|
|
107
107
|
|
|
108
108
|
---
|
|
109
109
|
|
|
@@ -114,3 +114,4 @@
|
|
|
114
114
|
| 1.0 | 2026-09-22 | 初始版本。明确工程目录结构、`package.json` 配置字段与脚本规范,以及 `dist/` 构建产物约定(assets 为可选,支持纯 index.html)。 |
|
|
115
115
|
| 1.1 | 2026-10-05 | 补充:社区播放页只签 `dist/` 根目录的玩法 HTML;目录地址不会回落为该目录的 `index.html`。 |
|
|
116
116
|
| 1.2 | 2026-10-09 | 播放页改为签包内 `.html` 路径,子目录里的页面可以打开;目录地址仍然不会变成该目录的 `index.html`。 |
|
|
117
|
+
| 1.3 | 2026-10-12 | 播放页换页用 `<a href>` 或 `openPlayHtml`,不要用 `location.href`、`location.assign`、`location.replace`。 |
|