eggjs-community / generator-eggjs

Yeoman generator for egg
MIT License
3 stars 1 forks source link

fix(deps): update dependency yeoman-generator to ^2.0.0 #12

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates dependency yeoman-generator from ^1.0.0 to ^2.0.0

Release Notes ### [`v2.0.0`](https://github.com/yeoman/generator/releases/v2.0.0) This release fix a few bugs and focus on modernizing our codebase to ES6 style. ##### Breaking changes - `Generator.extend()` is replaced in favor of `class extends Generator {}` - `Generator#github.username()` now returns a promise instead of taking a callback - Install functions now returns promises (`installDependencies`, `runInstall`, `bowerInstall`, `npmInstall` and `yarnInstall`) ##### New features - `installDependencies` now accept command line arguments as options for each sub-command (#​1014) ```js this.installDependencies({ npm: {saveDev: true}, bower: {depth: 0} }); ``` ##### Fix - Fix diffing dying on empty files (#​1028) --- ### [`v2.0.1`](https://github.com/yeoman/generator/releases/v2.0.1) - Bump dependencies (including security patch on `debug`) --- ### [`v2.0.2`](https://github.com/yeoman/generator/releases/v2.0.2) - Fix error when the prompt `choices` options is provided as a function instead of an array. (Drawback: this will turn off Yeoman reuse of the previously provided answer) --- ### [`v2.0.3`](https://github.com/yeoman/generator/releases/v2.0.3) - Update dependencies with security vulnerabilities. --- ### [`v2.0.4`](https://github.com/yeoman/generator/releases/v2.0.4) * efc52c99 Change options and args order (#​1063) ---
Commits #### v2.0.0 - [`00912ce`](https://github.com/yeoman/generator/commit/00912ce9b52a51037eb7252a90f5f149923b6e53) Remove class-extend (isn't necessary with ES6), clean jsdoc - [`1be88e6`](https://github.com/yeoman/generator/commit/1be88e6d48701837c162846dd3c8a9774e2b1e64) Remove callback API from Genrator#github.username() in favor of Promise one - ref #​1006 - [`cfd2a8e`](https://github.com/yeoman/generator/commit/cfd2a8efde16cd608fb961ab1c8fd1423af8e3e4) Refactor install methods to handle promises - ref #​1006 - [`b010701`](https://github.com/yeoman/generator/commit/b0107013ed67c47608d6c655bee690f86334da9a) More ES2015ifing - [`9da7391`](https://github.com/yeoman/generator/commit/9da7391c8efecf7b2e62bf8ca549ae89cdeaaf7b) Bump dependencies - [`e296e52`](https://github.com/yeoman/generator/commit/e296e5222de407fb1b23810ee1af5d7b56cfb29f) Bump XO and minor style tweaks - [`eaf1ade`](https://github.com/yeoman/generator/commit/eaf1adeeef183409d8236611abf0d545008ddf11) New: option shorthand on installDependencies method (#​1015) - [`364606e`](https://github.com/yeoman/generator/commit/364606eb3f8992154f4f7c5fbc3c77d3efacddb6) Switch to `make-dir` - [`edc2bf2`](https://github.com/yeoman/generator/commit/edc2bf208e05ec93f98d6d0490c00778ae5790c2) [comments] Change wrong param name in description (#​1018) - [`f8e46b0`](https://github.com/yeoman/generator/commit/f8e46b034b25609c2df5f7f2dc32adf7afeb85fa) Don't die on diffing file deletions (again) (#​1028) - [`68d59c1`](https://github.com/yeoman/generator/commit/68d59c1d0092b7134d8de26bac435a655d09dd4e) Add package-lock.json - [`183b3a8`](https://github.com/yeoman/generator/commit/183b3a80bcbf59343cb44f206ac89c9e644fc0b6) Get rid of before/after (toward jest migration) - [`6effbfe`](https://github.com/yeoman/generator/commit/6effbfe92d1445f73a879c13e551bf814446ed86) Use raw nsp - [`4b1b841`](https://github.com/yeoman/generator/commit/4b1b841fb7c49b7fa103373c9f6931c2c2af722c) Replace gulp with raw Mocha - [`96da393`](https://github.com/yeoman/generator/commit/96da393bc61677317d6177d46878adb46557d94b) Bump package-lock.json - [`a29e5d9`](https://github.com/yeoman/generator/commit/a29e5d9eabcb301b499bb4e051445f754e59b6da) Bump dependencies - [`9e4ccf5`](https://github.com/yeoman/generator/commit/9e4ccf5b2dd9ab69ba76d21cd686383d060aa236) 2.0.0 #### v2.0.1 - [`2955a84`](https://github.com/yeoman/generator/commit/2955a841ef360620fbdb5f96d488c54df633eafe) Bump dependencies (+ security fix of debug) - [`28cbab2`](https://github.com/yeoman/generator/commit/28cbab2c6f8bafe88357eebe9b217089f383fd41) 2.0.1 #### v2.0.2 - [`825305e`](https://github.com/yeoman/generator/commit/825305e94e3fc2d61b4d07f77ef6729b481a830d) Fix typo in comment (#​1044) - [`f7b8167`](https://github.com/yeoman/generator/commit/f7b81671d23ab930883b407285113ac60e402ef7) fix: Do not apply user defaults when question.choices is a function. Fix #​1051 - [`d291b78`](https://github.com/yeoman/generator/commit/d291b7858c506057c244c73714449469d28cbcc7) Bump dependencies - [`967cb0f`](https://github.com/yeoman/generator/commit/967cb0fb296e4f4b91f0033734b84ba507df558e) 2.0.2 #### v2.0.3 - [`150053c`](https://github.com/yeoman/generator/commit/150053c6ab496809d0a96ce0d323a8e1f57bcf31) Update Travis version support - [`971c1a8`](https://github.com/yeoman/generator/commit/971c1a8aa1e4247ccccbf5bd91c1697aa9ce9579) Fix issue #​1050 regarding unsecured dependencies (#​1056) - [`d8253fc`](https://github.com/yeoman/generator/commit/d8253fcbdc3d616e27738f36967693d4f40ba7ed) 2.0.3 #### v2.0.4 - [`e582a00`](https://github.com/yeoman/generator/commit/e582a007fe416c25832b2ff68996fed023d43ad3) Spelling (#​1060) - [`efc52c9`](https://github.com/yeoman/generator/commit/efc52c9957f2fefabe821faabacca9fd5bc311ce) Change options and args order (#​1063) - [`2ddb7d5`](https://github.com/yeoman/generator/commit/2ddb7d5cc1ef6e021ecffe9efbcd93bdf56a63e7) 2.0.4

This PR has been generated by Renovate Bot.

atian25 commented 6 years ago

这样 PR 数真的好么。。。

直接执行下 egg-bin autod 就搞定了

duncup commented 6 years ago

。。。。。。 autod 一直没用过,好像直接 npm i -S 装的包会被干掉。。。。。。

duncup commented 6 years ago

不过现在这样确实太疯狂了,晚点我看看怎么搞比较好。

atian25 commented 6 years ago

会自动分析的,有 require 的就会自动分析到,没有的一级加到 .autod.conf,可以看下 egg 的几个插件里面怎么用的