Commit Graph

270 Commits

Author SHA1 Message Date
Guillaume Chau
316d476d6d refactor: launch + more helpful error message 2018-08-06 19:07:05 +02:00
Guillaume Chau
9f9ddb133d feat(create): more descriptions and links 2018-08-06 15:20:24 +02:00
Guillaume Chau
8c96c15682 feat: support ANSI colors in ListItemInfo 2018-08-06 15:04:25 +02:00
李润泽
31710fe4d1 fix: temporarily avoid chalk color in options (#2042) 2018-08-05 23:18:04 -04:00
Evan You
55d266ea30 chore: cli bare flag should take higher priority than preset 2018-08-03 11:47:00 -07:00
Evan You
c6ca93e0dd feat: support --bare flag when creating new projects
close #2030
2018-08-03 11:45:10 -07:00
Evan You
a4ef6bcd7e ci: fix router prompt spec 2018-07-30 18:05:57 -04:00
Evan You
6392a609c1 feat: add create option for router history mode 2018-07-30 18:04:37 -04:00
Evan You
ba43900657 refactor: add invoking flag for generators, fix eslint + ts
close #1972
2018-07-28 15:53:24 -04:00
Guillaume Chau
1c5fdd0184 feat: hasPlugin matches router or vuex 2018-07-28 01:32:49 +02:00
Evan You
b60dd4b6d3 fix: revert windows config path change, close #1961 2018-07-27 09:08:19 -04:00
Evan You
baa1e0455f refactor: extract rc file loading logic 2018-07-26 22:21:16 -04:00
Evan You
e970b1afc3 feat: store rc file in AppData on windows
close #1957
2018-07-26 21:37:30 -04:00
Evan You
ecd0b8d924 chore: handle package.scripts being empty when generating readme 2018-07-24 11:50:38 -04:00
Pavan Kumar Sunkara
17f37187f0 chore: Make the logging consistent and pretty (#1925) 2018-07-24 10:22:13 -04:00
Pavan Kumar Sunkara
e9d01ebde4 fix(create): Commands added by plugin (through preset) won't have description in README' (#1910) 2018-07-24 09:41:19 -04: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
Evan You
75eb5b1711 fix: plugin generator should be optional
close #1896
2018-07-19 18:14:56 -04:00
Evan You
4b4e4609e5 perf: improve CLI startup performance 2018-07-19 16:41:10 -04:00
Evan You
e33b04c306 feat(plugin-api): prompts.js can now export a function which receives package info 2018-07-18 16:51:13 -04:00
Evan You
ba4d0f285b refactor(generator): ensure proper deep merge of array values in api.extendPackage
Also fixes #970 by injecting eslint config when invoking ts plugin in an existing project
with eslint plugin installed.
2018-07-18 16:44:03 -04:00
Serkan Yerşen
87a6272421 fix(create): prioritize preset name present in ~/.vuerc (#1874)
close #1871
2018-07-17 22:09:39 -04:00
Evan You
ce585490c7 fix: infer rootOptions for late invoked generators
close #1820
2018-07-17 17:07:12 -04:00
Evan You
b916c32a66 chore: improve vue inspect failure message
ref #1805
2018-07-17 16:22:28 -04:00
Haoqun Jiang
a1097f27e2 fix(create): clear tmpdir before cloning remote preset, fix #1878 (#1880) 2018-07-17 14:40:03 -04:00
Guillaume Chau
fde3c0ed2c fix: README.md not in initial commit, closes #1869 2018-07-16 22:39:11 +02:00
Guillaume Chau
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Guillaume Chau
d212dcd63e feat: package.json: vuePlugins.resolveFrom option, closes #1815 2018-07-13 17:04:11 +02:00
Evan You
30dbad8ff1 fix: fix npmignore, prevent version cache from being published 2018-07-13 10:52:55 -04: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
Stephen Lam
e393be733d feat(generator): allow plugins to modify how configs are extracted (#1130)
* feat(generator): allow plugins to modify how configs are extracted

* refactor(cli): change addConfigTransform parameters

Allow plugin author to set config 'descriptions' instead of implementing their own transform functions.

* fix(cli): fix missed issues from changing types from array to set

* fix: use reserved config transforms to check in API

* fix: lines dedupe
2018-07-11 19:52:57 +02:00
Pavan Kumar Sunkara
8eb7fc3a97 fix: Don't allow duplicate injections of import statements and root options by plugins (#1774)
* feat(cli): Don't allow duplicate api.injectImports

* feat(cli): Don't allow duplicate api.injectRootOptions

* chore(cli): Added tests for duplicate injections
2018-07-11 14:05:29 +02:00
Adam Weber
9f0bf082e6 fix: version check ignores cached version. fixes #1613 (#1614) 2018-07-11 13:24:20 +02:00
Thorsten Lünborg
7b3812e248 feat: Create .browserslistrc file when user chose "separate config files" (#1773)
* feat(cli): When selecting "separate config files",
cli should create .browserslistrc file

close #1236

* test(cli): add test for extracting .browserslistrc
2018-07-05 23:11:01 +02:00
Guillaume Chau
8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
Guillaume Chau
8e79e2d1fd fix: generate readme with code blocks 2018-07-05 01:23:01 +02:00
Arthur Denner
278e992fbf feat: Generating README.md (#1717)
* feat: Generating README.md based on the package.json

* refactor: Adding missing scripts, changing descriptions and improving code

* chore: Moving stopSpinner to correct position and adding comment

* chore: Changing description to script test:e2e

* refactor: Removing unnecessary `if`
2018-07-04 13:16:49 +02:00
Thorsten Lünborg
a9aa3decf6 fix: underscore escaping for dotfiles (#1737)
* WIP: fix undersocre escaping for dotfiles 

(fix #1732)

* Fix charAt

* adding a short explanation to the docs.

* improved wording
2018-07-04 13:12:18 +02:00
Guillaume Chau
529f1ee243 refactor(ui): upgrade to vue-cli-plugin-apollo 0.14.x 2018-06-30 14:17:48 +02:00
Guillaume Chau
4c69052a54 fix(ui): wrong context for webpack config, closes 1611 2018-06-19 01:29:37 +02:00
Guillaume Chau
a7f3c2cc45 fix(invoke): deep merge only plain objects 2018-06-18 10:29:33 +02:00
Guillaume Chau
35cb714b30 fix(invoke): merge data in config transforms 2018-06-18 10:05:04 +02:00
Guillaume Chau
49d56dba68 fix(invoke): not reading dot files 2018-06-18 09:36:01 +02:00
Guillaume Chau
8b9477fe54 fix: better version check, closes #1564 2018-06-17 21:55:07 +02:00
Guillaume Chau
3a88152257 refactor(ui): update all plugins in one command which is much quicker 2018-06-16 01:26:38 +02:00
Guillaume Chau
4144efc9c5 fix(ui): images urls while serving the ui (dev) 2018-06-14 16:28:49 +02:00
Guillaume Chau
09b72eba6c fix(ui): wrong NODE_ENV value if undefined 2018-06-14 03:10:51 +02:00
Guillaume Chau
50027c6244 fix: clear children modules from cache 2018-06-13 19:44:45 +02:00
kazuya kawaguchi
bc59637308 chore: fix links (#1540) 2018-06-11 12:28:51 -04:00