From cc8a98dac015a73b855fa73b3f9b5b6b8c60f14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Tue, 19 Sep 2023 11:15:45 -0400 Subject: [PATCH] fix: add .allcontributorsrc back to .prettierignore (#838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## PR Checklist - [x] Addresses an existing open issue: fixes #837 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview 😢. #806 was perfect. But the tooling appears to not be working properly. fyi @conrmahr - maybe we can try again in a few months? --- .prettierignore | 1 + src/steps/writing/creation/rootFiles.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/.prettierignore b/.prettierignore index 491c2d14..613eedd4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ +.all-contributorsrc coverage*/ lib/ pnpm-lock.yaml diff --git a/src/steps/writing/creation/rootFiles.ts b/src/steps/writing/creation/rootFiles.ts index 0c1788fd..e311f1a7 100644 --- a/src/steps/writing/creation/rootFiles.ts +++ b/src/steps/writing/creation/rootFiles.ts @@ -48,6 +48,7 @@ export async function createRootFiles(options: Options) { }), ".nvmrc": `18.17.1\n`, ".prettierignore": formatIgnoreFile([ + ...(options.excludeContributors ? [] : [".all-contributorsrc"]), ...(options.excludeTests ? [] : ["coverage/"]), "lib/", "pnpm-lock.yaml",