Commit Graph

109 Commits

Author SHA1 Message Date
Evan You
ecd0b8d924 chore: handle package.scripts being empty when generating readme 2018-07-24 11:50:38 -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
4b4e4609e5 perf: improve CLI startup performance 2018-07-19 16:41:10 -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
Evan You
ce585490c7 fix: infer rootOptions for late invoked generators
close #1820
2018-07-17 17:07:12 -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
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Evan You
30dbad8ff1 fix: fix npmignore, prevent version cache from being published 2018-07-13 10:52:55 -04: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
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
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
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
50027c6244 fix: clear children modules from cache 2018-06-13 19:44:45 +02:00
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