@kevlns/u-cli-mod 0.1.0-beta.2 → 0.1.0-beta.3

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
@@ -85,12 +85,12 @@ beta 阶段请显式使用 `@kevlns/u-cli-mod@beta`;发布稳定版并设置 `
85
85
  ### 单元测试与打包守卫
86
86
 
87
87
  ```bash
88
- npm run check # build + lint + 106 个 vitest 测试 + pack guard
88
+ npm run check # build + lint + 107 个 vitest 测试 + pack guard
89
89
  ```
90
90
 
91
91
  `pack:guard` 会执行真实 `npm pack`(含文件清单校验),断言发布包:
92
92
 
93
- - 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.1.0-beta.2.tgz`(与 package.json 版本一致);
93
+ - 包名为 `@kevlns/u-cli-mod`,tgz 文件名精确为 `kevlns-u-cli-mod-0.1.0-beta.3.tgz`(与 package.json 版本一致);
94
94
  - `files` 必须包含 `v-cli.plugin.json`,且清单身份字段(schemaVersion/package/command/bin/platforms)与包一致;
95
95
  - 不出现:
96
96
 
@@ -137,6 +137,7 @@ npm run e2e:windows # 完整 Unity E2E(真实下载/转换/编译/命
137
137
  | Editor | Revision | CLI | Pipeline | 状态 |
138
138
  |---|---|---|---|---|
139
139
  | `2022.3.62f3c1` | `1623fc0bbb97` | `1.0.0-beta.2` | `0.5.0-exp.1`(适配版) | 已验证(非官方移植) |
140
+ | `2022.3.59f1c1` | `6f0f5d6fe989` | `1.0.0-beta.2` | `0.5.0-exp.1`(适配版) | 已验证(非官方移植;同一上游 tgz 与补丁规则,适配载荷与 62f3 逐字节一致,已在 2022.3.59f1c1 编辑器完成真机回归) |
140
141
 
141
142
  新增 Editor 版本时必须:新增 `routes/<版本>.json` 与 `routes/expected-tree/<版本>.json`、对应转换模板与补丁规则,并在该版本 Unity 上重新完成编译与回归测试。不得让相近版本复用既有路由。
142
143
 
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "@kevlns/u-cli-mod",
3
- "version": "0.1.0-beta.2",
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
- "private": false,
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "type": "module",
10
- "bin": {
11
- "u-cli-mod": "dist/cli.js"
12
- },
13
- "vCli": {
14
- "manifest": "v-cli.plugin.json"
15
- },
16
- "main": "./dist/index.js",
17
- "files": [
18
- "dist",
19
- "routes",
20
- "templates",
21
- "v-cli.plugin.json",
22
- "README.md",
23
- "LICENSE"
24
- ],
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://github.com/kevlns/u-cli-mod.git"
28
- },
29
- "homepage": "https://github.com/kevlns/u-cli-mod#readme",
30
- "bugs": {
31
- "url": "https://github.com/kevlns/u-cli-mod/issues"
32
- },
33
- "author": {
34
- "name": "kevlns",
35
- "email": "936277610@qq.com"
36
- },
37
- "keywords": [
38
- "unity",
39
- "unity-editor",
40
- "pipeline",
41
- "cli",
42
- "windows"
43
- ],
44
- "engines": {
45
- "node": ">=20"
46
- },
47
- "scripts": {
48
- "build": "tsc -p tsconfig.json",
49
- "prepack": "npm run build",
50
- "test": "vitest run",
51
- "lint": "eslint src tests --max-warnings=0",
52
- "pack:guard": "node scripts/pack-guard.mjs",
53
- "check": "npm run build && npm run lint && npm test && npm run pack:guard",
54
- "preflight:runner": "node scripts/preflight-runner.mjs",
55
- "e2e:windows": "node scripts/e2e-windows.mjs",
56
- "test:package": "node scripts/test-package-install.mjs"
57
- },
58
- "dependencies": {
59
- "commander": "^13.1.0",
60
- "tar": "^7.5.22"
61
- },
62
- "devDependencies": {
63
- "@types/node": "^24.13.3",
64
- "eslint": "^9.39.5",
65
- "typescript": "^5.9.3",
66
- "typescript-eslint": "^8.67.0",
67
- "vitest": "^3.2.7"
68
- },
69
- "license": "MIT"
70
- }
1
+ {
2
+ "name": "@kevlns/u-cli-mod",
3
+ "version": "0.1.0-beta.3",
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
+ "private": false,
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "type": "module",
10
+ "bin": {
11
+ "u-cli-mod": "dist/cli.js"
12
+ },
13
+ "vCli": {
14
+ "manifest": "v-cli.plugin.json"
15
+ },
16
+ "main": "./dist/index.js",
17
+ "files": [
18
+ "dist",
19
+ "routes",
20
+ "templates",
21
+ "v-cli.plugin.json",
22
+ "README.md",
23
+ "LICENSE"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/kevlns/u-cli-mod.git"
28
+ },
29
+ "homepage": "https://github.com/kevlns/u-cli-mod#readme",
30
+ "bugs": {
31
+ "url": "https://github.com/kevlns/u-cli-mod/issues"
32
+ },
33
+ "author": {
34
+ "name": "kevlns",
35
+ "email": "936277610@qq.com"
36
+ },
37
+ "keywords": [
38
+ "unity",
39
+ "unity-editor",
40
+ "pipeline",
41
+ "cli",
42
+ "windows"
43
+ ],
44
+ "engines": {
45
+ "node": ">=20"
46
+ },
47
+ "scripts": {
48
+ "build": "tsc -p tsconfig.json",
49
+ "prepack": "npm run build",
50
+ "test": "vitest run",
51
+ "lint": "eslint src tests --max-warnings=0",
52
+ "pack:guard": "node scripts/pack-guard.mjs",
53
+ "check": "npm run build && npm run lint && npm test && npm run pack:guard",
54
+ "preflight:runner": "node scripts/preflight-runner.mjs",
55
+ "e2e:windows": "node scripts/e2e-windows.mjs",
56
+ "test:package": "node scripts/test-package-install.mjs"
57
+ },
58
+ "dependencies": {
59
+ "commander": "^13.1.0",
60
+ "tar": "^7.5.22"
61
+ },
62
+ "devDependencies": {
63
+ "@types/node": "^24.13.3",
64
+ "eslint": "^9.39.5",
65
+ "typescript": "^5.9.3",
66
+ "typescript-eslint": "^8.67.0",
67
+ "vitest": "^3.2.7"
68
+ },
69
+ "license": "MIT"
70
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "editorVersion": "2022.3.59f1c1",
4
+ "editorRevision": "6f0f5d6fe989",
5
+ "cli": {
6
+ "version": "1.0.0-beta.2",
7
+ "url": "https://public-cdn.cloud.unity3d.com/hub/prod/cli/1.0.0-beta.2/unity-windows-x64.exe",
8
+ "sha256": "9b6e0090510c58e20cf784b5690aeeb72929cb3f6a2221b17456c873d4d0e563",
9
+ "expectedSize": 104948152,
10
+ "signerSubjectContains": "CN=Unity Technologies SF",
11
+ "signerThumbprint": "228FB6411B0A144478C86AAA3CD9473C43A8ABA7"
12
+ },
13
+ "pipeline": {
14
+ "packageName": "com.unity.pipeline",
15
+ "version": "0.5.0-exp.1",
16
+ "upstreamRevision": "17df0ac8d6533a8c22830c89dc85a24c01f30ade",
17
+ "url": "https://download.packages.unity.com/com.unity.pipeline/-/com.unity.pipeline-0.5.0-exp.1.tgz",
18
+ "sha1": "24975d51528a67809794e52185267762a9561e15",
19
+ "sha256": "708757f2521d3549406aa1694eec23ad6215095a5bd6993484b03366e9974b46",
20
+ "expectedSize": 4773713,
21
+ "expectedTree": "expected-tree/2022.3.59f1c1.json",
22
+ "templates": "2022.3.59f1c1",
23
+ "targetUnityVersion": "2022.3",
24
+ "patchVersion": 1
25
+ },
26
+ "status": "unofficial-unity-2022-port",
27
+ "verifiedBy": "local integration run, 2022.3.62f3c1 (1623fc0bbb97); identical adapted payload (same pinned upstream tgz + patch rules) re-verified on 2022.3.59f1c1 (6f0f5d6fe989)"
28
+ }