You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands in oneRepo have a basic boilerplate structure and requirements. Copy/paste is fine, but error prone.
Suggest a solution
Have a default provided template for one generate that can build the command boilerplate.
This is not completely straightforward because the generate command itself looks for .onegen generation config files and templates out files in found directories. While that sounds okay, oneRepo is built by bundling its code, so references to templating files won't directly work.
One alternative would be to create a package of packages of templates. This could be nice to support some defaults, but I'm wary of this running down the path of Nx's generators that are really specific and opinionated and aren't always that helpful for real-world scenarios. I'd hate to have too much cruft to maintain.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the problem
Commands in oneRepo have a basic boilerplate structure and requirements. Copy/paste is fine, but error prone.
Suggest a solution
Have a default provided template for
one generate
that can build the command boilerplate.This is not completely straightforward because the
generate
command itself looks for.onegen
generation config files and templates out files in found directories. While that sounds okay, oneRepo is built by bundling its code, so references to templating files won't directly work.One alternative would be to create a package of packages of templates. This could be nice to support some defaults, but I'm wary of this running down the path of Nx's generators that are really specific and opinionated and aren't always that helpful for real-world scenarios. I'd hate to have too much cruft to maintain.
Code of Conduct
The text was updated successfully, but these errors were encountered: