apify / apify-cli

Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform.
https://docs.apify.com/cli
119 stars 17 forks source link

Experiment with Bun bundling for distributing the CLI as a single-file executable #582

Open vladfrangu opened 1 month ago

vladfrangu commented 1 month ago

After the meeting with @netmilk about the CLI, we should try using Bun to build a single-file executable of the CLI that can then be distributed ("eliminating" the requirement of having node installed/tagged along to run the CLI)

Initial testing shows that we might need oclif's help, as they rely heavily on finding the package.json, so that might need tweaking (or a replacement of CLI frameworks).

Jarred-Sumner commented 1 month ago

Let us know if you run into any issues with Bun