Skip to main content

Manifest

Index

Constructors

constructor

Properties

publicbin

bin: Map<string, PortablePath> = ...

publicbrowser

browser: null | PortablePath | Map<PortablePath, boolean | PortablePath> = null

publiccpu

cpu: null | string[] = null

publicdependencies

dependencies: Map<IdentHash, Descriptor> = ...

publicdependenciesMeta

dependenciesMeta: Map<string, Map<null | string, DependencyMeta>> = ...

publicdevDependencies

devDependencies: Map<IdentHash, Descriptor> = ...

publicerrors

errors: Error[] = []

errors found in the raw manifest while loading

publicfiles

files: null | Set<PortablePath> = null

publicindent

indent: string = ...

publicinstallConfig

installConfig: null | InstallConfig = null

publiclanguageName

languageName: null | string = null

publiclibc

libc: null | string[] = null

publiclicense

license: null | string = null

publicmain

main: null | PortablePath = null

publicmodule

module: null | PortablePath = null

publicname

name: null | Ident = null

publicos

os: null | string[] = null

publicpackageManager

packageManager: null | string = null

publicpeerDependencies

peerDependencies: Map<IdentHash, Descriptor> = ...

publicpeerDependenciesMeta

peerDependenciesMeta: Map<string, PeerDependencyMeta> = ...

publicpreferUnplugged

preferUnplugged: null | boolean = null

publicprivate

private: boolean = false

publicpublishConfig

publishConfig: null | PublishConfig = null

publicraw

raw: {} = {}

Type declaration

  • [key string]: any

publicresolutions

resolutions: { pattern: Resolution; reference: string }[] = []

publicscripts

scripts: Map<string, string> = ...

publictype

type: null | string = null

publicversion

version: null | string = null

publicworkspaceDefinitions

workspaceDefinitions: WorkspaceDefinition[] = []

staticreadonlyallDependencies

allDependencies: AllDependencies[] = ...

staticreadonlyfileName

fileName: Filename = ...

staticreadonlyhardDependencies

hardDependencies: HardDependencies[] = ...

Methods

ensureDependencyMeta

ensurePeerDependencyMeta

exportTo

  • exportTo(data: {}, __namedParameters?: { compatibilityMode?: boolean }): {}
  • Parameters

    • data: {}
    • __namedParameters: { compatibilityMode?: boolean } = {}

    Returns {}

    • [key string]: any

getConditions

  • getConditions(): null | string
  • Returns null | string

getForScope

hasConsumerDependency

  • hasConsumerDependency(ident: Ident): boolean
  • Parameters

    Returns boolean

hasDependency

  • hasDependency(ident: Ident): boolean
  • Parameters

    Returns boolean

hasHardDependency

  • hasHardDependency(ident: Ident): boolean
  • Parameters

    Returns boolean

hasSoftDependency

  • hasSoftDependency(ident: Ident): boolean
  • Parameters

    Returns boolean

load

  • load(data: any, __namedParameters?: { yamlCompatibilityMode?: boolean }): void
  • Parameters

    • data: any
    • __namedParameters: { yamlCompatibilityMode?: boolean } = {}

    Returns void

loadFile

loadFromText

  • loadFromText(text: string): void
  • Parameters

    • text: string

    Returns void

setRawField

  • setRawField(name: string, value: any, __namedParameters?: { after?: string[] }): void
  • Parameters

    • name: string
    • value: any
    • __namedParameters: { after?: string[] } = {}

    Returns void

staticfind

staticfromFile

staticfromText

statictryFind