From 236c034300dd0c9503eeadf3b577f7329255e102 Mon Sep 17 00:00:00 2001 From: Ben Kates Date: Wed, 24 Jul 2024 14:32:29 -0400 Subject: [PATCH] Add feedback that the files were created --- bin/createComponent/createComponent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/createComponent/createComponent.js b/bin/createComponent/createComponent.js index d49b283..991fde3 100644 --- a/bin/createComponent/createComponent.js +++ b/bin/createComponent/createComponent.js @@ -49,6 +49,9 @@ async function main() { // create Component.stories.svelte const storyFilePath = path.join(dir, `${componentName}.stories.svelte`); fs.writeFileSync(storyFilePath, createStory(componentName), "utf8"); + + // Confirmation text + console.log(`Boilerplate files created in ${dir}`); } else { console.error("Directory already exists"); }