From 30b0d0936ccb49880f6d08ac9c1408ce4fec6ab6 Mon Sep 17 00:00:00 2001 From: Kristoffer K Date: Mon, 26 Jun 2023 10:53:35 +0200 Subject: [PATCH] chore: fix tsconfig excludes (#5525) **What's the problem this PR addresses?** The exclude pattern `packages/*/{lib,bin,bundles}` in the `tsconfig.json` file doesn't work. **How did you fix it?** Split it out into separate entries. **Checklist** - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). - [x] I have set the packages that need to be released for my changes to be effective. - [x] I will check that all automated PR checks pass before the PR gets reviewed. --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 4aaee1a4e5f9..a1cbee086631 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,9 @@ "useUnknownInCatchVariables": false }, "exclude": [ - "packages/*/{lib,bin,bundles}", + "packages/*/lib", + "packages/*/bin", + "packages/*/bundles", "packages/yarnpkg-doctor/fixtures", "packages/gatsby", "packages/docusaurus",