From 635c0c43b03bbd4988e48e94b8c9be0ac4327566 Mon Sep 17 00:00:00 2001 From: Kyzgor Date: Sun, 8 Mar 2026 21:14:27 +0000 Subject: [PATCH] fix(build): reduce published package size by fixing files field The existing `files` field in package.json contained broken negation patterns (`!**/*.spec.*`, `!**/*.json`) that caused the whitelist to not function correctly, and referenced a nonexistent `CHANGELOG.md`. Fix the `files` field to properly scope exclusions within the `build/` directory, removing test artifacts from the published package while keeping the whitelist behavior intact. Fixes #90 --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c8efff7..a179fd0 100644 --- a/package.json +++ b/package.json @@ -101,9 +101,8 @@ }, "files": [ "build", - "!**/*.spec.*", - "!**/*.json", - "CHANGELOG.md", + "!build/tests", + "!build/**/*.spec.*", "LICENSE", "README.md" ],