bundler

package
v0.0.176 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBuildFailed = fmt.Errorf("build failed")
View Source
var Version = "dev"

Functions

func Bundle

func Bundle(ctx BundleContext) error

func CreateDeploymentMutator added in v0.0.143

func CreateDeploymentMutator(ctx BundleContext) util.ZipDirCallbackMutator

func GetSDKVersion added in v0.0.120

func GetSDKVersion(language string, ctx BundleContext) (*semver.Version, error)

Types

type AgentConfig

type AgentConfig struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Filename string `json:"filename"`
}

type BundleContext added in v0.0.29

type BundleContext struct {
	Context        context.Context
	Logger         logger.Logger
	Project        *project.Project
	ProjectDir     string
	Production     bool
	Install        bool
	CI             bool
	DevMode        bool
	Writer         io.Writer
	PromptsEvalsFF bool
}

BundleContext holds the context for bundling operations

type UVLockfile added in v0.0.114

type UVLockfile struct {
	Packages []UVPackage `toml:"package"`
}

type UVPackage added in v0.0.114

type UVPackage struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type WorkspaceConfig added in v0.0.167

type WorkspaceConfig struct {
	Root     string
	Type     string   // "npm", "yarn", or "pnpm"
	Patterns []string // workspace patterns
}

WorkspaceConfig represents workspace configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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