workspace

package
v0.0.0-...-a99bfd2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency map[string]string

type DependencyMap

type DependencyMap struct {
	Dependencies map[string][]string
	Dependents   map[string][]string
}

func NewDependencyMap

func NewDependencyMap() *DependencyMap

func (DependencyMap) CreateDependencyMap

func (dm DependencyMap) CreateDependencyMap(packages PackageInfos, options PackageDepsOptions)

type PackageDepsOptions

type PackageDepsOptions struct {
	WithDevDependencies bool
	WithPeerDependecies bool
}

type PackageInfo

type PackageInfo struct {
	Name             string
	PackageJsonPath  string
	Version          string
	Dependencies     Dependency
	DevDependencies  Dependency
	PeerDependencies Dependency
	Private          bool
	Group            string
	Scripts          map[string]string
	Repository       string
}

type PackageInfos

type PackageInfos = map[string]PackageInfo

Jump to

Keyboard shortcuts

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