From: Evan You Date: Mon, 16 Sep 2019 18:58:03 +0000 (-0400) Subject: build: do not create .npmignore when bootstrapping X-Git-Tag: v3.0.0-alpha.0~763 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9a1b00c1eb78d0d961dc7d68aa7430d2ba2b02e;p=thirdparty%2Fvuejs%2Fcore.git build: do not create .npmignore when bootstrapping --- diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 20d2214adf..eb70034290 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)) {