Skip to main content

PartialBunConfig

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

Index

Properties

optionaldependencyVersionFormat

dependencyVersionFormat?: null | NodeVersionFormat = null | NodeVersionFormat

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

optionalinferTasksFromScripts

inferTasksFromScripts?: null | boolean

Automatically infer moon tasks from package.json scripts.

optionalinstallArgs

installArgs?: null | string[]

List of arguments to append to bun install commands.

optionalplugin

plugin?: null | string

Location of the WASM plugin to use for Bun support.

optionalrootPackageOnly

rootPackageOnly?: null | boolean

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

optionalsyncProjectWorkspaceDependencies

syncProjectWorkspaceDependencies?: null | boolean = null | boolean

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

optionalversion

version?: null | string

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

@envvar

MOON_BUN_VERSION