Commit Graph

89 Commits

Author SHA1 Message Date
Guillaume Chau
6e1f7357a3 fix(ui): save db in user home 2018-06-10 17:59:45 +02:00
Evan You
79ee90b024 refactor: generator internal tweaks
- avoid hitting the disk again when extracting / extending config files
- normalize paths when reading files before invoking
2018-06-08 18:52:38 -04:00
Kite
6e32164df5 fix: Remove duplicated "the" (#1493) 2018-06-07 10:33:33 +02:00
Evan You
12d51fd433 fix: use fallback module resolve for Node version < 10
The "paths" option for require.resolve does not work in certain
versions of 8.x and 9.x.

close #1486
2018-06-06 14:50:46 -04:00
Evan You
1ddeefc2ee refactor: avoid version check affecting startup time 2018-06-05 15:48:22 -04:00
Evan You
89a0e6561c fix: avoid util.promisify when resolving webpack.config.js
The file may be required by an IDE which uses an older version of Node.

close #1473
2018-06-05 09:47:36 -04:00
Evan You
be5526ed6c fix: bail when registry ping fails
close #1427
2018-06-01 11:45:14 -04:00
Evan You
7ce91c89f2 workflow: enable eslint node/no-extraneous-require 2018-05-30 10:25:33 -04:00
Guillaume Chau
ef2ecf5a8e fix: require.resolve fallback on node < 8.10.0 (#1404)
close #1369
2018-05-30 09:44:08 -04:00
Guillaume Chau
4f2c71896e chore: merge dev 2018-05-21 23:07:52 +02:00
Evan You
8b32f4a60f feat: GeneratorAPI: addImports & addRootOptions 2018-05-21 14:25:49 -04:00
Guillaume Chau
9b4970cc82 chore: merge dev 2018-05-19 04:18:39 +02:00
Evan You
07ac887486 fix: stringifyJS should be used in all call sites 2018-05-18 18:49:58 -04:00
Evan You
83f5f4fced fix(eslint): ensure all config values are contained in config file
close #1006, close #1313
2018-05-18 18:11:30 -04:00
Guillaume Chau
e6e6e90dfa chore: merge dev 2018-05-18 23:52:25 +02:00
Evan You
1279b3e401 fix: fix transpileDependencies by always using babel.config.js 2018-05-17 16:19:23 -04:00
Guillaume Chau
b220b188ee fix(ui): wrong import 2018-05-13 01:13:22 +02:00
Guillaume Chau
83c2e4e2a7 chore: merge dev 2018-05-13 01:10:32 +02:00
Yingya Zhang
8fbbd353f9 feat: ask for whether to use taobao registry when getting versions (#1273) 2018-05-12 10:39:57 -04:00
Guillaume Chau
2a483051ed chore: merge dev 2018-05-02 17:01:20 +02:00
Evan You
0f73a91162 refactor: use fs-extra 2018-04-30 18:19:02 -04:00
Guillaume Chau
f674aa69c6 chore: merge dev 2018-04-28 15:33:24 +02:00
Guillaume Chau
1b77f51baf fix(ui): New update available message adapted 2018-04-28 15:25:59 +02:00
Derek Henscheid
0f76b8e4b4 feat(plugin-api): allow non-semver versioned dependencies (#1184)
close #1177
2018-04-27 17:54:54 -04:00
Evan You
9cfafea328 refactor(cli): default to .js for eslintrc and postcssrc
close #994
2018-04-27 12:45:45 -04:00
Guillaume Chau
1f87ffdf62 chore(ui): merge dev 2018-04-26 20:22:02 +02:00
Barthélémy Ledoux
c648301743 fix: vue invoke should delete renamed/removed files (#1049) 2018-04-25 17:42:26 -04:00
Evan You
fb7ccb6678 fix: avoid emoji length problem in update log (close #835) 2018-04-25 14:44:35 -04:00
Guillaume Chau
a628b43cf2 fix(ui): deps + dahsboard plugin 2018-04-11 20:41:46 +02:00
Guillaume Chau
e07abbbfa6 feat(ui): PluginApi -> describeTask initial impl. 2018-03-25 19:53:58 +02:00
Guillaume Chau
fbc9a090af Merge branch 'dev' of github.com:vuejs/vue-cli into feat-ui 2018-03-25 14:40:47 +02:00
AchillesJ
11956acb4d feat: allow vue add to work with plugins without a generator (#1032) 2018-03-24 11:48:35 -04:00
Guillaume Chau
7571e80739 feat(ui): plugins update 2018-03-16 20:01:58 +01:00
Guillaume Chau
1a48c9fc3e feat(ui): plugin invoke 2018-03-14 14:49:52 +01:00
Guillaume Chau
63ccde84e9 feat(ui): install/uninstall plugin 2018-03-12 13:57:00 +01:00
Guillaume Chau
b9a714c32a feat(ui): wip plugins list 2018-03-11 19:36:23 +01:00
Guillaume Chau
9f0eece1d1 feat(ui): Progress and Logs systems 2018-03-09 20:35:37 +01:00
Guillaume Chau
45e3c82f0a feat(ui): Preset tab 2018-03-05 23:53:46 +01: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
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
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
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
9f25eedf80 refactor: make hasYarn & hasGit lazy to improve boot time 2018-02-02 15:38:41 -05:00