Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Importer ¶
type Importer struct { Dependencies map[string]ImporterDepVersion `yaml:"dependencies,omitempty"` DevDependencies map[string]ImporterDepVersion `yaml:"devDependencies,omitempty"` }
type ImporterDepVersion ¶
type ImporterDepVersion struct {
Version string `yaml:"version,omitempty"`
}
type LockFile ¶
type LockFile struct { LockfileVersion any `yaml:"lockfileVersion"` Dependencies map[string]any `yaml:"dependencies,omitempty"` DevDependencies map[string]any `yaml:"devDependencies,omitempty"` Packages map[string]PackageInfo `yaml:"packages,omitempty"` // V9 Importers map[string]Importer `yaml:"importers,omitempty"` Snapshots map[string]Snapshot `yaml:"snapshots,omitempty"` }
type PackageInfo ¶
type PackageInfo struct { Resolution PackageResolution `yaml:"resolution"` Dependencies map[string]string `yaml:"dependencies,omitempty"` DevDependencies map[string]string `yaml:"devDependencies,omitempty"` IsDev bool `yaml:"dev,omitempty"` Name string `yaml:"name,omitempty"` Version string `yaml:"version,omitempty"` }
type PackageResolution ¶
type PackageResolution struct {
Tarball string `yaml:"tarball,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.