From 69ce97268e23ef34036593b3f4f5b6883b71e305 Mon Sep 17 00:00:00 2001 From: Naz Date: Tue, 16 May 2023 13:03:01 +0700 Subject: [PATCH] Generalized /build folder exclusion in .gitignore no issue - The "build" folder and "tsconfig.tsbuildinfo" are commonly ignored from source control across packages. - It makes sense to make one default rule for them all instead of adding a new rule whenever new package is created. --- .gitignore | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 5c598fc3db..8918c437ae 100644 --- a/.gitignore +++ b/.gitignore @@ -125,19 +125,16 @@ Caddyfile # Portal !/ghost/portal/.env /ghost/portal/umd -/ghost/portal/build # Sodo-Search /ghost/sodo-search/public/main.css /ghost/sodo-search/umd -/ghost/sodo-search/build # Announcement-Bar /ghost/announcement-bar/umd -/ghost/announcement-bar/build -/ghost/post-revisions/build -/ghost/post-revisions/tsconfig.tsbuildinfo +# Build files +/ghost/*/build -/ghost/in-memory-repository/build -/ghost/in-memory-repository/tsconfig.tsbuildinfo +# Typescript build artifacts +/ghost/*/tsconfig.tsbuildinfo