-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration feature for generator and subgenerator pre/post hooks. #460
Comments
cc @SBoudrias |
I don't think this would fit in our next priorities (PR are welcomed though), but we can keep the idea. Although, using a hook file is not something I'd agree with. At most, maybe we could allow hooks being passed as action on the terminal: |
Makes sense priority-wise, but I think there are quite a few use cases that should cover many of the features that should be relegated to other node applications. One of the features that I know has been suggested before in the past is the fact that the yeoman scaffolding engine creates everything in with 2 spaced tabbing, it would be great if I could automate that to my liking after the generator is done, or have a standard commit message for scaffolding specific changes that isn't entirely manual. |
Check this issue: #285 Any help is welcome. The architecture is there and customizing spacing should be trivial to implement. Generator-BBB does it, you'd only need to add this into core. |
+1 for being able to modify indents (type, number) upon scaffolding a new app |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days |
This is a feature request for implementing generator pre and post hooks for running shell or node commands when scaffolding applications. It was originally opened here: yeoman/yeoman#1069
In that issue, we determined that a file such as "Yohooks.js" could be placed in the same folder and could be used for the following test cases:
The file itself is made to be environmental, and not something that is integrated directly into a generator per say.
The text was updated successfully, but these errors were encountered: