From 39a8160d9e975737ae9c4e196b0e8736775963c2 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 12 Jun 2019 07:38:23 -0700 Subject: [PATCH] feat(create): add a .gitignore file in new workspaces --- packages/create/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/create/index.js b/packages/create/index.js index bf78366aaa..4432263692 100644 --- a/packages/create/index.js +++ b/packages/create/index.js @@ -179,6 +179,10 @@ install_bazel_dependencies()`); } }, null, 4)); + write('.gitignore', ` +dist +bazel-out +node_modules`); // in the published distribution, this file will appear in the same folder as this file try { const rc = require.resolve('./common.bazelrc');