Commit Graph

283 Commits

Author SHA1 Message Date
Haoqun Jiang
5e261be0bb fix: show full project name in error message for vue create . 2018-09-19 21:36:17 +08:00
Dobromir Hristov
3f434f69c6 fix(plugin api): fix generator dotfile rename for Windows. (#2427)
close #2424
2018-09-04 17:49:17 +08:00
Haoqun Jiang
ba15fa26b2 fix: use sync fs methods in writeFileTree (#2341)
closes #2275

Iterating over async functions would put too many write calls in I/O
queue in the same time, leading to weird bugs.
2018-09-03 22:34:53 +08:00
The Jared Wilcurt
ff57b8f55f fix: names of Sass and Less (#2384)
* Sass, not SASS

* Update cssPreprocessors.spec.js
2018-08-29 10:25:09 +02:00
dailynodejs
53509e115f [polish] word mistake (#2331)
polish registry word mistake
2018-08-23 17:41:56 +09:00
Haoqun Jiang
ecb8c1801f fix: support generator/index.js in local presets (#2263)
fixes #2172
2018-08-20 11:31:04 -04:00
Evan You
8dfa2907a7 refactor: generate postcss.config.js instead of .postcssrc.js 2018-08-15 18:34:55 -04:00
Evan You
1892bcc251 fix(generator): handle directories starting with dot
close #2222
2018-08-15 18:34:55 -04:00
Evan You
a76bde100b test: do not call process.exit during tests 2018-08-11 16:11:13 -04:00
Evan You
f83f31a02e fix: fix local preset inference on Windows 2018-08-11 16:10:57 -04:00
Evan You
8ccea270d4 chore: ensure EOL on generated files
close #2127
2018-08-10 09:56:23 -04:00
Evan You
3b21fad868 feat: support generator.js and prompts.js in preset 2018-08-08 16:35:57 -04:00
Evan You
1ae223dfc0 refactor: refactor getVersions logic 2018-08-08 11:01:49 -04:00
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