Class: AppliedPkg
@pvm/core.AppliedPkg
Hierarchy
↳
AppliedPkg
Constructors
constructor
• new AppliedPkg(pkgPath
, manifest
, opts?
)
Parameters
Name | Type |
---|---|
pkgPath | string |
manifest | PkgAppliedMeta |
opts | PkgCreateOpts |
Overrides
Defined in
packages/pvm-core/lib/pkg.ts:370
Properties
_cwd
• _cwd: string
Inherited from
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
Defined in
packages/pvm-core/lib/pkg.ts:80
indent
• indent: number
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:72
meta
• meta: PkgAppliedMeta
Overrides
Defined in
packages/pvm-core/lib/pkg.ts:368
name
• Readonly
name: string
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:76
path
• path: string
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:74
shortName
• Readonly
shortName: string
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:77
sourcePath
• sourcePath: string
Inherited from
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
Inherited from
Pkg.allOwnDeps
Defined in
packages/pvm-core/lib/pkg.ts:272
deps
• get
deps(): PkgDeps
Returns
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
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
Name | Type |
---|---|
newMeta | PkgAppliedMeta |
Returns
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:297
applyNewDeps
â–¸ applyNewDeps(newDeps
, newMeta?
): AppliedPkg
Parameters
Name | Type |
---|---|
newDeps | Map <string , string > |
newMeta | undefined | PkgAppliedMeta |
Returns
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:328
applyVersion
â–¸ applyVersion(newVersion
, newDeps?
): AppliedPkg
Parameters
Name | Type |
---|---|
newVersion | string |
newDeps? | Map <string , string > |
Returns
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:335
getAppliedMeta
â–¸ getAppliedMeta(): PkgAppliedMeta
Returns
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:306
getCwd
â–¸ getCwd(): string
Returns
string
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:105
getDepKeys
â–¸ getDepKeys(pkgName
): string
[]
Parameters
Name | Type |
---|---|
pkgName | string |
Returns
string
[]
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:318
getMetaDiff
â–¸ getMetaDiff(pkg
): PkgDiff
Parameters
Name | Type |
---|---|
pkg | Pkg |
Returns
Defined in
packages/pvm-core/lib/pkg.ts:393
getVersion
â–¸ getVersion<F
>(fallbackVersion?
): string
| F
Type parameters
Name | Type |
---|---|
F | extends undefined | string``undefined |
Parameters
Name | Type |
---|---|
fallbackVersion | F |
Returns
string
| F
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:117
isAllowedForPublishing
â–¸ isAllowedForPublishing(): boolean
Returns
boolean
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:347
isMetaEqualsTo
â–¸ isMetaEqualsTo(pkg
): boolean
Parameters
Name | Type |
---|---|
pkg | Pkg |
Returns
boolean
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:343
resetLazyForVersion
â–¸ resetLazyForVersion(): void
Returns
void
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:186
save
â–¸ save(): void
Returns
void
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:292
setNewDeps
â–¸ setNewDeps(newDeps
): void
Parameters
Name | Type |
---|---|
newDeps | Map <string , string > |
Returns
void
Defined in
packages/pvm-core/lib/pkg.ts:374
stringify
â–¸ stringify(): string
Returns
string
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:288
toApplied
â–¸ toApplied(): AppliedPkg
Returns
Inherited from
Defined in
packages/pvm-core/lib/pkg.ts:313
toJSON
â–¸ toJSON(): Omit
<AppliedPkg
, "_config"
> & { version
: string
}
Returns
Omit
<AppliedPkg
, "_config"
> & { version
: string
}