@r4lrgx/shared-config
Version:
🔩 My customized Config of semantic release and commitlint and others.
18 lines (15 loc) • 873 B
TypeScript
import { PluginSpec } from 'semantic-release';
import { GithubPluginOptions } from '../types/index.js';
/**
* Configures the semantic-release GitHub plugin
*
* @param {GithubPluginOptions} [options={}] - Plugin configuration options
* @param {string} [options.successComment] - Comment template to post on successful releases
* @param {string} [options.failComment] - Comment template to post on failed releases
* @param {string[]} [options.releasedLabels] - Labels to apply to released issues/PRs
* @param {'top'|'bottom'|false} [options.addReleases] - Where to add releases in GitHub
* @param {object} [options.opts] - Additional GitHub plugin options
* @returns {PluginSpec<GithubPluginOptions>} semantic-release plugin configuration
*/
declare const githubPlugin: (options?: GithubPluginOptions) => PluginSpec<GithubPluginOptions>;
export { githubPlugin };