Skip to content

Semantic Release

This plugin is enabled if "semantic-release" is listed in "dependencies" or "devDependencies" in package.json.

If this plugin is enabled, the following configuration is added automatically:

{
"semantic-release": {
"config": [
"package.json",
".releaserc",
".config/releaserc",
".releaserc.{json,yaml,yml,js,ts,cjs,mjs}",
"release.config.{js,ts,cjs,mjs}",
".config/releaserc.{json,yaml,yml,js,ts,cjs,mjs}"
]
}
}

Depending on local configuration, plugins may modify the defaults as shown.

Custom config or entry options override default values, they are not merged.

See Plugins for more details about plugins and their entry and config options.

This plugin adds argument parsing for the semantic-release binary. Configuration:

alias: {"extends": ["e"]}
resolveInputs: (parsed, { cwd }) => {
if (parsed.extends === 'false') return [];
const inputs = [];
for (const value of [parsed.extends ?? []].flat()) {
for (const part of String(value).split(',')) {
const id = part.trim();
if (isInternal(id)) inputs.push(toConfig('semantic-release', id, { dir: cwd }));
else inputs.push(toDeferResolve(id));
}
}
return inputs;
}

The configuration was generated from source code. Also see Script Parser.

This page was generated from the semantic-release plugin source code.

ISC License © 2026Lars Kappert