Documentation
¶
Index ¶
- Variables
- func Bundle(ctx BundleContext) error
- func CheckForBreakingChangesWithBanner(ctx BundleContext, language string, runtime string) bool
- func CreateDeploymentMutator(ctx BundleContext) util.ZipDirCallbackMutator
- func GetSDKVersion(language string, ctx BundleContext) (*semver.Version, error)
- type AgentConfig
- type BundleContext
- type UVLockfile
- type UVPackage
- type WorkspaceConfig
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 CheckForBreakingChangesWithBanner ¶ added in v0.0.178
func CheckForBreakingChangesWithBanner(ctx BundleContext, language string, runtime string) bool
CheckForBreakingChangesWithBanner is a wrapper that handles breaking changes gracefully Returns true if a breaking change was detected and handled, false otherwise
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 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 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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.