Skip to content

fix: move bundled deps to devDependencies#19

Merged
rhuanbarreto merged 1 commit into
mainfrom
fix/move-deps-to-dev
Feb 26, 2026
Merged

fix: move bundled deps to devDependencies#19
rhuanbarreto merged 1 commit into
mainfrom
fix/move-deps-to-dev

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Move all dependencies (@commander-js/extra-typings, @modelcontextprotocol/sdk, inquirer, zod) to devDependencies since the binary bundles everything
  • Remove zod import from the public ./rules export (src/formats/rules.ts) so consumers have zero transitive dependencies
  • Relocate RuleSetSchema to src/engine/loader.ts where it's actually used internally

Test plan

  • bun run lint passes
  • bun run typecheck passes
  • bun test — 220 tests pass
  • bun run build:check — binary compiles successfully
  • Verify npm pack --dry-run shows no bloat in published package

🤖 Generated with Claude Code

The binary bundles all dependencies, so consumers installing archgate
as a dev dependency (for the `./rules` export) were pulling in
commander, inquirer, MCP SDK, and zod unnecessarily. Move all deps
to devDependencies and relocate RuleSetSchema from the public rules
export to the internal loader where it's actually used.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rhuanbarreto rhuanbarreto merged commit d61d7e0 into main Feb 26, 2026
2 checks passed
@archgatebot archgatebot Bot mentioned this pull request Feb 26, 2026
rhuanbarreto added a commit that referenced this pull request Feb 28, 2026
…ls (#19)

The binary bundles all dependencies, so consumers installing archgate
as a dev dependency (for the `./rules` export) were pulling in
commander, inquirer, MCP SDK, and zod unnecessarily. Move all deps
to devDependencies and relocate RuleSetSchema from the public rules
export to the internal loader where it's actually used.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@rhuanbarreto rhuanbarreto deleted the fix/move-deps-to-dev branch March 3, 2026 22:09
rhuanbarreto added a commit that referenced this pull request Mar 3, 2026
…ls (#19)

The binary bundles all dependencies, so consumers installing archgate
as a dev dependency (for the `./rules` export) were pulling in
commander, inquirer, MCP SDK, and zod unnecessarily. Move all deps
to devDependencies and relocate RuleSetSchema from the public rules
export to the internal loader where it's actually used.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
rhuanbarreto added a commit that referenced this pull request Mar 4, 2026
…ls (#19)

The binary bundles all dependencies, so consumers installing archgate
as a dev dependency (for the `./rules` export) were pulling in
commander, inquirer, MCP SDK, and zod unnecessarily. Move all deps
to devDependencies and relocate RuleSetSchema from the public rules
export to the internal loader where it's actually used.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 4, 2026
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