Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateDependenciesList ¶
func CalculateDependenciesList(typeRestriction TypeRestriction, npmArgs []string, executablePath, buildInfoModuleId string) (dependenciesList map[string]*Dependency, err error)
func FindNpmExecutable ¶
Types ¶
type Dependency ¶
type Dependency struct {
Name string
Version string
Scopes []string
FileType string
Checksum *buildinfo.Checksum
PathToRoot [][]string
}
func (*Dependency) GetPathToRoot ¶
func (dep *Dependency) GetPathToRoot() [][]string
type TypeRestriction ¶
type TypeRestriction int
const ( DefaultRestriction TypeRestriction = iota All DevOnly ProdOnly )
Click to show internal directories.
Click to hide internal directories.