Skip to content

relizy / TwitterSocialConfig

Interface: TwitterSocialConfig ​

Defined in: src/types.ts:784

Properties ​

credentials? ​

optional credentials?: TwitterCredentials

Defined in: src/types.ts:805

Twitter credentials (optional - falls back to environment variables)


enabled? ​

optional enabled?: boolean

Defined in: src/types.ts:789

Enable Twitter posting

Default ​

ts
false

onlyStable? ​

optional onlyStable?: boolean

Defined in: src/types.ts:795

Skip Twitter posting for prerelease versions (alpha, beta, rc, etc.) Only stable versions will be posted to Twitter

Default ​

ts
true

postMaxLength? ​

optional postMaxLength?: number

Defined in: src/types.ts:810

Maximum length of the tweet

Default ​

ts
280

template? ​

optional template?: string

Defined in: src/types.ts:801

Custom message template Available variables: , , , ,

Default ​

ts
'📣 {{projectName}} {{newVersion}} is out!\n\n{{changelog}}\n\n{{releaseUrl}}\n{{changelogUrl}}'

Released under the MIT License.