Skip to content

fix(cli): support Bun / Deno in isMain function#1406

Open
tcely wants to merge 1 commit intogoogle:mainfrom
tcely:tcely-isMain
Open

fix(cli): support Bun / Deno in isMain function#1406
tcely wants to merge 1 commit intogoogle:mainfrom
tcely:tcely-isMain

Conversation

@tcely
Copy link

@tcely tcely commented Feb 13, 2026

  • Move the isMain function to util.ts

  • Remove the previous isMain from cli.ts

  • Adjust isMain usage in cli.test.js

  • Insert import_meta_url into import_meta as url

  • Update the build files

Fixes #1383

* Move the `isMain` function to util.ts

* Remove the previous `isMain` from cli.ts

* Adjust `isMain` usage in cli.test.js

* Insert `import_meta_url` into `import_meta` as `url`

* Update the build files
@google-cla
Copy link

google-cla bot commented Feb 13, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@tcely tcely marked this pull request as ready for review February 13, 2026 22: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.

Why doesdeno run not use jsr:@webpod/zx?

1 participant