Skip to main content

BunConfig

Configures and enables the Bun platform. Docs: https://moonrepo.dev/docs/config/toolchain#bun

Index

Properties

dependencyVersionFormat

dependencyVersionFormat: NodeVersionFormat = NodeVersionFormat

The dependency version format to use when syncing projects as dependencies.

inferTasksFromScripts

inferTasksFromScripts: boolean

Automatically infer moon tasks from package.json scripts.

installArgs

installArgs: string[]

List of arguments to append to bun install commands.

plugin

plugin: null | string

Location of the WASM plugin to use for Bun support.

rootPackageOnly

rootPackageOnly: boolean

Assumes only the root package.json is used for dependencies. Can be used to support the "one version policy" pattern.

optionalsyncProjectWorkspaceDependencies

syncProjectWorkspaceDependencies?: boolean = ```ts true ```

Automatically syncs moon project-to-project relationships as dependencies for each package.json in the workspace.

version

version: null | string

The version of Bun to download, install, and run bun tasks with.

@envvar

MOON_BUN_VERSION