monorepo

package
v5.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FlagType = "monorepoFlag"

Variables

View Source
var (
	ErrNoProjects = errors.New("no projects found in configuration file despite operating in monorepo mode")
	ErrNoName     = errors.New("project has no name")
	ErrNoPath     = errors.New("project has no path")
)

Functions

This section is empty.

Types

type Flag added in v5.1.1

type Flag []map[string]string

func (*Flag) Set added in v5.1.1

func (f *Flag) Set(value string) error

func (*Flag) String added in v5.1.1

func (f *Flag) String() string

func (*Flag) Type added in v5.1.1

func (f *Flag) Type() string

type Project

type Project struct {
	Path string
	Name string
}

func Unmarshall

func Unmarshall(input []map[string]string) ([]Project, error)

Unmarshall takes a raw Viper configuration and returns a slice of Project representing various projects in a monorepo.

Jump to

Keyboard shortcuts

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