hygen
hygen copied to clipboard
The simple, fast, and scalable code generator that lives in your project.
hi, is it possible to show which file and which line number is causing the ejs error? for example: SyntaxError: Unexpected token 'for' while compiling ejs it is quite confusing...
This PR allows using `.hygen.cjs` config in EJS projects having `"type": "module"` in `package.json`.
``` --- to: appinfo.json from: template/appinfo.json force: true --- ``` // template/appinfo.json ``` { "id": "com.test.app" } ``` // output: appinfo.json ``` { "id": "com.test.app" } ``` output file doesn't...
Hi, Is possible in hygen to generate multiple files from one template? I need something like this, but I have not been able to find solution. ```js --- to: app/workers/file1.js...
First, thank you for the excellent piece of software! I've been having a lot of fun with it recently. :) So, I sent a PR a few days ago adding...
From #158 discussion: > I think that's the best approach. We won't need hygen to discover templates at all if we can tell it where all of them are :)...
It seems that the --version output is treated as a error ... while trying to programatically use this i have to check for for a string : ``` ipcMain.handle('check-hygen-command', async...
I found some `sh` failed without `stderr` message, instead they are output to `stdout`, e.g. `pnpm i` while `package.json`'s syntax error.
I recently created a generator: https://github.com/italomaia/hygen-axum-podman-template Now I'm trying to test it with `hygen-add`, but I'm getting the following error: ```bash > hygen-add axum-podman Can't add hygen-axum-podman [Error: ENOENT: no...
The last commit was done 2 years ago, the official webiste https://hygen.io/ is no longer working and the even the domain is lost. So is hygen still alive?