hygen
hygen copied to clipboard
The simple, fast, and scalable code generator that lives in your project.
I want to get the string output only for each template within my program. I tried the following code, and see that the log statements I added didn't run. ```js...
cwd refers to the project root I would like to have a current path from the terminal So that if I open terminal in some sub-dir of my project I...
Enquirer seems to be dead. The last substantial commits were in January 2020, and there are open PRs from several years ago (including this one, which I really need: https://github.com/enquirer/enquirer/pull/272)....
Hey all, This is a feature request / discussion for what I think would be a killer next step for hygen workflow. It's quite cumbersome to prepare all the templates...
I used to be able to execute this code (ver 4.x I think).., where the input to the generator was a JSON entity.., but have not been able to in...
Suppose we have 2 templates and one of them is for creating the main structure of the project including all folders and files and requires a name field . Now...
So that we no longer has to write cancerous `module.exports`!!
When using `hygen` as a standalone script in conjunction with `yarn create something`, `npm create something`, etc `hygen` fails to read custom templates passed in the `config` param. The reason...
I am writing a generator for a monorepo that uses npm Workspaces. The workspaces are defined in package.json like this: ``` "workspaces": [ "apps/*", "packages/*" ], ``` The actual monorepo...
hey, not so much an issue but I couldn't tell if this was possible or not, I want to essentially provide an array to a template and either loop the...