Documentation
¶
Overview ¶
Package detect inspects a directory tree for project signals (go.mod, package.json, …) and reports the stack so @init can pre-tick the right modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Project ¶
type Project struct {
Root string // directory where the project signal was found
Stack Stack
PackageManager string // for Node: pnpm | yarn | bun | npm
Standardgo bool // for Go: standardgo is pinned as a tool dependency
}
Project is the result of detection: the stack plus useful context for module composition (project root, package manager, …).
Click to show internal directories.
Click to hide internal directories.