node_modules

package
v1.11.6-0...-ccb1896 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCommand

func ConfigureCommand(app *kingpin.Application)

func ConfigureRebuildCommand

func ConfigureRebuildCommand(app *kingpin.Application)

Types

type Collector

type Collector struct {
	NodeModuleDirToDependencyMap map[string]*map[string]*Dependency `json:"nodeModuleDirToDependencyMap"`
	// contains filtered or unexported fields
}

type DepInfo

type DepInfo struct {
	Name               string `json:"name"`
	Version            string `json:"version"`
	Optional           bool   `json:"optional"`
	HasPrebuildInstall bool   `json:"hasPrebuildInstall"`
	NapiVersions       []uint `json:"napiVersions"`
	// contains filtered or unexported fields
}

type Dependency

type Dependency struct {
	Name                 string            `json:"name"`
	Version              string            `json:"version"`
	Dependencies         map[string]string `json:"dependencies"`
	OptionalDependencies map[string]string `json:"optionalDependencies"`
	Binary               *DependencyBinary `json:"binary`
	// contains filtered or unexported fields
}

type DependencyBinary

type DependencyBinary struct {
	NapiVersions []uint `json:"napi_versions"`
}

type DependencyList

type DependencyList struct {
	Dir          string    `json:"dir"`
	Dependencies []DepInfo `json:"deps"`
}

type RebuildConfiguration

type RebuildConfiguration struct {
	DependencyTreeInfo []DependencyList `json:"dependencies"`

	Platform        string `json:"platform"`
	Arch            string `json:"arch"`
	BuildFromSource bool   `json:"buildFromSource"`

	NodeExecPath string `json:"nodeExecPath"`

	AdditionalArgs []string `json:"additionalArgs"`
}

Jump to

Keyboard shortcuts

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