bun

package
v0.0.0-...-d97b457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package bun generates the Dockerfile for Bun projects. It is currently the wrapper of Node.js planner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineFramework

func DetermineFramework(ctx *bunPlanContext) types.BunFramework

DetermineFramework determines the framework of the Bun project.

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for Bun projects.

func GetMeta

func GetMeta(opt GetMetaOptions) types.PlanMeta

GetMeta gets the metadata of the Node.js project.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new Bun identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new Node.js packer.

Types

type GetMetaOptions

type GetMetaOptions nodejs.GetMetaOptions

GetMetaOptions is the options for GetMeta.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL