Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginName = "pnpm"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements ecosystems.SCAPlugin for pnpm projects. It shells out to `pnpm list --lockfile-only --json` to resolve the dependency graph from the lockfile without installing node_modules. Rush monorepos (rush.json) are handled by an adapter in rush.go that synthesizes the workspace context Rush generates at install time; both adapters produce the same scanTarget shape so the runner is uniform.
func (Plugin) BuildDepGraphsFromDir ¶
func (p Plugin) BuildDepGraphsFromDir( ctx context.Context, log logger.Logger, dir string, options *ecosystems.SCAPluginOptions, onGraph ecosystems.OnGraphFunc, ) error
Click to show internal directories.
Click to hide internal directories.