generator
generator copied to clipboard
fix: `ts-node` is registered only when it's actually needed
Description
- Remove the unconditional registration
- Created
checkForTypescriptFiles
andhasTypescriptFilesDir
functions to check for the presence ofts
files in thefilters
andhooks
directories - Conditionally register the
ts
transpiles in theconfigureTemplateWorkflow
functions usingcheckForTypescriptFiles
.
Related issue(s) Fixes #1030