Skip to content

relizy / ReleaseOptions

Interface: ReleaseOptions

Defined in: src/types.ts:562

Extends

Properties

access?

optional access: "public" | "restricted"

Defined in: src/types.ts:451

NPM access level (e.g. public or restricted)

Inherited from

PublishConfig.access


args?

optional args: string[]

Defined in: node_modules/.pnpm/changelogen@0.6.2_magicast@0.5.2/node_modules/changelogen/dist/index.d.mts:37

Inherited from

PublishConfig.args


buildCmd?

optional buildCmd: string

Defined in: src/types.ts:463

Command to build your packages before publishing (e.g. pnpm build)

Inherited from

PublishConfig.buildCmd


canary?

optional canary: boolean

Defined in: src/types.ts:615

Publish a canary release from the current commit

Default

ts
false

changelog?

optional changelog: boolean

Defined in: src/types.ts:524

Generate changelog files (CHANGELOG.md)

Default

ts
true

Inherited from

ReleaseConfig.changelog


clean?

optional clean: boolean

Defined in: src/types.ts:544

Determine if the working directory is clean and if it is not clean, exit

Default

ts
false

Inherited from

ReleaseConfig.clean


commit?

optional commit: boolean

Defined in: src/types.ts:514

Commit changes and create tag

Default

ts
true

Inherited from

ReleaseConfig.commit


configName?

optional configName: string

Defined in: src/types.ts:583

Default

ts
'relizy'

dependencyTypes?

optional dependencyTypes: ("dependencies" | "peerDependencies" | "devDependencies")[]

Defined in: src/types.ts:240

Include dependencies when bumping.

Default

ts
['dependencies']

Inherited from

BumpConfig.dependencyTypes


dryRun?

optional dryRun: boolean

Defined in: src/types.ts:567

Run without side effects

Default

ts
false

force?

optional force: boolean

Defined in: src/types.ts:588

Bump even if there are no commits

Default

ts
false

formatCmd?

optional formatCmd: string

Defined in: src/types.ts:287

Command to format the changelog (e.g. prettier --write CHANGELOG.md).

Inherited from

ChangelogConfig.formatCmd


from?

optional from: string

Defined in: src/types.ts:570


gitTag?

optional gitTag: boolean

Defined in: src/types.ts:549

Create tag

Default

ts
true

Inherited from

ReleaseConfig.gitTag


includeCommitBody?

optional includeCommitBody: boolean

Defined in: src/types.ts:297

Include commit body in the changelog.

Default

ts
true

Inherited from

ChangelogConfig.includeCommitBody


logLevel?

optional logLevel: "error" | "default" | "silent" | "warning" | "normal" | "debug" | "trace" | "verbose"

Defined in: src/types.ts:579


noVerify?

optional noVerify: boolean

Defined in: src/types.ts:539

Skip git verification while committing by using --no-verify flag

Default

ts
true

Inherited from

ReleaseConfig.noVerify


otp?

optional otp: string

Defined in: src/types.ts:455

NPM OTP (e.g. 123456)

Inherited from

PublishConfig.otp


packageManager?

optional packageManager: PackageManager

Defined in: src/types.ts:439

Package manager (e.g. pnpm, npm, yarn or bun)

Inherited from

PublishConfig.packageManager


packages?

optional packages: string[]

Defined in: src/types.ts:459

Glob pattern matching for packages to publish

Inherited from

PublishConfig.packages


prComment?

optional prComment: boolean

Defined in: src/types.ts:559

Post release announcements to social media platforms

Default

ts
false

Inherited from

ReleaseConfig.prComment


preid?

optional preid: string

Defined in: src/types.ts:230

Prerelease identifier (e.g. 'beta', 'alpha')

Inherited from

BumpConfig.preid


private?

optional private: boolean

Defined in: node_modules/.pnpm/changelogen@0.6.2_magicast@0.5.2/node_modules/changelogen/dist/index.d.mts:39

Inherited from

PublishConfig.private


prNumber?

optional prNumber: number

Defined in: src/types.ts:610

Override PR/MR number for PR comment features


provider?

optional provider: GitProvider

Defined in: src/types.ts:597

Git provider (e.g. github or gitlab)

Default

ts
'github'

providerRelease?

optional providerRelease: boolean

Defined in: src/types.ts:529

Publish release to your repository (github or gitlab)

Default

ts
true

Inherited from

ReleaseConfig.providerRelease


publish?

optional publish: boolean

Defined in: src/types.ts:534

Publish release to your registry

Default

ts
true

Inherited from

ReleaseConfig.publish


publishToken?

optional publishToken: string

Defined in: src/types.ts:606

NPM token (e.g. "123456")


push?

optional push: boolean

Defined in: src/types.ts:519

Push changes to your repository (commit and tag(s))

Default

ts
true

Inherited from

ReleaseConfig.push


registry?

optional registry: string

Defined in: src/types.ts:443

NPM registry URL (e.g. https://registry.npmjs.org/)

Inherited from

PublishConfig.registry


rootChangelog?

optional rootChangelog: boolean

Defined in: src/types.ts:292

Generate changelog at root level with all changes

Default

ts
true

Inherited from

ChangelogConfig.rootChangelog


safetyCheck?

optional safetyCheck: boolean

Defined in: src/types.ts:602

Skip safety check

Default

ts
true

Overrides

PublishConfig.safetyCheck


social?

optional social: boolean

Defined in: src/types.ts:554

Post release announcements to social media platforms

Default

ts
false

Inherited from

ReleaseConfig.social


suffix?

optional suffix: string

Defined in: src/types.ts:592

Custom suffix for prerelease versions - replace the last .X with .suffix (e.g. 1.0.0-beta.0 -> 1.0.0-beta.suffix)


tag?

optional tag: string

Defined in: node_modules/.pnpm/changelogen@0.6.2_magicast@0.5.2/node_modules/changelogen/dist/index.d.mts:38

NPM tag (e.g. latest)

Inherited from

PublishConfig.tag


to?

optional to: string

Defined in: src/types.ts:573


token?

optional token: string

Defined in: src/types.ts:576

Overrides

PublishConfig.token


type?

optional type: ReleaseType

Defined in: src/types.ts:226

Release type (e.g. 'major', 'minor', 'patch', 'prerelease', 'prepatch', 'preminor', 'premajor')

Default

ts
'release'

Inherited from

BumpConfig.type


yes?

optional yes: boolean

Defined in: src/types.ts:245

Skip confirmation prompt about bumping packages

Default

ts
true

Inherited from

BumpConfig.yes

Released under the MIT License.