Commit Graph

131 Commits

Author SHA1 Message Date
Evan You
de60d9f235 feat: read existing files during plugin invocation (close #873) 2018-03-05 12:33:10 -05:00
Evan You
5ae22a1ad4 refactor: allow Generator to accept inline files 2018-03-05 12:07:08 -05:00
Evan You
2b9a7507b9 feat: allow specifying additional configs in preset 2018-03-05 11:20:20 -05:00
Evan You
4601cc34b2 refactor: move more into pluginResolution util 2018-03-05 11:09:21 -05:00
Evan You
2d89c51c27 feat: support using remote preset (close #884) 2018-03-05 10:56:24 -05:00
Evan You
49e9cf2ce6 refactor: use pluginResolution utils in more places, add tests 2018-03-04 15:13:02 -05: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
Evan You
edff5b49fe refactor: extract plugin resolution into shared-utils 2018-03-04 13:46:10 -05:00
Guillaume Chau
0f2ee80a10 feat: generatorAPI.exitLog (#935)
* feat(logger): add tag argument

* feat(generator): add `exitLog` api

* fix(generator): extract toShortId into a util function
2018-03-04 13:22:55 -05:00
Evan You
f065d18aec test: tests for template inehritance 2018-03-03 18:47:26 -05:00
Evan You
1869aa2a20 feat: Generator now supports template inheritance 2018-03-03 18:32:53 -05:00
Evan You
ee13f7cf50 chore: skip cd command in finish instructions if created in current dir 2018-03-02 21:56:28 -05:00
Evan You
8eb0bc8261 chore: shorten current directory prompt 2018-03-02 21:53:15 -05:00
kazuya kawaguchi
6ae1569027 feat: support creating project in current directory (#916)
closes #896
2018-03-02 21:29:30 -05:00
Wade Tandy
e8aa68864c fix: fix usage with https proxy by switching from axios to request (#829)
Closes #785

Axios has a [known issue](https://github.com/axios/axios/issues/658)
that causes requests to hang when accessing an HTTPS resource via a
proxy served over HTTP.  This changes out the axios dependency for the
[request](https://github.com/request/request) library. In order to keep
`async/await` conventions easy, I also dropped in the
[request-promise-native](https://github.com/request/request-promise-native)
dependency.
2018-02-12 16:41:23 -05:00
Evan You
492adbdb65 test: fix test case on windows 2018-02-08 11:55:28 -05:00
Evan You
55cb4c0162 test: attempt to fix multi line match for windows CI 2018-02-07 19:41:29 -05:00
Evan You
dd04add39e feat: support using ESLint to lint TypeScript 2018-02-07 15:46:59 -05:00
Evan You
f7d273dd4a refactor: use axios for registry ping 2018-02-06 17:46:00 -05:00
Evan You
67df3eb436 fix: only support taobao check and inline registry when using npm
close #789
2018-02-06 16:34:46 -05:00
Evan You
46166fb640 fix: handle vue invoke config merging for existing files
close #788
2018-02-06 16:02:09 -05:00
Evan You
e597d12f41 docs: improve documentation for plugin development 2018-02-05 19:58:13 -05:00
Evan You
4f2f6f0995 fix: move plugin data extraction into GeneratorAPI 2018-02-04 10:50:33 -05:00
Jarrod Davis
0f9a44a77a fix(inspect): correct usage of resolve (#773)
Use `basedir` to specify the initial search path for resolving the CLI
service, since `cwd` is not a valid option property.
2018-02-04 10:49:38 -05:00
Evan You
85aacc3464 refactor: improve options validation 2018-02-03 22:19:21 -05:00
Evan You
7871c5c23d fix: fix overwrite prompt 2018-02-03 14:18:32 -05:00
Evan You
c1142e21b0 feat: support prompts when invoking plugins
also add invoke prompts for eslint & typescript plugins
2018-02-02 16:34:51 -05:00
Evan You
9f25eedf80 refactor: make hasYarn & hasGit lazy to improve boot time 2018-02-02 15:38:41 -05:00
Evan You
3df1289cd9 feat: check and show newer version on create 2018-02-02 15:25:10 -05:00
Evan You
7874b0e2eb fix: do not extract vue.config.js in tests 2018-02-02 03:07:16 -05:00
Evan You
4c00cfaa3b feat: vue inspect that proxies to vue-cli-service 2018-02-02 02:10:28 -05:00
Evan You
d40d4b4b4e refactor: always extract vue.config.js 2018-02-02 01:26:13 -05:00
Evan You
120d5c5256 fix: move linkBin into @vue/cli since it requires node 8 2018-01-29 22:05:31 -05:00
Evan You
8ce1c5570c test: promptModules tests 2018-01-29 21:06:30 -05:00
Evan You
5be05f34d2 fix: fix project creation when path contains spaces (fix #742) 2018-01-29 17:41:13 -05:00
Evan You
f372f55e93 feat: allow saving multiple presets 2018-01-28 00:24:33 -05:00
Evan You
01edb46b8c feat: support config in dedicated files 2018-01-27 17:03:31 -05:00
Evan You
f8c4cb2810 refactor: further tweak install output 2018-01-26 18:28:59 -05:00
Evan You
61b93a68fd refactor: improve installation progress 2018-01-26 17:07:55 -05:00
Evan You
7471f949cf fix: clone options before mutating 2018-01-25 13:55:29 -05:00
Evan You
2e3fe07ed8 fix: avoid dotfiles not being published to npm 2018-01-25 12:04:27 -05:00
Evan You
d57208de4f fix: avoid scrolling when picking features 2018-01-24 20:58:58 -05:00
Evan You
655202f72d feat: e2e nightwatch 2018-01-18 00:25:07 +01:00
Evan You
0688e8889c test: fix linter spec 2018-01-16 14:52:43 -05:00
Evan You
100c5c66e7 feat: complete prettier integration 2018-01-16 14:24:48 -05:00
Evan You
6e29daa8fd chore: cleanup comments 2018-01-15 20:21:33 -05:00
Evan You
ea2648e62b feat: make jest plugin work with TypeScript 2018-01-15 15:16:08 -05:00
Evan You
bb5d968e09 feat: WIP jest plugin 2018-01-15 13:53:41 -05:00
Evan You
52dad9d79b feat: improve generator hasPlugin check + invoke output 2018-01-15 13:53:41 -05:00