Skip to main content

Class: AppliedPkg

@pvm/core.AppliedPkg

Hierarchy

  • Pkg

    ↳ AppliedPkg

Constructors

constructor

• new AppliedPkg(pkgPath, manifest, opts?)

Parameters

NameType
pkgPathstring
manifestPkgAppliedMeta
optsPkgCreateOpts

Overrides

Pkg.constructor

Defined in

packages/pvm-core/lib/pkg.ts:370

Properties

_cwd

• _cwd: string

Inherited from

Pkg._cwd

Defined in

packages/pvm-core/lib/pkg.ts:78


_newDeps

• Protected _newDeps: Map<string, string>

Defined in

packages/pvm-core/lib/pkg.ts:367


_ref

• Protected _ref: undefined | string

Inherited from

Pkg._ref

Defined in

packages/pvm-core/lib/pkg.ts:80


indent

• indent: number

Inherited from

Pkg.indent

Defined in

packages/pvm-core/lib/pkg.ts:72


meta

• meta: PkgAppliedMeta

Overrides

Pkg.meta

Defined in

packages/pvm-core/lib/pkg.ts:368


name

• Readonly name: string

Inherited from

Pkg.name

Defined in

packages/pvm-core/lib/pkg.ts:76


path

• path: string

Inherited from

Pkg.path

Defined in

packages/pvm-core/lib/pkg.ts:74


shortName

• Readonly shortName: string

Inherited from

Pkg.shortName

Defined in

packages/pvm-core/lib/pkg.ts:77


sourcePath

• sourcePath: string

Inherited from

Pkg.sourcePath

Defined in

packages/pvm-core/lib/pkg.ts:75

Accessors

absPath

• get absPath(): string

Returns

string

Inherited from

Pkg.absPath

Defined in

packages/pvm-core/lib/pkg.ts:225


allOwnDeps

• get allOwnDeps(): PkgDeps

Returns

PkgDeps

Inherited from

Pkg.allOwnDeps

Defined in

packages/pvm-core/lib/pkg.ts:272


deps

• get deps(): PkgDeps

Returns

PkgDeps

Inherited from

Pkg.deps

Defined in

packages/pvm-core/lib/pkg.ts:259


isMonorepo

• get isMonorepo(): boolean

Returns

boolean

Inherited from

Pkg.isMonorepo

Defined in

packages/pvm-core/lib/pkg.ts:235


isRoot

• get isRoot(): boolean

Returns

boolean

Inherited from

Pkg.isRoot

Defined in

packages/pvm-core/lib/pkg.ts:220


manifestPath

• get manifestPath(): string

Returns

string

Inherited from

Pkg.manifestPath

Defined in

packages/pvm-core/lib/pkg.ts:230


newDeps

• get newDeps(): Map<string, string>

Returns

Map<string, string>

Defined in

packages/pvm-core/lib/pkg.ts:385


publishPath

• get publishPath(): string

Returns

string

Inherited from

Pkg.publishPath

Defined in

packages/pvm-core/lib/pkg.ts:194


publishRegistry

• get publishRegistry(): undefined | string

Returns

undefined | string

Inherited from

Pkg.publishRegistry

Defined in

packages/pvm-core/lib/pkg.ts:215


pvmConfig

• get pvmConfig(): Config

Returns

Config

Inherited from

Pkg.pvmConfig

Defined in

packages/pvm-core/lib/pkg.ts:109


ref

• get ref(): undefined | string

Returns

undefined | string

Inherited from

Pkg.ref

Defined in

packages/pvm-core/lib/pkg.ts:113


strictVersion

• get strictVersion(): undefined | string

Returns

undefined | string

Inherited from

Pkg.strictVersion

Defined in

packages/pvm-core/lib/pkg.ts:182


usingVersionFromSemverTagItself

• get usingVersionFromSemverTagItself(): boolean

Returns

boolean

Inherited from

Pkg.usingVersionFromSemverTagItself

Defined in

packages/pvm-core/lib/pkg.ts:240


version

• get version(): string

Returns

string

Overrides

Pkg.version

Defined in

packages/pvm-core/lib/pkg.ts:389

Methods

applyMeta

â–¸ applyMeta(newMeta): AppliedPkg

Parameters

NameType
newMetaPkgAppliedMeta

Returns

AppliedPkg

Inherited from

Pkg.applyMeta

Defined in

packages/pvm-core/lib/pkg.ts:297


applyNewDeps

â–¸ applyNewDeps(newDeps, newMeta?): AppliedPkg

Parameters

NameType
newDepsMap<string, string>
newMetaundefined | PkgAppliedMeta

Returns

AppliedPkg

Inherited from

Pkg.applyNewDeps

Defined in

packages/pvm-core/lib/pkg.ts:328


applyVersion

â–¸ applyVersion(newVersion, newDeps?): AppliedPkg

Parameters

NameType
newVersionstring
newDeps?Map<string, string>

Returns

AppliedPkg

Inherited from

Pkg.applyVersion

Defined in

packages/pvm-core/lib/pkg.ts:335


getAppliedMeta

â–¸ getAppliedMeta(): PkgAppliedMeta

Returns

PkgAppliedMeta

Inherited from

Pkg.getAppliedMeta

Defined in

packages/pvm-core/lib/pkg.ts:306


getCwd

â–¸ getCwd(): string

Returns

string

Inherited from

Pkg.getCwd

Defined in

packages/pvm-core/lib/pkg.ts:105


getDepKeys

â–¸ getDepKeys(pkgName): string[]

Parameters

NameType
pkgNamestring

Returns

string[]

Inherited from

Pkg.getDepKeys

Defined in

packages/pvm-core/lib/pkg.ts:318


getMetaDiff

â–¸ getMetaDiff(pkg): PkgDiff

Parameters

NameType
pkgPkg

Returns

PkgDiff

Defined in

packages/pvm-core/lib/pkg.ts:393


getVersion

â–¸ getVersion<F>(fallbackVersion?): string | F

Type parameters

NameType
Fextends undefined | string``undefined

Parameters

NameType
fallbackVersionF

Returns

string | F

Inherited from

Pkg.getVersion

Defined in

packages/pvm-core/lib/pkg.ts:117


isAllowedForPublishing

â–¸ isAllowedForPublishing(): boolean

Returns

boolean

Inherited from

Pkg.isAllowedForPublishing

Defined in

packages/pvm-core/lib/pkg.ts:347


isMetaEqualsTo

â–¸ isMetaEqualsTo(pkg): boolean

Parameters

NameType
pkgPkg

Returns

boolean

Inherited from

Pkg.isMetaEqualsTo

Defined in

packages/pvm-core/lib/pkg.ts:343


resetLazyForVersion

â–¸ resetLazyForVersion(): void

Returns

void

Inherited from

Pkg.resetLazyForVersion

Defined in

packages/pvm-core/lib/pkg.ts:186


save

â–¸ save(): void

Returns

void

Inherited from

Pkg.save

Defined in

packages/pvm-core/lib/pkg.ts:292


setNewDeps

â–¸ setNewDeps(newDeps): void

Parameters

NameType
newDepsMap<string, string>

Returns

void

Defined in

packages/pvm-core/lib/pkg.ts:374


stringify

â–¸ stringify(): string

Returns

string

Inherited from

Pkg.stringify

Defined in

packages/pvm-core/lib/pkg.ts:288


toApplied

â–¸ toApplied(): AppliedPkg

Returns

AppliedPkg

Inherited from

Pkg.toApplied

Defined in

packages/pvm-core/lib/pkg.ts:313


toJSON

â–¸ toJSON(): Omit<AppliedPkg, "_config"> & { version: string }

Returns

Omit<AppliedPkg, "_config"> & { version: string }

Inherited from

Pkg.toJSON

Defined in

packages/pvm-core/lib/pkg.ts:352