Skip to content

fix: make self-contained CLI bundles runnable - #10

Merged
khaale merged 1 commit into
mainfrom
fix-self-contained-cli-bundling
Aug 24, 2026
Merged

fix: make self-contained CLI bundles runnable#10
khaale merged 1 commit into
mainfrom
fix-self-contained-cli-bundling

Conversation

@khaale

@khaale khaale commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Fixes the packaging failure reported in #6.

Changes

  • provide createRequire in the ESM bundle so CommonJS dependencies can load Node built-ins;
  • run a smoke test against the built glc, ktc, and pgc binaries during pack:check;
  • add patch changesets for all three published CLI packages.

Verification

  • pnpm check
  • all three package pack:check commands
  • glc, ktc, and pgc --help from dist/bin

@khaale
khaale merged commit 6c78ef0 into main Aug 24, 2026
2 checks passed
@khaale
khaale deleted the fix-self-contained-cli-bundling branch August 24, 2026 16:02
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