Commit Graph

18 Commits

Author SHA1 Message Date
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
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
Evan You
7fd5f255e0 test: fix test for windows 2018-05-22 10:28:41 -04:00
Evan You
8b32f4a60f feat: GeneratorAPI: addImports & addRootOptions 2018-05-21 14:25:49 -04:00
Evan You
be8d31710a test: fix stringifyJS import 2018-05-18 22:50:05 -04:00
Evan You
07ac887486 fix: stringifyJS should be used in all call sites 2018-05-18 18:49:58 -04:00
test
2de86cea70 test: fix generator tests after babel config change 2018-05-17 17:19:39 -04:00
Evan You
0f73a91162 refactor: use fs-extra 2018-04-30 18:19:02 -04: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
Derek Henscheid
6af7bbe247 fix: deep merge objects when extending package.json via plugins (#1070)
close #1053
2018-04-25 17:53:06 -04:00
Evan You
5ae22a1ad4 refactor: allow Generator to accept inline files 2018-03-05 12:07:08 -05:00
Evan You
f065d18aec test: tests for template inehritance 2018-03-03 18:47:26 -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
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
95fd052349 move tests around 2018-01-07 19:01:54 -05:00