mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 01:41:37 +08:00

* add logic to support SENTRY_PROPERTIES parameter * remove update.json and meta.json files in ppk * udpapte * refactor modles * update * add package-module file * update * update readme file * modifu cli.json file * fix command issues * improve version workflow logic * udpate * update * update * update * udpate * udpate * add example * update readme file * udpate version * change logic to use pushy command uniformly
323 lines
6.9 KiB
JSON
323 lines
6.9 KiB
JSON
{
|
|
"useCommand": true,
|
|
"defaultCommand": "help",
|
|
"commands": {
|
|
"help": {},
|
|
"login": {},
|
|
"logout": {},
|
|
"me": {},
|
|
"createApp": {
|
|
"options": {
|
|
"name": {
|
|
"hasValue": true
|
|
},
|
|
"platform": {
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"apps": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"deleteApp": {},
|
|
"selectApp": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"uploadIpa": {},
|
|
"uploadApk": {},
|
|
"uploadApp": {},
|
|
"parseApp": {},
|
|
"parseIpa": {},
|
|
"parseApk": {},
|
|
"packages": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"publish": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
},
|
|
"name": {
|
|
"hasValue": true
|
|
},
|
|
"description": {
|
|
"hasValue": true
|
|
},
|
|
"metaInfo": {
|
|
"hasValue": true
|
|
},
|
|
"packageId": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"minPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"maxPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersionRange": {
|
|
"hasValue": true
|
|
},
|
|
"rollout": {
|
|
"hasValue": true
|
|
},
|
|
"dryRun": {
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"versions": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"update": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
},
|
|
"versionId": {
|
|
"hasValue": true
|
|
},
|
|
"packageId": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"minPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"maxPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersionRange": {
|
|
"hasValue": true
|
|
},
|
|
"rollout": {
|
|
"hasValue": true
|
|
},
|
|
"dryRun": {
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"updateVersionInfo": {
|
|
"options": {
|
|
"platform": {
|
|
"hasValue": true
|
|
},
|
|
"versionId": {
|
|
"hasValue": true
|
|
},
|
|
"name": {
|
|
"default": false,
|
|
"hasValue": true
|
|
},
|
|
"description": {
|
|
"default": false,
|
|
"hasValue": true
|
|
},
|
|
"metaInfo": {
|
|
"default": false,
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"build": {
|
|
"description": "Bundle javascript and copy assets."
|
|
},
|
|
"bundle": {
|
|
"description": "Bundle javascript code only and optionally publish.",
|
|
"options": {
|
|
"dev": {
|
|
"default": "false",
|
|
"hasValue": true
|
|
},
|
|
"platform": {
|
|
"hasValue": true
|
|
},
|
|
"bundleName": {
|
|
"default": "index.bundlejs",
|
|
"hasValue": true
|
|
},
|
|
"entryFile": {
|
|
"default": "index.js",
|
|
"hasValue": true
|
|
},
|
|
"intermediaDir": {
|
|
"default": "${tempDir}/intermedia/${platform}",
|
|
"hasValue": true
|
|
},
|
|
"output": {
|
|
"default": "${tempDir}/output/${platform}.${time}.ppk",
|
|
"hasValue": true
|
|
},
|
|
"sourcemap": {
|
|
"default": false
|
|
},
|
|
"taro": {
|
|
"default": false
|
|
},
|
|
"expo": {
|
|
"default": false
|
|
},
|
|
"rncli": {
|
|
"default": false
|
|
},
|
|
"disableHermes": {
|
|
"default": false
|
|
},
|
|
"name": {
|
|
"hasValue": true,
|
|
"description": "Version name for publishing"
|
|
},
|
|
"description": {
|
|
"hasValue": true,
|
|
"description": "Version description for publishing"
|
|
},
|
|
"metaInfo": {
|
|
"hasValue": true,
|
|
"description": "Meta information for publishing"
|
|
},
|
|
"packageId": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"minPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"maxPackageVersion": {
|
|
"hasValue": true
|
|
},
|
|
"packageVersionRange": {
|
|
"hasValue": true
|
|
},
|
|
"rollout": {
|
|
"hasValue": true
|
|
},
|
|
"dryRun": {
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"release": {
|
|
"description": "Push builded file to server."
|
|
},
|
|
"diff": {
|
|
"description": "Create diff patch",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/diff",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"diffFromApk": {
|
|
"description": "Create diff patch from a Android package(.apk)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/diff-${time}.apk-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"diffFromIpa": {
|
|
"description": "Create diff patch from a iOS package(.ipa)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/diff-${time}.ipa-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"hdiff": {
|
|
"description": "Create hdiff patch",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/hdiff",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"hdiffFromApk": {
|
|
"description": "Create hdiff patch from a Android package(.apk)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/hdiff-${time}.apk-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"hdiffFromPPK": {
|
|
"description": "Create hdiff patch from a Prepare package(.ppk)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/hdiff-${time}.ppk-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"hdiffFromApp": {
|
|
"description": "Create hdiff patch from a Harmony package(.app)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/hdiff-${time}.app-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"hdiffFromIpa": {
|
|
"description": "Create hdiff patch from a iOS package(.ipa)",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/hdiff-${time}.ipa-patch",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"list": {
|
|
"description": "List all bundles",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/list",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
},
|
|
"workflow": {
|
|
"description": "List all workflows",
|
|
"options": {
|
|
"output": {
|
|
"default": "${tempDir}/output/workflow",
|
|
"hasValue": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"globalOptions": {
|
|
"no-interactive": {
|
|
"default": false
|
|
}
|
|
}
|
|
}
|