Skip to content

chore: review and tighten package.json files field for npm publish#229

Merged
himerus merged 1 commit intodevfrom
feature/chore-review-and-tighten-packagejson
Mar 27, 2026
Merged

chore: review and tighten package.json files field for npm publish#229
himerus merged 1 commit intodevfrom
feature/chore-review-and-tighten-packagejson

Conversation

@himerus
Copy link
Copy Markdown
Contributor

@himerus himerus commented Mar 27, 2026

Summary

Verify npm Package Contents Are Intentional

The root package.json files field includes:

"files": ["build", "!build/**/*.map", "packages/core/src", "src/skills", "README.md", "CHANGELOG.md"]

packages/core/src (TypeScript source) and src/skills are included in the published npm tarball. This may be intentional (for debugging/source maps), but it increases package size and exposes implementation details.

Implementation

  1. Run npm pack --dry-run and document the full ...

Created automatically by Automaker

packages/core/src was included in the files array but all exports already
point to compiled build/ paths, making source inclusion redundant. Removing
it reduces unpacked package size by ~94% (806 kB → 54 kB). src/skills is
retained as it ships the update-helixir Claude Code skill to end users.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@himerus himerus merged commit 8212c82 into dev Mar 27, 2026
4 of 7 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 27, 2026

Warning

Rate limit exceeded

@himerus has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 19 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 19 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0feb8f4b-4a39-45b8-b455-dd930740bee5

📥 Commits

Reviewing files that changed from the base of the PR and between b3a085a and 178778c.

📒 Files selected for processing (1)
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/chore-review-and-tighten-packagejson

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant