Skip to content

Conversation

fmonper1
Copy link
Contributor

This pull request restructures the build output directories for CLI binaries and npm packages, and updates the TypeScript build configuration to better control which files are included or excluded. The main goal is to organize build artifacts under a new pkg/cli directory instead of dist/bin, and to ensure the TypeScript build only includes the intended source files.

Build output directory changes:

  • Changed the output directory for CLI binaries and related package files from dist/bin to pkg/cli in both build-bins.sh and build-npm-tar.sh, ensuring all build artifacts are consolidated in pkg/cli. [1] [2] [3]

TypeScript build configuration:

  • Updated tsconfig.build.json to only include src/index.ts and files under src/sdk, while excluding the cli directory, refining what gets compiled in the build process.

Build process improvements:

  • Added a command in build-pkg.sh to ensure the dist/bin directory exists before copying files, preventing potential errors if the directory is missing.

Copy link

👋 fmonper1, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@fmonper1 fmonper1 merged commit 1a65e59 into main Sep 16, 2025
7 checks passed
@fmonper1 fmonper1 deleted the pkg-cleanup branch September 16, 2025 23:53
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.

2 participants