Table of Contents

Bun

Install dependencies, build packages, run scripts, publish packages, and execute tests with Bun.

Entry points

Tools.Bun.EnsureAvailable

Makes the bun command available.

public static ToolInstall EnsureAvailable { get; }

Property Value

ToolInstall

Tools.Bun.Install

Installs project dependencies.

public static BunInstall Install { get; }

Property Value

BunInstall

Tools.Bun.Add

Adds packages to a project.

public static BunAdd Add { get; }

Property Value

BunAdd

Tools.Bun.Build

Bundles application entry points.

public static BunBuild Build { get; }

Property Value

BunBuild

Tools.Bun.Run

Runs a file or package script.

public static BunRun Run { get; }

Property Value

BunRun

Tools.Bun.Test

Runs Bun tests.

public static BunTest Test { get; }

Property Value

BunTest

Tools.Bun.Publish

Publishes a package to an npm registry.

public static BunPublish Publish { get; }

Property Value

BunPublish

Related types