From 5147a035870004d4d9b680b1124248cfdd198500 Mon Sep 17 00:00:00 2001 From: mrholek Date: Thu, 16 Jul 2026 01:31:32 +0200 Subject: [PATCH] chore(package): exclude __tests__ from the published tarball The "src/" whitelist shipped ~250 test + snapshot files per package with no consumer value. "!src/**/__tests__" drops them while keeping the source and source maps. Verified via npm pack --dry-run: 0 test files remaining, dist untouched. --- packages/coreui-react/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/coreui-react/package.json b/packages/coreui-react/package.json index 0d21e63d..4e7db166 100644 --- a/packages/coreui-react/package.json +++ b/packages/coreui-react/package.json @@ -29,7 +29,8 @@ "types": "dist/esm/index.d.ts", "files": [ "dist/", - "src/" + "src/", + "!src/**/__tests__" ], "sideEffects": false, "scripts": {