Commit Graph

27 Commits

Author SHA1 Message Date
Haoqun Jiang
aee9e178e7 fix: allow specifying plugin version when calling vue add (#5497)
fixes #4700
2020-05-19 09:11:15 +08:00
Haoqun Jiang
773f8a47e9 feat: lock minor versions when creating projects / adding plugins (#5134)
* feat: lock minor versions when creating projects / adding plugins

closes #5012

* refactor: also calculate latestMinor version

* feat: support add packages with tilde version range

* refactor: make the `runCommand` invocations more concise

* refactor: use the `getVersions` utility function to get latestMinor

* feat: when adding plugins, use tilde range by default

* fix: allow empty args
2020-02-04 16:26:32 +08:00
Haoqun Jiang
1a0b59142a refactor: use dependencies from @vue/cli-share-utils whenver possible 2019-11-29 15:41:18 +08:00
Haoqun Jiang
1124b62bdd fix: vue add should not throw if plugin has no generator
The bug was introduced in #2337.
2019-11-08 23:25:29 +08:00
Haoqun Jiang
30f72420e2 fix: vue add should not crash when executed under Yarn PnP
TODO: should fix `loadModule` in PnP environment
2019-11-08 23:25:13 +08:00
Haoqun Jiang
048003c334 fix: fix vue add router command in v3 projects (#4698)
fixes #4692
2019-10-17 15:42:44 +08:00
Haoqun Jiang
505fb5ae0d fix: vue add should be able to install prerelease versions for official plugins (#4356) 2019-07-29 10:44:44 +08:00
Pavan Kumar Sunkara
544faee81e feat: more flexible hook system for generators (#2337) 2019-07-21 19:59:18 +08:00
Haoqun Jiang
4af27247cc refactor: unify package manager related logic (#4256) 2019-07-13 00:29:39 +08:00
Haoqun Jiang
7fc0f842e8 feat!: confirm for uncommitted changes before add/invoke/upgrade (#4275) 2019-07-12 20:04:08 +08:00
Pavan Kumar Sunkara
362587a966 feat!: make vuex a separate plugin (#4242)
fixes #2335, #4024
2019-07-06 15:13:09 +08:00
Pavan Kumar Sunkara
246ae678cb feat!: make router a separate plugin (#4196)
* refactor: move router to its own plugin

* refactor: rename routerHistoryMode option to historyMode

* test: add @vue/cli-plugin-router tests

* feat: change src/router.js for most common use cases

* fix: fix cli-ui tests

* docs: Remove router root option from docs

* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
867c6eaf2c feat!: redesigns vue upgrade, supports code migration (#4090) 2019-07-02 16:23:34 +08:00
Haoqun Jiang
1a72e995e8 fix: fix vue add/invoke bug when user does not have yarn installed (#3806)
closes #3804
2019-04-14 23:01:52 +08:00
Haoqun Jiang
94f3ca0e91 fix: better pnpm check
1. separate project pnpm check and global pnpm check
2. rename hasPnpm to hasPnpm3OrLater
2019-04-11 16:38:49 +08:00
robertkruis
a02ef3988f feat: support PNPM as a package manager (#1531)
Enables vue-cli to use PNPM (https://pnpm.js.org/) as package manager
2019-04-09 00:43:47 +08:00
Haoqun Jiang
b0f6ed8218 feat: support for --registry option in vue add & vue invoke commands (#2698)
closes #1868
2018-10-29 00:07:15 +08:00
Evan You
6392a609c1 feat: add create option for router history mode 2018-07-30 18:04:37 -04:00
Pavan Kumar Sunkara
17f37187f0 chore: Make the logging consistent and pretty (#1925) 2018-07-24 10:22:13 -04:00
Guillaume Chau
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Guillaume Chau
8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
Evan You
7ce91c89f2 workflow: enable eslint node/no-extraneous-require 2018-05-30 10:25:33 -04:00
Guillaume Chau
ada402249a refactor: improve invocation of builtin plugins in TypeScript projects (#1342) 2018-05-22 10:11:10 -04:00
Evan You
2a195f0298 feat: allow router/vuex to be late added via vue add
close #1202, close #1204
2018-05-21 15:33:30 -04:00
AchillesJ
11956acb4d feat: allow vue add to work with plugins without a generator (#1032) 2018-03-24 11:48:35 -04:00
Evan You
78dcc7ac58 refactor: use consistent plugin name resolution between add and invoke 2018-03-04 14:25:56 -05:00
Guillaume Chau
896aec557b feat: add vue add command (#936)
* feat(bin): new 'add' command

* fix(add): Add a blank line

* Update installDeps.js
2018-03-04 13:52:06 -05:00