@kevlns/u-cli-mod 0.1.0-beta.5 → 0.1.0
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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
按 **精确 Unity Editor 版本**路由、下载并安装 Unity CLI 与适配后 `com.unity.pipeline` 的命令行工具(**Windows-first**)。
|
|
4
4
|
|
|
5
5
|
- 仓库:<https://github.com/kevlns/u-cli-mod>
|
|
6
|
-
- npm 包:`@kevlns/u-cli-mod
|
|
6
|
+
- npm 包:`@kevlns/u-cli-mod`
|
|
7
7
|
- **这不是 Unity 官方项目**,与 Unity Technologies 无隶属关系;`com.unity.pipeline` 的 Unity 2022 适配属于非官方移植。
|
|
8
8
|
|
|
9
9
|
## 本仓库/包 与 不包含
|
|
@@ -39,12 +39,12 @@ npm run check # build + lint + test + pack:guard 一键
|
|
|
39
39
|
|
|
40
40
|
## 使用
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
安装:
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
npm install --global @kevlns/u-cli-mod
|
|
45
|
+
npm install --global @kevlns/u-cli-mod
|
|
46
46
|
# 或不安装,直接运行:
|
|
47
|
-
npx --package @kevlns/u-cli-mod
|
|
47
|
+
npx --package @kevlns/u-cli-mod u-cli-mod routes
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
常用命令:
|
|
@@ -78,7 +78,7 @@ u-cli-mod cache clean
|
|
|
78
78
|
|
|
79
79
|
`exec` 会把 `--project-path <工程>` 追加到 Unity CLI 参数末尾;传入任何形式的 `--project-path`(含 `-projectPath`、`--projectPath`、大小写混合)会直接报错。
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
已发布正式版,可直接使用 `npm install -g @kevlns/u-cli-mod`,或用 `npx --package @kevlns/u-cli-mod u-cli-mod ...`。
|
|
82
82
|
|
|
83
83
|
## 质量与 CI
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ npm run check # build + lint + 107 个 vitest 测试 + pack guard
|
|
|
90
90
|
|
|
91
91
|
`pack:guard` 会执行真实 `npm pack`(含文件清单校验),断言发布包:
|
|
92
92
|
|
|
93
|
-
- 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.1.0
|
|
93
|
+
- 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.1.0.tgz`(与 package.json 版本一致);
|
|
94
94
|
- `files` 必须包含 `v-cli.plugin.json`,且清单身份字段(schemaVersion/package/command/bin/platforms)与包一致;
|
|
95
95
|
- 不出现:
|
|
96
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevlns/u-cli-mod",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "u-cli-mod: pin exact Unity Editor version routes and install the adapted com.unity.pipeline package for Unity 2022 (Windows-first). Downloads Unity assets at runtime into the user cache; the package itself contains no Unity binaries or package source. Not an official Unity project.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|