Add Bun as Javascript runtime and package manager and add PHP 8.4 and 8.5 as options - #540
Open
FelipeEstevanatto wants to merge 5 commits into
Open
Add Bun as Javascript runtime and package manager and add PHP 8.4 and 8.5 as options#540FelipeEstevanatto wants to merge 5 commits into
FelipeEstevanatto wants to merge 5 commits into
Conversation
Adds a Vanilla Bun preset and Bun options across JS/PHP stacks so users can pick Bun the same way they pick npm or yarn. JS frameworks (Next, Nuxt, Express, Adonis) swap the app service to oven/bun:1; Laravel uses Bun only for Vite via a one-off kool docker helper. Co-authored-by: Cursor <cursoragent@cursor.com>
Compose V2 ignores the top-level `version` attribute and warns on it, which also broke `kool status` by mixing that warning into service/container-id parsing. Remove version from the remaining compose templates, presets, and docs examples. Co-authored-by: Cursor <cursoragent@cursor.com>
oven/bun ignores kool's ASUSER entrypoint, so `kool docker` now accepts --user to keep scaffolded files owned by the host user. `kool create` passes a folder name relative to the mounted cwd so absolute paths like /tmp/app are not written into the container's own /tmp. `kool status` ignores Compose warning lines mixed into combined output, and the compose parser no longer emits version 3.7. Co-authored-by: Cursor <cursoragent@cursor.com>
kooldev/php already publishes 8.4/8.5 and *-nginx tags. Surface them in pick-php (Laravel, Symfony, CodeIgniter, vanilla PHP) and in the create-project scaffolding recipes, listed above the existing 8.3 choice. Default remains PHP 8.2. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Bun as a JavaScript runtime and package manager option, as requested in my issue #535.
kool create bunjs), parallel to Vanilla Node.js.bunoption on the shared wizardspick-node-pkg-mgrandpick-laravel-node(Laravel, Symfony, CodeIgniter, WordPress).bunoption on Next.js, Nuxt.js, Express.js, AdonisJS, and Laravel Octane.oven/bun:1; Laravel uses Bun only for Vite assets. npm/yarn remain the defaults.kool docker --user(oven/bun ignores kool'sASUSERentrypoint),kool createuses a folder name relative to the mounted cwd so absolute paths write to the host, andkool statusignores Compose V2 warning noise.version:keys from remaining templates/presets/docs.Also adds PHP 8.4 and 8.5 to the PHP version wizards (
kooldev/php:8.4/8.4-nginxand8.5/8.5-nginx), listed above the existing 8.3 choice. Default remains PHP 8.2. Laravel Octane stays on the 8.2 Swoole/RoadRunner images.Notes
AdonisJS on the Bun runtime is experimental (Adonis targets Node). A dedicated
kooldev/bunimage is still an option later if preferred overoven/bun:1.