Skip to content

relizy / ReleaseOptions

Interface: ReleaseOptions

Defined in: src/types.ts:437

Extends

Properties

access?

optional access: "public" | "restricted"

Defined in: src/types.ts:336

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.1/node_modules/changelogen/dist/index.d.mts:37

Inherited from

PublishConfig.args


buildCmd?

optional buildCmd: string

Defined in: src/types.ts:348

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

Inherited from

PublishConfig.buildCmd


changelog?

optional changelog: boolean

Defined in: src/types.ts:409

Generate changelog files (CHANGELOG.md)

Default

ts
true

Inherited from

ReleaseConfig.changelog


clean?

optional clean: boolean

Defined in: src/types.ts:429

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:399

Commit changes and create tag

Default

ts
true

Inherited from

ReleaseConfig.commit


configName?

optional configName: string

Defined in: src/types.ts:458

Default

ts
'relizy'

dependencyTypes?

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

Defined in: src/types.ts:168

Include dependencies when bumping.

Default

ts
['dependencies']

Inherited from

BumpConfig.dependencyTypes


dryRun?

optional dryRun: boolean

Defined in: src/types.ts:442

Run without side effects

Default

ts
false

force?

optional force: boolean

Defined in: src/types.ts:463

Bump even if there are no commits

Default

ts
false

formatCmd?

optional formatCmd: string

Defined in: src/types.ts:210

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

Inherited from

ChangelogConfig.formatCmd


from?

optional from: string

Defined in: src/types.ts:445


gitTag?

optional gitTag: boolean

Defined in: src/types.ts:434

Create tag

Default

ts
true

Inherited from

ReleaseConfig.gitTag


includeCommitBody?

optional includeCommitBody: boolean

Defined in: src/types.ts:220

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:454


noVerify?

optional noVerify: boolean

Defined in: src/types.ts:424

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:340

NPM OTP (e.g. 123456)

Inherited from

PublishConfig.otp


packageManager?

optional packageManager: PackageManager

Defined in: src/types.ts:324

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

Inherited from

PublishConfig.packageManager


packages?

optional packages: string[]

Defined in: src/types.ts:344

Glob pattern matching for packages to publish

Inherited from

PublishConfig.packages


preid?

optional preid: string

Defined in: src/types.ts:158

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.1/node_modules/changelogen/dist/index.d.mts:39

Inherited from

PublishConfig.private


provider?

optional provider: GitProvider

Defined in: src/types.ts:472

Git provider (e.g. github or gitlab)

Default

ts
'github'

providerRelease?

optional providerRelease: boolean

Defined in: src/types.ts:414

Publish release to your repository (github or gitlab)

Default

ts
true

Inherited from

ReleaseConfig.providerRelease


publish?

optional publish: boolean

Defined in: src/types.ts:419

Publish release to your registry

Default

ts
true

Inherited from

ReleaseConfig.publish


publishToken?

optional publishToken: string

Defined in: src/types.ts:481

NPM token (e.g. "123456")


push?

optional push: boolean

Defined in: src/types.ts:404

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:328

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

Inherited from

PublishConfig.registry


rootChangelog?

optional rootChangelog: boolean

Defined in: src/types.ts:215

Generate changelog at root level with all changes

Default

ts
true

Inherited from

ChangelogConfig.rootChangelog


safetyCheck?

optional safetyCheck: boolean

Defined in: src/types.ts:477

Skip safety check

Default

ts
true

Overrides

PublishConfig.safetyCheck


suffix?

optional suffix: string

Defined in: src/types.ts:467

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.1/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:448


token?

optional token: string

Defined in: src/types.ts:451

Overrides

PublishConfig.token


type?

optional type: ReleaseType

Defined in: src/types.ts:154

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:173

Skip confirmation prompt about bumping packages

Default

ts
true

Inherited from

BumpConfig.yes

Released under the MIT License.