From c9a1b00c1eb78d0d961dc7d68aa7430d2ba2b02e Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 16 Sep 2019 14:58:03 -0400 Subject: [PATCH] build: do not create .npmignore when bootstrapping --- scripts/bootstrap.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 20d2214ad..eb7003429 100644 --- a/scripts/bootstrap.js +++ b/scripts/bootstrap.js @@ -47,11 +47,6 @@ files.forEach(shortName => { fs.writeFileSync(readmePath, `# ${name}`) } - const npmIgnorePath = path.join(packagesDir, shortName, `.npmignore`) - if (args.force || !fs.existsSync(npmIgnorePath)) { - fs.writeFileSync(npmIgnorePath, `__tests__/\n__mocks__/\ndist/packages`) - } - const srcDir = path.join(packagesDir, shortName, `src`) const indexPath = path.join(packagesDir, shortName, `src/index.ts`) if (args.force || !fs.existsSync(indexPath)) {