Documentation
¶
Index ¶
- Constants
- Variables
- func GenerateBackendConfFromMap(ctx context.Context, backends map[string]*BackendDefinition, placeholder bool) ([]byte, error)
- func NodeEnv(env *schema.Environment) string
- func NodejsBuilder(env cfg.Context, loc pkggraph.Location, config *schema.NodejsBuild, ...) (build.Spec, error)
- type BackendDefinition
- type PackageManager
Constants ¶
View Source
const (
AppRootPath = "/app"
)
Variables ¶
View Source
var (
NodejsExclude = []string{"**/.yarn/cache", "**/.pnp.*"}
)
Functions ¶
func NodeEnv ¶ added in v0.0.73
func NodeEnv(env *schema.Environment) string
func NodejsBuilder ¶
Types ¶
type BackendDefinition ¶
type PackageManager ¶ added in v0.0.73
type PackageManager struct { CLI string InstallCmd string CacheKey string MakeState llb.StateOption RequiredFiles []string // Files patterns which are relevant to this package manager. WildcardDirectories []string ExcludePatterns []string }
func LookupPackageManager ¶ added in v0.0.73
func LookupPackageManager(pkgMgr schema.NodejsBuild_NodePkgMgr) (*PackageManager, error)
Click to show internal directories.
Click to hide internal directories.