Skip to content

chore: simplify action builds with tsup#455

Merged
fuzzypixelz merged 2 commits into
eclipse-zenoh:mainfrom
ZettaScaleLabs:chore/tsup-build-simplify
Jul 2, 2026
Merged

chore: simplify action builds with tsup#455
fuzzypixelz merged 2 commits into
eclipse-zenoh:mainfrom
ZettaScaleLabs:chore/tsup-build-simplify

Conversation

@diogomatsubara

Copy link
Copy Markdown
Contributor

Replace the custom build.cjs wrapper with a single tsup invocation.

  • move entrypoint discovery into tsup.config.ts
  • change npm build script to run tsup directly
  • remove build.cjs
  • regenerate dist bundles with the new build path

This keeps the output behavior the same while making the build configuration the single source of truth.

Replace the custom build.cjs wrapper with a single tsup invocation.

- move entrypoint discovery into tsup.config.ts
- change npm build script to run tsup directly
- remove build.cjs
- regenerate dist bundles with the new build path

This keeps the output behavior the same while making the build
configuration the single source of truth.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the GitHub Action build pipeline by removing the custom build.cjs wrapper and moving entrypoint discovery + bundling configuration into tsup.config.ts, with npm run build now invoking tsup directly.

Changes:

  • Add entrypoint discovery (pre/main/post variants) to tsup.config.ts and run a single tsup build.
  • Update the build npm script to call tsup directly.
  • Remove the build.cjs wrapper script.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tsup.config.ts Adds entrypoint discovery and centralizes tsup build configuration.
package.json Switches the build script from ./build.cjs to tsup.
build.cjs Removes the now-unneeded custom build wrapper.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tsup.config.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@fuzzypixelz fuzzypixelz enabled auto-merge (squash) July 2, 2026 13:42
@fuzzypixelz fuzzypixelz merged commit 798de97 into eclipse-zenoh:main Jul 2, 2026
3 checks passed
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.

3 participants