Skip to content

relizy / SlackOptions

Interface: SlackOptions ​

Defined in: src/types.ts:1041

Properties ​

changelog ​

changelog: string

Defined in: src/types.ts:1053

Changelog content


changelogUrl? ​

optional changelogUrl?: string

Defined in: src/types.ts:1061

Full changelog URL (e.g., https://example.com/changelog)


channel? ​

optional channel?: string

Defined in: src/types.ts:1065

Slack channel ID or name. Required when using token-based auth.


contributors? ​

optional contributors?: string[]

Defined in: src/types.ts:1086

Contributor names (plain strings, no email/handle). Empty array or undefined → no contributors block.


dryRun? ​

optional dryRun?: boolean

Defined in: src/types.ts:1095

Run without side effects

Default ​

ts
false

packages? ​

optional packages?: SlackPackageEntry[]

Defined in: src/types.ts:1090

Packages bumped in this release. Empty array or undefined → no packages block.


postMaxLength? ​

optional postMaxLength?: number

Defined in: src/types.ts:1082

Maximum chars of the changelog rendered in the message.

Default ​

ts
2500

projectName ​

projectName: string

Defined in: src/types.ts:1049

Project name


releaseUrl? ​

optional releaseUrl?: string

Defined in: src/types.ts:1057

Release URL (GitHub/GitLab)


template? ​

optional template?: string

Defined in: src/types.ts:1077

Custom message template


token? ​

optional token?: string

Defined in: src/types.ts:1069

Slack Bot Token. Ignored if webhookUrl is set.


version ​

version: string

Defined in: src/types.ts:1045

Release information


webhookUrl? ​

optional webhookUrl?: string

Defined in: src/types.ts:1073

Slack Incoming Webhook URL. Takes priority over token.

Released under the MIT License.