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 YarnLockFileVersion ¶
type YarnLockFileVersion string
const ( YarnV1 YarnLockFileVersion = "YarnV1" YarnV2 YarnLockFileVersion = "YarnV2" YarnV3 YarnLockFileVersion = "YarnV3" YarnV4 YarnLockFileVersion = "YarnV4" )
Click to show internal directories.
Click to hide internal directories.