@kevlns/u-cli-mod 0.2.0 → 0.2.1
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 +2 -2
- package/dist/commands/exec.d.ts +1 -1
- package/dist/commands/exec.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ npm run check # build + lint + vitest 测试 + pack guard
|
|
|
123
123
|
|
|
124
124
|
`pack:guard` 会执行真实 `npm pack`(含文件清单校验),断言发布包:
|
|
125
125
|
|
|
126
|
-
- 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.2.
|
|
126
|
+
- 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.2.1.tgz`(与 package.json 版本一致);
|
|
127
127
|
- `files` 必须包含 `v-cli.plugin.json`,且清单身份字段(schemaVersion/package/command/bin/platforms)与包一致;
|
|
128
128
|
- 不出现:
|
|
129
129
|
|
|
@@ -193,7 +193,7 @@ kevlns 工具家族共享同一套发布约定(tag 驱动、CI 护栏、MIT)
|
|
|
193
193
|
| --- | --- | --- |
|
|
194
194
|
| [`v-cli`](https://github.com/kevlns/v-cli) | 个人工具箱 CLI | v0.2.3 |
|
|
195
195
|
| [`xlmerge`](https://github.com/kevlns/xlmerge) | Git 中 .xlsx/.xlsm 冲突可视化解决工具 | v1.2.2 |
|
|
196
|
-
| [`u-cli-mod`](https://github.com/kevlns/u-cli-mod) | Unity 精确版本路由 + CLI + pipeline 包(Windows-first,本仓库) | v0.2.
|
|
196
|
+
| [`u-cli-mod`](https://github.com/kevlns/u-cli-mod) | Unity 精确版本路由 + CLI + pipeline 包(Windows-first,本仓库) | v0.2.1 |
|
|
197
197
|
|
|
198
198
|
## Compatibility
|
|
199
199
|
|
package/dist/commands/exec.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare function extractPipelineCommandName(cliArgs: string[]): string |
|
|
|
24
24
|
* Wait budget (ms) for the Unity CLI child process:
|
|
25
25
|
* - an explicit `--wait` wins (0 returns immediately);
|
|
26
26
|
* - long-running pipeline commands get a short budget so callers can poll status;
|
|
27
|
-
* - null means "wait synchronously for the CLI to finish"
|
|
27
|
+
* - null means "wait synchronously for the CLI to finish".
|
|
28
28
|
*/
|
|
29
29
|
export declare function resolveWaitMilliseconds(cliArgs: string[], explicitWaitSeconds?: number): number | null;
|
|
30
30
|
/**
|
package/dist/commands/exec.js
CHANGED
|
@@ -48,7 +48,7 @@ export function extractPipelineCommandName(cliArgs) {
|
|
|
48
48
|
* Wait budget (ms) for the Unity CLI child process:
|
|
49
49
|
* - an explicit `--wait` wins (0 returns immediately);
|
|
50
50
|
* - long-running pipeline commands get a short budget so callers can poll status;
|
|
51
|
-
* - null means "wait synchronously for the CLI to finish"
|
|
51
|
+
* - null means "wait synchronously for the CLI to finish".
|
|
52
52
|
*/
|
|
53
53
|
export function resolveWaitMilliseconds(cliArgs, explicitWaitSeconds) {
|
|
54
54
|
if (explicitWaitSeconds !== undefined) {
|
|
@@ -81,7 +81,7 @@ export function extractWaitOption(args) {
|
|
|
81
81
|
if (arg === undefined) {
|
|
82
82
|
continue;
|
|
83
83
|
}
|
|
84
|
-
if (arg === '--wait'
|
|
84
|
+
if (arg === '--wait') {
|
|
85
85
|
const value = args[i + 1];
|
|
86
86
|
if (value === undefined) {
|
|
87
87
|
throw new CliError('--wait 需要非负秒数。');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevlns/u-cli-mod",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
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": {
|