question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command: vue upgrade

See original GitHub issue

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 in package.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 using hasYarn()
  • Print changelog of upgraded versions

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:24
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
TheMushrr00mcommented, Jun 13, 2018

Hey there! Is anyone working on this? I want to try to contribute with this project.

0reactions
NiloCKcommented, Aug 1, 2018

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 getting vue-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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found