diff --git a/src/bin.ts b/src/bin.ts index 98f31ed..8371cdb 100644 --- a/src/bin.ts +++ b/src/bin.ts @@ -155,7 +155,7 @@ async function main() { spinner.start('Installing dependencies'); - // await execaCommand(`${pkgManager} install`); + await execaCommand(`${pkgManager} install`); spinner.stop('Dependencies installed'); diff --git a/src/index.ts b/src/index.ts index 84f7751..8603287 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,6 +29,8 @@ const copyTemplateFiles = async ( const files = readdirSync(dir, 'utf-8'); for (const file of files) { + if (file === 'meta.json') continue; + const dest = join(cwd, file); await copy(join(dir, file), dest); }