feat!: confirm before invoke/add/upgrade if project has uncommitted changes #4275
I've now learned how vue plugin generators work, so I no longer need additional warnings, but I wanted to suggest an idea to be more helpful to new users:
It's pretty intuitive that adding a module (e.g. "vue add router") will add packages to package.json, package-lock.json, and node_modules. It's not as obvious, but probably OK, that it will add new files under src/. It's comparatively most surprising that it will also overwrite existing files under src/.
I think it would be nice to change this warning to:
Regarding #3, even if I have the previous version in my repo, I think it's nice to know up front that I'll need to manually merge certain files, rather than running