Skip to content

Commit

Permalink
Merge pull request #21 from baabouj/fix/remove-meta-file-from-the-gen…
Browse files Browse the repository at this point in the history
…erated-templete

fix: remove meta file from the generated template
  • Loading branch information
baabouj authored Oct 10, 2023
2 parents 8d0dfc6 + f754f85 commit 0156af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async function main() {

spinner.start('Installing dependencies');

// await execaCommand(`${pkgManager} install`);
await execaCommand(`${pkgManager} install`);

spinner.stop('Dependencies installed');

Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0156af9

Please sign in to comment.