From 337c72401225f66739f57eb08e02846f11c3de99 Mon Sep 17 00:00:00 2001 From: Dan Turner Date: Fri, 1 Sep 2023 16:05:19 +1000 Subject: [PATCH] fix: add index.cjs to list of potential config files to support module type packages Closes: https://github.com/jondot/hygen/issues/433 --- src/prompt.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prompt.ts b/src/prompt.ts index ea702398..f653e286 100644 --- a/src/prompt.ts +++ b/src/prompt.ts @@ -4,6 +4,7 @@ import type { Prompter } from './types' import helpers from './helpers' const hooksfiles = [ + 'index.cjs', 'index.js', 'index.ts', 'prompt.cjs',