upgrade-miniapp
Description
Upgrades a MiniApp to the currently activated platform version
Syntax
ern upgrade-miniapp
Options
--version/-v <version>
Upgrade the MiniApp to a specific platform version
--manifestId <manifestId>
Id of the override Manifest entry to retrieve dependencies versions from (see override Manifest for more info)
Remarks
Based on your preference, you can select which package manager (
npmoryarn) to be used by this command when updating the packages versions. This can be done by adding or updatingpackageManagerfield in theernobject kept in the MiniApp package.json. For example, to usenpm. If this field is missing from configuration,yarnwill be used overnpmif it is installed on the workstation.
"ern": {
"packageManager": "npm"
}Last updated