manifest.json
1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"id": "main-package-image-cdn",
"title": "主包本地图片迁移 CDN 并清理历史残留",
"sourceProject": "dj-car-boutique-work-wechat",
"affectedPaths": [
"components",
"pages",
"tabIndex",
"tabWorkOrder",
"utils",
"cdn-upload",
"project.config.json",
"tests",
"docs/CDN-IMAGE-MIGRATION.md"
],
"interfaces": [
"componentsImageUrl(name) returns CDN URL",
"CLOSE_ICON_URL remains exported",
"IMG_URL remains the CDN root with trailing slash",
"Native app.json TabBar icon paths remain local"
],
"tests": [
{
"id": "components-image-url-cdn-contract",
"file": "tests/componentsImageUrl.test.mjs",
"level": "contract",
"expectedBefore": "pass",
"status": "pass"
},
{
"id": "main-package-image-footprint",
"file": "tests/mainPackageImageCdnMigration.test.mjs",
"level": "integration",
"expectedBefore": "pass",
"status": "pass"
},
{
"id": "upload-exclusions",
"file": "tests/migration-readiness/uploadExclusions.test.mjs",
"level": "contract",
"expectedBefore": "pass",
"status": "pass"
}
],
"baseline": {
"command": "node --test tests/componentsImageUrl.test.mjs",
"result": "2/2 pass before changing the local-path expectations"
},
"apiInventory": "docs/migrations/main-package-image-cdn/api-inventory.md",
"acceptance": "docs/migrations/main-package-image-cdn/test-acceptance.md",
"verification": {
"commands": [
{
"command": "node --test tests/componentsImageUrl.test.mjs tests/mainPackageImageCdnMigration.test.mjs tests/migration-readiness/uploadExclusions.test.mjs",
"status": "pass"
},
{
"command": "npm run test:components",
"status": "pass"
},
{
"command": "npm test",
"status": "pass"
},
{
"command": "git diff --check",
"status": "pass"
}
]
}
}