create-swarm-app should always use the latest stable bee-js version available.
It should be automatized in the CI to automatically open a new pull request whenever a new bee-js version is out.
It can be done two ways:
- Setting up a workflow with
cron trigger to periodically check
- Setting up a hook (maybe needs a
bee-js CI counterpart) that runs on a bee-js release
The second option is preferred, since we usually want to release bee-js and create-swarm-app at the same time, without having to wait for the cron to run.
It is also an option that create-swarm-app fetches the latest bee-js version during runtime so it works automatically without a release, but this can break if the bee-js release is breaking and the project template is no longer valid bee-js code. Not recommended.
create-swarm-appshould always use the latest stablebee-jsversion available.It should be automatized in the CI to automatically open a new pull request whenever a new
bee-jsversion is out.It can be done two ways:
crontrigger to periodically checkbee-jsCI counterpart) that runs on abee-jsreleaseThe second option is preferred, since we usually want to release
bee-jsandcreate-swarm-appat the same time, without having to wait for thecronto run.It is also an option that
create-swarm-appfetches the latestbee-jsversion during runtime so it works automatically without a release, but this can break if thebee-jsrelease is breaking and the project template is no longer validbee-jscode. Not recommended.