generator icon indicating copy to clipboard operation
generator copied to clipboard

fix: `ts-node` is registered only when it's actually needed

Open Gmin2 opened this issue 3 months ago • 11 comments

Description

  • Remove the unconditional registration
  • Created checkForTypescriptFiles and hasTypescriptFilesDir functions to check for the presence of ts files in the filters and hooks directories
  • Conditionally register the ts transpiles in the configureTemplateWorkflow functions using checkForTypescriptFiles.

Related issue(s) Fixes #1030

Gmin2 avatar Apr 01 '24 12:04 Gmin2