relizy / PackageBase
Interface: PackageBase
Defined in: packages/core/src/types.ts:174
A package of a workspace with what a release knows about it: the commits since its previous release, its dependencies and, once planned, its new version and why it is bumped
Extends
Properties
breakingPeerDependency?
optionalbreakingPeerDependency?:string
Defined in: packages/core/src/types.ts:192
Peer dependency making a breaking change (a new major, a new minor in 0.x) that the published range of the package rejects: the package is bumped as for a breaking commit.
commits
commits:
GitCommit[]
Defined in: packages/core/src/types.ts:178
Its commits since fromTag
dependencies
dependencies:
string[]
Defined in: packages/core/src/types.ts:182
The workspace packages it depends on
dependencyChain?
optionaldependencyChain?:string[]
Defined in: packages/core/src/types.ts:186
The chain of dependencies that bumps it, for the packages bumped as dependents
fromTag
fromTag:
string
Defined in: packages/core/src/types.ts:176
Tag (or commit) its commits are read from
name
name:
string
Defined in: packages/core/src/types.ts:37
The name of the package.json
Inherited from
newVersion?
optionalnewVersion?:string
Defined in: packages/core/src/types.ts:180
Version after the bump
outOfRangeDependency?
optionaloutOfRangeDependency?:object
Defined in: packages/core/src/types.ts:197
Dependency whose new version the published range of this package rejects: the package is bumped as a dependent for it
field
field:
"dependencies"|"peerDependencies"|"devDependencies"
Field of the package.json declaring the dependency
name
name:
string
Name of the dependency
newVersion
newVersion:
string
New version of the dependency
range
range:
string|null
Range the package was published with, null when the specifier is not a semver range (catalog:, link:...)
path
path:
string
Defined in: packages/core/src/types.ts:43
Absolute path of the directory of the package
Inherited from
private
private:
boolean
Defined in: packages/core/src/types.ts:41
Whether the package is private
Inherited from
reason?
optionalreason?:"commits"|"dependency"|"graduation"
Defined in: packages/core/src/types.ts:184
Reason for bumping
version
version:
string
Defined in: packages/core/src/types.ts:39
The current version, from the package.json