From 2102695c8880d779cc0e3a86de4be260154c96da Mon Sep 17 00:00:00 2001 From: Andrei L <1881266+unrevised6419@users.noreply.github.com> Date: Wed, 11 Feb 2026 11:10:20 +0200 Subject: [PATCH] fix(ts): ignore generated .strapi folder (#25086) --- examples/empty/tsconfig.json | 1 + examples/experimental-dev/tsconfig.json | 1 + examples/kitchensink-ts/tsconfig.json | 1 + packages/cli/create-strapi-app/templates/example/tsconfig.json | 1 + packages/cli/create-strapi-app/templates/vanilla/tsconfig.json | 1 + templates/website/tsconfig.json | 1 + 6 files changed, 6 insertions(+) diff --git a/examples/empty/tsconfig.json b/examples/empty/tsconfig.json index b9fa686a90..187b551f5a 100644 --- a/examples/empty/tsconfig.json +++ b/examples/empty/tsconfig.json @@ -32,6 +32,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", // Do not include admin files in the server compilation "src/admin/", diff --git a/examples/experimental-dev/tsconfig.json b/examples/experimental-dev/tsconfig.json index d3d6028be5..0951f1da9f 100644 --- a/examples/experimental-dev/tsconfig.json +++ b/examples/experimental-dev/tsconfig.json @@ -11,6 +11,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", "src/admin/", "**/*.test.ts", "src/plugins/**" diff --git a/examples/kitchensink-ts/tsconfig.json b/examples/kitchensink-ts/tsconfig.json index 96c75aabee..ad7ea6dc0c 100644 --- a/examples/kitchensink-ts/tsconfig.json +++ b/examples/kitchensink-ts/tsconfig.json @@ -24,6 +24,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", "src/admin/", "**/*.test.ts", "src/plugins/**" diff --git a/packages/cli/create-strapi-app/templates/example/tsconfig.json b/packages/cli/create-strapi-app/templates/example/tsconfig.json index b9fa686a90..187b551f5a 100644 --- a/packages/cli/create-strapi-app/templates/example/tsconfig.json +++ b/packages/cli/create-strapi-app/templates/example/tsconfig.json @@ -32,6 +32,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", // Do not include admin files in the server compilation "src/admin/", diff --git a/packages/cli/create-strapi-app/templates/vanilla/tsconfig.json b/packages/cli/create-strapi-app/templates/vanilla/tsconfig.json index b9fa686a90..187b551f5a 100644 --- a/packages/cli/create-strapi-app/templates/vanilla/tsconfig.json +++ b/packages/cli/create-strapi-app/templates/vanilla/tsconfig.json @@ -32,6 +32,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", // Do not include admin files in the server compilation "src/admin/", diff --git a/templates/website/tsconfig.json b/templates/website/tsconfig.json index b9fa686a90..187b551f5a 100644 --- a/templates/website/tsconfig.json +++ b/templates/website/tsconfig.json @@ -32,6 +32,7 @@ "dist/", ".cache/", ".tmp/", + ".strapi/", // Do not include admin files in the server compilation "src/admin/",