Closed
Description
Command that should be run inside an existing project with @vue/cli-service
present.
- Resolve the version to upgrade to.
vue upgrade [patch|minor|major]
: defaults to minor
- If already latest, print message and exit
- Otherwise, confirm via prompt
- Find
@vue/cli-service
plus all packages inpackage.json
that starts with@vue/cli-plugin-
, and bump them to the target upgrade version - Run
installDeps
- infer package manager from lockfile, if no lockfile, infer from.vuerc
, otherwise infer usinghasYarn()
- Print changelog of upgraded versions