https://github.com/afeiship/yeoman-generator-helper
Yeoman generator helper.
https://github.com/afeiship/yeoman-generator-helper
generator helper yeoman yo
Last synced: 7 months ago
JSON representation
Yeoman generator helper.
- Host: GitHub
- URL: https://github.com/afeiship/yeoman-generator-helper
- Owner: afeiship
- License: mit
- Created: 2016-09-22T15:57:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T14:47:49.000Z (over 1 year ago)
- Last Synced: 2025-01-06T08:09:36.061Z (10 months ago)
- Topics: generator, helper, yeoman, yo
- Language: JavaScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# yeoman-generator-helper
> Yeoman generator helper.
## installation
```shell
npm i @jswork/yeoman-generator-helper
```
## apis
| api | params | description |
| ------------ | ---------------------- | ----------- |
| discoverRoot | - | - |
| shortName | (name) | - |
| extendProps | (context) | - |
| underToDot | (context) | - |
| rewriteProps | (props,{ exclude:[] }) | - |
| renameBy | (context, callback) | - |
| rename | (context, src,dest) | - |
## gulp-rename
- https://github.com/yeoman/yo/issues/577
- https://github.com/yeoman/yeoman/issues/1676
~~~
This seems to be caused by recent changes in **gulp-rename** (current version 1.2.3).
Older versions work just fine.
In my case i had to pin gulp-rename to 1.2.2 to fix my generators.
~~~