Command: vue upgrade
See original GitHub issueCommand 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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:24
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Installation | Vue CLI
To install the new package, use one of the following commands. ... Upgrade commands shown above apply to the global Vue CLI installation....
Read more >How to upgrade Vue version - Stack Overflow
You can upgrade it through vue cli. npm install -g @vue/cli. OR yarn global add @vue/cli. then vue upgrade.
Read more >vue upgrade command asks for a plugin and doesn't ... - GitHub
It reports: Command vue upgrade requires a global addon to be installed. Please run npm install -g @vue/cli-upgrade and try again.
Read more >Upgrading Vue CLI from Version 2 to 3 - DevCamp
Now I will say, that if it says anything, when we run the Vue create command that we're going to run here in...
Read more >Vue 3 Migration Build: safely upgrade your app to Vue 3 (Pt. 1)
Since the Vue-CLI is the most common tool people used to create Vue 2 apps, this tutorial will be about upgrading a Vue-CLI...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there! Is anyone working on this? I want to try to contribute with this project.
What is the current workflow for upgrading one’s vue-cli packages? Is it safe to do a plain
yarn upgrade vue-cli-service --latest
? I’m currently sitting at 3.0.0-beta.1. What I’m most interested in is gettingvue-cli-plugin-babel
up to speed so that I can hopefully resolve these sorts of debug / source map issues.Should I do an upgrade only on
vue-cli-plugin-babel
?