MCPcopy
hub / github.com/semantic-release/semantic-release / EPLUGINSCONF

Function EPLUGINSCONF

lib/definitions/errors.js:87–96  ·  view source on GitHub ↗
({ plugin })

Source from the content-addressed store, hash-verified

85}
86
87export function EPLUGINSCONF({ plugin }) {
88 return {
89 message: "The `plugins` configuration is invalid.",
90 details: `The [plugins](${linkify(
91 "docs/usage/configuration.md#plugins"
92 )}) option must be an array of plugin definitions. A plugin definition is an npm module name, optionally wrapped in an array with an object.
93
94The invalid configuration is \`${stringify(plugin)}\`.`,
95 };
96}
97
98export function EPLUGIN({ pluginName, type }) {
99 return {

Callers

nothing calls this directly

Calls 2

linkifyFunction · 0.85
stringifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…