types

package
v0.0.19-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockFileInformation

type LockFileInformation struct {
	PackageManager  packageManager.PACKAGE_MANAGER
	LockFileVersion int
	Dependencies    map[string]map[string]Versions
}

type NPMLockFileVersion

type NPMLockFileVersion string
const (
	NPMV1 NPMLockFileVersion = "NPMV1"
	NPMV2 NPMLockFileVersion = "NPMV2"
	NPMV3 NPMLockFileVersion = "NPMV3"
)
const (
	PNPM1  NPMLockFileVersion = "PNPMV1"
	PNPM2  NPMLockFileVersion = "PNPMV2"
	PNPM3  NPMLockFileVersion = "PNPMV3"
	PNPM4  NPMLockFileVersion = "PNPMV4"
	PNPM5  NPMLockFileVersion = "PNPMV5"
	PNPM6  NPMLockFileVersion = "PNPMV6"
	PNPM7  NPMLockFileVersion = "PNPMV7"
	PNPM8  NPMLockFileVersion = "PNPMV8"
	PNPM9  NPMLockFileVersion = "PNPMV9"
	PNPM10 NPMLockFileVersion = "PNPMV10"
)

type PNPMLockFileVersion

type PNPMLockFileVersion string

type PackageFile

type PackageFile struct {
	Name                 string            `json:"name,omitempty"`
	Version              string            `json:"version,omitempty"`
	Description          string            `json:"description,omitempty"`
	Dependencies         map[string]string `json:"dependencies,omitempty"`
	DevDependencies      map[string]string `json:"devDependencies,omitempty"`
	OptionalDependencies map[string]string `json:"optionalDependencies,omitempty"`
	PeerDependencies     map[string]string `json:"peerDependencies,omitempty"`
	BundleDependencies   []string          `json:"bundleDependencies,omitempty"`
	BundledDependencies  []string          `json:"bundledDependencies,omitempty"`
	WorkSpaces           []string          `json:"workspaces"`
}

type ProjectInformation

type ProjectInformation struct {
	RelativeLockFilePath      string
	RelativePackagePath       string
	LockFile                  string
	PackageFile               string
	PackageFileData           PackageFile
	PackageManager            packageManager.PACKAGE_MANAGER
	WorkSpaces                map[string]string
	WorkSpacesPackageFileData map[string]PackageFile
}

type Versions

type Versions struct {
	Requires     map[string]string // Contains the constraints for the dependencies
	Dependencies map[string]string // Contains the exact versions of the dependencies
	Optional     bool
	Bundled      bool
	Dev          bool
	Scoped       bool
}

type YarnLockFileVersion

type YarnLockFileVersion string
const (
	YarnV1 YarnLockFileVersion = "YarnV1"
	YarnV2 YarnLockFileVersion = "YarnV2"
	YarnV3 YarnLockFileVersion = "YarnV3"
	YarnV4 YarnLockFileVersion = "YarnV4"
)

Directories

Path Synopsis
js

Jump to

Keyboard shortcuts

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