manifest.json 2.38 KB
{
  "id": "main-package-slimming",
  "title": "小程序主包减重与分包资源迁移",
  "sourceProject": "dj-car-boutique-work-wechat",
  "affectedPaths": [
    "api",
    "components",
    "utils",
    "packageCrowdFunding",
    "packageEquity",
    "packageUsedCar",
    "subvehicleConversion",
    "tabOperating",
    "tabRepairOrder",
    "tabWorkOrder",
    "scripts",
    "tests",
    "docs",
    "package.json",
    "project.config.json"
  ],
  "interfaces": [
    "project.config.json packOptions upload exclusion contract",
    "abnormal-flow six ROP request methods and payload forwarding contract",
    "wx.$util utility surface after package-local QR extraction",
    "usingComponents paths for thirteen migrated subpackage-only components",
    "generated subpackage component, utility and QR copy synchronization contract",
    "subpackage-only root JavaScript static-import boundary contract"
  ],
  "tests": [
    {
      "id": "main-package-slimming-contract",
      "file": "tests/main-package-slimming/mainPackageSlimming.test.mjs",
      "level": "contract",
      "expectedBefore": "pass",
      "status": "pass"
    }
  ],
  "baseline": {
    "command": "node --experimental-detect-module --test tests/main-package-slimming/mainPackageSlimming.test.mjs",
    "result": "0 pass, 8 fail at fc20100c before production migration"
  },
  "apiInventory": "docs/migrations/main-package-slimming/api-inventory.md",
  "acceptance": "docs/migrations/main-package-slimming/test-acceptance.md",
  "verification": {
    "commands": [
      {
        "command": "node --experimental-detect-module --test tests/main-package-slimming/mainPackageSlimming.test.mjs",
        "status": "pass"
      },
      {
        "command": "npm run check:subpackage-assets",
        "status": "pass"
      },
      {
        "command": "npm run check:main-package-js",
        "status": "pass"
      },
      {
        "command": "node scripts/scan-component-paths.mjs",
        "status": "pass"
      },
      {
        "command": "npm run check:subpackage-size",
        "status": "pass"
      },
      {
        "command": "npm run gen:component-index",
        "status": "pass"
      },
      {
        "command": "npm test",
        "status": "pass"
      },
      {
        "command": "npm run knowledge:check",
        "status": "pass"
      },
      {
        "command": "git diff --check",
        "status": "pass"
      }
    ]
  }
}