Skip to content

relizy / TemplatesConfig

Interface: TemplatesConfig ​

Defined in: packages/relizy/src/types.ts:1600

Properties ​

changelogTitle? ​

optional changelogTitle?: string

Defined in: packages/relizy/src/types.ts:1658

Changelog section title template Available variables: , ,

Default ​

ts
'{{oldVersion}}...{{newVersion}}'

commitBody? ​

optional commitBody?: string

Defined in: packages/relizy/src/types.ts:1623

Commit message body template. When defined, it is passed as the commit body.

Default in unified/selective modes: undefined (no body). Default in independent mode (when commitMessage and commitBody are not customized): ''.

Same variables as commitMessage.


commitMessage? ​

optional commitMessage?: string

Defined in: packages/relizy/src/types.ts:1614

Commit message template (title).

Default in unified/selective modes: 'chore(release): bump version to '. Default in independent mode (when not customized): 'chore(release): bump packages'.

Available variables:

  • - in independent mode, comma-separated list of bumped name@version; otherwise the new version.
  • - number of bumped packages.
  • - comma-separated list of bumped package names.
  • - comma-separated list of bumped name@version.
  • - version from the root package.json.

emptyChangelogContent? ​

optional emptyChangelogContent?: string

Defined in: packages/relizy/src/types.ts:1640

Empty changelog content

Default ​

ts
'No relevant changes for this release'

slackMessage? ​

optional slackMessage?: string

Defined in: packages/relizy/src/types.ts:1652

Slack message template (optional - if not provided, uses rich blocks format) Available variables: , , , , , , , , , (see SocialTemplateVariables)

Default ​

ts
undefined

tagBody? ​

optional tagBody?: string

Defined in: packages/relizy/src/types.ts:1635

Name of the repository tag (unified and selective modes, standalone projects), also used to find the previous release. The packages of an independent mode are tagged <name>@<version>. Available variables:

Default ​

ts
'v{{newVersion}}'

tagMessage? ​

optional tagMessage?: string

Defined in: packages/relizy/src/types.ts:1628

Message of the annotated tags. Available variables:

Default ​

ts
'Bump version to {{newVersion}}'

twitterMessage? ​

optional twitterMessage?: string

Defined in: packages/relizy/src/types.ts:1646

Twitter message template Available variables: , , , , , , , (see SocialTemplateVariables)

Default ​

ts
'📣 {{releaseTitle}}\n\n{{changelog}}\n\n{{releaseUrl}}\n{{changelogUrl}}'