From f5ab5a58d6ead7ab55f6cfb572bf48318b97f3c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 07:41:21 +0000 Subject: [PATCH 1/2] Initial plan From 60c5d14a187a17a36d29966acdcdfa14c16f52f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 07:59:56 +0000 Subject: [PATCH 2/2] Exclude legacy-theme/ts/colors from published package Update package.json files field to exclude dist/legacy-theme/ts/colors directory from npm package. The colors directory is only used by precompile-color-schemes.ts script and should not be published. The color-schemes.ts file remains published as it is imported by theme.ts. Co-authored-by: siddharthkp <1863771+siddharthkp@users.noreply.github.com> --- packages/react/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/package.json b/packages/react/package.json index b0ea216bcaa..c7c0d98feab 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -63,6 +63,7 @@ ], "files": [ "dist", + "!dist/legacy-theme/ts/colors", "generated", "CHANGELOG.md" ],