Haoqun Jiang
1e5ba6b831
feat!: make vue serve/build aliases to npm run serve/build ( #6115 )
...
To avoid user confusion. Also allows us to focus more on CLI's core
functionalities.
2020-12-08 11:08:07 +08:00
James George
da8bd3970b
chore: return with an exit code of 1 on supplying an unknown command ( #6079 )
2020-12-02 10:18:40 +08:00
Channing
6da5df44e0
perf(cli): delete the EOL_NODE_MAJORS checking ( #6102 )
...
Co-authored-by: 韩沅霖 <hanyuanlin@dm-ai.cn >
2020-12-02 09:33:59 +08:00
Haoqun Jiang
9641d6d254
fix: fix support for Node.js v8 and deprecate it ( #5827 )
...
Fixes #5800
2020-08-27 16:29:01 +08:00
Robbin Baauw
879b815f75
fix: missing proxy argument ( #5778 )
...
Closes #5761
2020-08-13 21:58:41 +08:00
Haoqun Jiang
1a8c7fdeaf
feat: support node nightly builds ( #5556 )
...
fixes #5548
2020-06-24 13:39:01 +08:00
James George
130bcfb730
chore: switch over to leven for command suggestion ( #5166 )
...
* chore: switch to leven
* chore: update lock file
* chore: iterate through all the available commands and find closest match
* chore: update yarn.lock
* fix: lint
* chore: find the best possible match
2020-02-13 17:31:04 +08:00
Haoqun Jiang
02a0e8a187
feat: vue upgrade monorepo support, --from option, and a new vue migrate --from command ( #5091 )
...
* refactor(migrator): rename `installed` to `baseVersion`
* feat: `vue upgrade --from` option and a new `vue migrate` command
* fix: fix support for `vuePlugins.resolveFrom` option
* chore: add a fixme comment
* fix: use loadModule instead of manually calculating the package.json path
This also fixes support for monorepo.
(TODO: tests)
* fix: treat `resolveFrom` as `context`, fixing edge cases
* fix: use read-pkg instead of loadModule, avoid messing up require cache
* fix: getInstalledVersion still requires `loadModule` to support monorepo
2020-01-28 16:32:35 +08:00
Yingya Zhang
2531d10086
feat: add option merge to command create ( #4828 )
2020-01-06 07:46:34 +05:30
James George
00acca5f14
refactor: use inline approach ( #4904 )
2019-12-12 21:12:11 +05:30
Haoqun Jiang
1a0b59142a
refactor: use dependencies from @vue/cli-share-utils whenver possible
2019-11-29 15:41:18 +08:00
Haoqun Jiang
36774935a5
chore!: add @vue/cli in --version output, to avoid confusion ( #4681 )
...
* feat!: add `Vue CLI` in `--version` output, to avoid confusion
* chore: should use `@vue/cli` as the correct branding
2019-10-16 11:14:42 +08:00
Haoqun Jiang
fbd592ef8e
feat: add vue outdated command & make vue upgrade interactive ( #4497 )
2019-09-02 17:05:03 +08:00
Haoqun Jiang
c0495e7964
feat: add --next flag to vue upgrade to check for beta versions ( #4404 )
2019-08-08 10:50:45 +08:00
Haoqun Jiang
c76d2e691d
style: add a "no-shadow" linter rule ( #4385 )
...
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
Boris K
59d3e74f33
feat: add --port argument to 'vue serve' command ( #4342 )
2019-07-25 09:57:00 +08:00
Haoqun Jiang
867c6eaf2c
feat!: redesigns vue upgrade, supports code migration ( #4090 )
2019-07-02 16:23:34 +08:00
James George
ab18cd5952
feat(cli): suggest matching commands if the user mistypes ( #3860 )
2019-05-13 23:36:17 +08:00
Guillaume Chau
8c3ff11653
refactor(project create): run vue create in child process, closes #3664
2019-04-06 01:48:02 +02:00
Haoqun Jiang
21632607c9
chore: also show typescript version in vue info
2019-01-31 14:43:54 +08:00
James George
10c253a2d8
chore: validates multiple arguments for vue create command ( #3195 )
2019-01-30 21:57:37 +08:00
Haoqun Jiang
d86b9d4c1f
chore: add deprecation warning for Node.js 9.x ( #3202 )
...
* chore: add deprecation warning for Node.js 9.x
* chore: upgrade -> use an active LTS version
2018-12-29 14:54:39 +08:00
Patrick
b7bed8a289
docs: fixing the comment about forcing git ( #3005 ) [ci skip]
2018-11-26 21:57:16 +08:00
Trevor Brindle
4324afb6ef
feat: add envinfo package via vue info in cli ( #2863 )
...
* feat: add envinfo package via `vue info` in cli
* fix: update `vue info` npm global packages
2018-11-26 12:43:35 +08:00
Haoqun Jiang
77448897d4
feat: implement vue upgrade ( #2428 )
...
* feat: add vue upgrade command
* feat: implement vue upgrade
2018-10-31 01:07:39 +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
Yamagishi Kazutoshi
be814b3518
feat(ui): add --host option ( #2568 )
2018-10-20 19:57:28 +08:00
Evan You
c6ca93e0dd
feat: support --bare flag when creating new projects
...
close #2030
2018-08-03 11:45:10 -07:00
oika
d5a67db63d
chore: fix typo in version check message. ( #1995 )
2018-07-31 10:45:23 -04:00
Fengtan 冯坦
ee85f7c2d6
fix: Typo. ( #1968 )
2018-07-28 03:18:22 +02:00
Evan You
967f99abc0
fix(create): fix force git init
2018-07-20 10:33:18 -04:00
Haoqun Jiang
7e6c37c09b
fix(create): fix shouldInitGit check ( #1901 )
...
Also improve skip git flag description (`--git false` -> `--no-git`)
2018-07-20 06:38:07 -07:00
james south
5c90017687
chore: fix typo [ci skip] ( #1882 )
...
initialization is misspelled intialization
2018-07-17 22:10:04 -04:00
Payton Burdette
9e0e114c18
refactor: consistent command structure ( #1839 )
2018-07-13 16:40:35 +02:00
Payton Burdette
153c418555
feat: vue config command ( #1554 )
...
* fixed broken plugin dev link on contributing guide
* feat(cli-service): vue config command added
* feat(cli-service): vue config command added
* feat(cli-service): added config commands get and delete
* feat(cli-service): added vue edit command and opn dependcy
* feat(cli-service): added vue config set command and vue config check
* feat(cli-service): nested path support and command/logs adjustment
* feat(cli-service): command option descriptions updated with preset
* refactor: object get/set/unset
* feat: json option + fs/JSON fixes
2018-07-12 00:36:59 +02:00
Yaojun Zheng
d8b06bbaea
fix: Restore --offline option for legacy vue init API ( #1605 )
2018-07-04 13:19:46 +02:00
Guillaume Chau
8b9477fe54
fix: better version check, closes #1564
2018-06-17 21:55:07 +02:00
Craig Morris
5e95b3df73
feat: add --copy option for vue-cli-service serve ( #1355 )
2018-05-29 08:59:10 -04:00
Guillaume Chau
b6114d49c7
chore: merge dev
2018-05-12 04:33:14 +02:00
Evan You
fd1c0d5b8a
feat(inspect): add --rules and --plugins options for inspect command
2018-05-11 17:21:06 -04:00
Evan You
82349ba254
feat(inspect): add --rule and --plugin options for inspect command
2018-05-11 17:16:20 -04:00
Guillaume Chau
cec571e36c
refactor(ui): vue ui command
2018-05-04 20:32:32 +02:00
Guillaume Chau
fef2f78c3d
feat(ui): dev mode
2018-05-01 15:21:37 +02:00
Guillaume Chau
f674aa69c6
chore: merge dev
2018-04-28 15:33:24 +02:00
Evan You
b1512be8d8
feat: allow specifying proxy when creating project
...
close #1009
2018-04-27 15:16:13 -04:00
Evan You
c2aac9e4eb
refactor: merge skipGit and initialCommit options
2018-04-27 13:08:21 -04:00
Evan You
23480ae8f5
feat(cli): skip git if already in a git repo, add --skipGit option
...
close #967
2018-04-27 12:03:23 -04:00
Derek Henscheid
6ca86aa667
feat(inspect): add a -v/--verbose flag to inspect command to output full functions ( #1175 )
...
close #1157
2018-04-26 16:56:44 -04:00
Derek Henscheid
11ccf64322
feat: support custom initial commit message ( #1116 )
2018-04-26 15:27:36 -04:00
Julien
a8a6b62a69
docs: document vue init --clone option ( #1079 )
2018-04-26 15:11:53 -04:00