From ace487ace862d4e454985437dc2b199b124fde69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20No=C3=ABl?= Date: Wed, 25 Nov 2020 09:54:11 +0100 Subject: [PATCH] update gitignore in example and in generate-new (#8707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Noël --- examples/getstarted/.gitignore | 15 ++++++++------- .../lib/resources/dot-files/gitignore | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/examples/getstarted/.gitignore b/examples/getstarted/.gitignore index cec49b62d7..b21952454a 100644 --- a/examples/getstarted/.gitignore +++ b/examples/getstarted/.gitignore @@ -82,7 +82,6 @@ ssl nbproject public/uploads/* !public/uploads/.gitkeep -.env ############################ # Node.js @@ -96,19 +95,21 @@ results node_modules .node_history - ############################ -# Strapi +# Tests ############################ testApp coverage -exports +############################ +# Strapi +############################ +.env +license.txt +exports *.cache - +build documentation -exports - .strapi-updater.json diff --git a/packages/strapi-generate-new/lib/resources/dot-files/gitignore b/packages/strapi-generate-new/lib/resources/dot-files/gitignore index f7c23f6bcb..8e339ee395 100644 --- a/packages/strapi-generate-new/lib/resources/dot-files/gitignore +++ b/packages/strapi-generate-new/lib/resources/dot-files/gitignore @@ -95,7 +95,6 @@ results node_modules .node_history - ############################ # Tests ############################ @@ -110,5 +109,6 @@ coverage .env license.txt exports -.cache +*.cache build +.strapi-updater.json