@r4lrgx/shared-config
Version:
🔩 My customized Config of semantic release and commitlint and others.
16 lines (13 loc) • 679 B
TypeScript
import { PluginSpec } from 'semantic-release';
import { NpmPluginOptions } from '../types/index.js';
/**
* Configures the semantic-release npm plugin with monorepo support
*
* @param {NpmPluginOptions} [options={}] - Plugin configuration options
* @param {boolean} [options.npmPublish=false] - Whether to publish to npm
* @param {boolean} [options.monorepo] - Whether to use monorepo variant (@semrel-extra/npm)
* @param {object} [options.opts] - Additional npm plugin options
* @returns {PluginSpec<NpmPluginOptions>} semantic-release plugin configuration
*/
declare const npmPlugin: (options?: NpmPluginOptions) => PluginSpec<NpmPluginOptions>;
export { npmPlugin };