Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

fix: restrict publish files to only runtime essentials#135

Merged
bajtos merged 1 commit intoCheckerNetwork:mainfrom
Hany-Almnaem:fix/publish-only-needed-files
Jun 3, 2025
Merged

fix: restrict publish files to only runtime essentials#135
bajtos merged 1 commit intoCheckerNetwork:mainfrom
Hany-Almnaem:fix/publish-only-needed-files

Conversation

@Hany-Almnaem
Copy link
Contributor

This PR updates the package.json to use the files whitelist field, ensuring only essential runtime files are included when publishing to Zinnia via the publish-zinnia-module-action.

Excluded:

  • Dev and CI files (.github/, .prettierignore, test/, release.sh, etc.)

Included:

  • main.js, lib/, vendor/, deps.ts, README.md, LICENSE

Validated via npm pack --dry-run — total files reduced from 34 to 15, significantly reducing package size and improving runtime cleanliness.
Fixes #97

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you for contributing this improvement ❤️

@bajtos bajtos merged commit 1fafb16 into CheckerNetwork:main Jun 3, 2025
7 checks passed
@github-project-automation github-project-automation bot moved this to ✅ done in CheckerNetwork Jun 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: ✅ done

Development

Successfully merging this pull request may close these issues.

We are publishing too many files

2 participants