Skip to content

fix: restrict publish files to only runtime essentials #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

We are publishing too many files
1 participant