Conversation
|
@p-mcgowan I updated the gh workflow actions, node versions etc -> merged that back into this branch to get the tests working again. The code-coverage step was not working so removed for now, we can add back in later.. but it complained about something in latest code from code-cov |
|
|
||
| ### Testing template files | ||
|
|
||
| Generate-it will ignore any files in a folder called "". An example can be found in the https://github.com/j-d-carmichael/gen-it-ts-esm-server template. |
There was a problem hiding this comment.
folder called "" - is this supposed to be "_tpl_testing_"?
There was a problem hiding this comment.
you might have to escape it like \_tpl\_testing\_
|
lgtm - just the docs need an update (i think) |
| # Changelog | ||
|
|
||
| ### 5.62.0 04/03/2025 | ||
| feat: _tpl_testing_ added to the default ignore allowing a tpl to hold own test files |
you can via the nodegenrc file separate topic but i think after this wonderful ESM journey... deno land is the next stop for me. Cool will get the doc issue resolve and released - cheers |

https://github.com/j-d-carmichael/gen-it-ts-esm-server
There are now too many libs that only offer ESM making it impossible to use the og - I have got an ESM server template running on vitest but in the process wanted a space in a template to test...
https://github.com/j-d-carmichael/gen-it-ts-esm-server/tree/main/_tpl_testing_
With this pr when gen-it finds "tpl_testing" it will not copy it over. This allows the dev of the tpl to build and test a full server before pushing changes to git.
Naming up for debate...