monorepo

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ModeCurrentAffected = "current_affected"

ModeCurrentAffected will execute the specified commands if any of the current components dependecies have changed

View Source
const ModeCurrentChanged = "current_changed"

ModeCurrentChanged will execute the specified commands if the current component has changed

View Source
const ModeCurrentInvolved = "current_involved"

ModeCurrentInvolved will execute the specified commands if the current component or any of its dependecies have changed

Variables

View Source
var Main = &cobra.Command{
	Use:   "monorepo",
	Short: "Helpers for CircleCI monorepo support",
}

Main cobra command for monorepo support

Functions

This section is empty.

Types

type Component

type Component struct {
	ID           string   `yaml:"id"`
	Name         string   `yaml:"name"`
	Dependencies []string `yaml:"deps"`
	Path         string   `yaml:"path"`
}

Component struct represent the configuration stored in yaml enriched by the relative path of the component in relation to the rootDirectory.

func (Component) String

func (component Component) String() string

type ComponentGraph

type ComponentGraph struct {
	// contains filtered or unexported fields
}

ComponentGraph struct represent the graph of all components found in the specified rootDirectory and its subdirectories.

Jump to

Keyboard shortcuts

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