docs(recipes/bun): Differentiate risk level in using bun as pkg manager vs runtime - #14349
Open
eugengi wants to merge 1 commit into
Open
docs(recipes/bun): Differentiate risk level in using bun as pkg manager vs runtime#14349eugengi wants to merge 1 commit into
bun as pkg manager vs runtime#14349eugengi wants to merge 1 commit into
Conversation
Clarify broad Bun caution to identify different levels of risk in using Bun as a package manager vs runtime replacement for Node. [Note] - This gives the user enough context if they refer to Bun's Astro guide which prompts them to use Bun as the runtime for Astro projects. [Docs] - https://bun.com/docs/guides/ecosystem/astro#build-an-app-with-astro-and-bun
Contributor
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
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
Follow-up suggestion to improve the clarity of the following caution in regard to using Bun in Astro projects:
Caution
Using Bun with Astro may reveal rough edges. Some integrations may not work as expected.
Minor room for improvement was identified in collaboration with @delucis on the PR referenced below.
The added context provided in this PR should help users make a definitive decision, especially if they refer to Bun's official Astro guide, which prompts them to use Bun as a runtime (via the
--bunflag).Note
By default, Bun respects the Node shebang (#!/usr/bin/env node) found at the top of executable files and automatically passes execution over to the system's Node.js runtime. To bypass this and force execution inside the Bun runtime, you must use the
--bunflagDocs
References
N/Alatest@sweugene