package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Feb 17, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package workspace detects monorepo structures and enumerates their workspaces.
Kind identifies the monorepo tool or convention that defines the workspace layout.
const (
KindGoWork Kind = "go-work"
KindPnpm Kind = "pnpm"
KindNpm Kind = "npm"
KindLerna Kind = "lerna"
KindNx Kind = "nx"
KindCargo Kind = "cargo"
)
Layout describes a detected monorepo structure.
Detect probes rootPath for known monorepo layouts. It returns the first
matching Layout, or nil if no monorepo structure is detected.
Workspace represents a single workspace within a monorepo.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.