Commit Graph

37 Commits

Author SHA1 Message Date
Armano
189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +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
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
3b21fad868 feat: support generator.js and prompts.js in preset 2018-08-08 16:35:57 -04:00
Evan You
6b77af600f ci: fix invoke spec 2018-07-28 17:03:02 -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
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
3139228008 chore: fix duplicate test project 2018-05-03 19:00:03 -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
5c5e0b8f7c test: fix invoke.spec.js on windows 2018-04-27 17:02:00 -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
Barthélémy Ledoux
c648301743 fix: vue invoke should delete renamed/removed files (#1049) 2018-04-25 17:42:26 -04:00
Evan You
a4f9e5d908 ci: bump invoke test timeout 2018-03-05 12:34:04 -05: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
f4c520b834 test: fix invoke test case 2018-02-12 17:02:17 -05:00
Evan You
0468022fdb test: fix eslint related tests 2018-02-09 11:43:43 -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
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
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
c2583e4658 feat: move babel-preset and eslint-plugin as deps of plugins 2018-01-26 16:21:40 -05:00
Evan You
65cc27db42 feat: tweak invoke command 2018-01-14 23:53:24 -05:00
Evan You
563636c33f test: test for vue invoke 2018-01-14 23:27:18 -05:00
Evan You
88e9d46334 feat: router & vuex 2018-01-08 16:45:03 -05:00
Evan You
95fd052349 move tests around 2018-01-07 19:01:54 -05:00