@66rpg/lumimaker 0.1.45 → 0.1.46

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  幻光文游制作器。用来登录幻光文游社区、检查工程并发布作品。Node.js 20+。不要全局安装。原生命令 **目前支持 Windows x64 与 macOS(arm64 / x64)**。
4
4
 
5
+ 已有工程装工具:
6
+
7
+ ```bash
8
+ npm install @66rpg/lumimaker@latest --save-dev
9
+ ```
10
+
11
+ 从模板开工程用 `npx @66rpg/lumimaker-create@latest <用户名/slug>`。
12
+
5
13
  `validate-template` 检查工程是否符合模板规范。`validate` 转调工程里必有的 `npm run validate`(有独立试玩数据时同一条命令检查两份,不要 `validate:demo`)。`login` / `publish` 等走平台。
6
14
 
7
15
  ```bash
@@ -20,7 +28,7 @@ npx lumimaker skill --platform cursor
20
28
 
21
29
  `--with-assets`(无值)用于**续发或派生**再交本地 `assets/`。默认首发本地有 `assets/` 会自动上传,此开关可省略。
22
30
 
23
- 人在终端走交互。终端若检测到新版本会询问是否更新。`npx lumimaker publish` 上传前会列出基本信息并确认;不想询问时可加 `--no-interactive`。
31
+ 人在终端走交互。终端若检测到新版本会询问是否更新。`npx lumimaker publish` 上传前会列出名称、版本、正式/试玩等并确认;脚本加 `--yes` 或 `--no-interactive` 可跳过。`publish-project`(开源工程)缺参问完后必须确认(列出当前名称、版本、简介),`--no-interactive` 不能跳过。点取消会停下来,本轮改过的 `package.json` 会还原,不是报错。
24
32
 
25
33
  试玩是独立作品。开工程第一位置用网页给的 `用户名/slug`(可 `@版本`),或模板 id / 版本 id。不要用平台展示名去开工程。不带 `--with-assets` 时下载该版本兼容数据包里最新的一份;要换另一份再加 `--with-assets <数据包ID>`。
26
34