FolderScopedDeps
Defined in: folder-scoped/folder-scoped.type.ts:4
What the folder-scoped release plugin depends on, each replaceable in a test.
Properties
Section titled “Properties”listFiles?
Section titled “listFiles?”
optionallistFiles?: (cwd,hashes,run) =>Map<string,string[]>
Defined in: folder-scoped/folder-scoped.type.ts:11
Lists the files each commit changed. Defaults to git diff-tree.
The repo-relative files each of hashes changed, from one
git diff-tree --stdin call. A commit that changes nothing (or a merge
commit) maps to []. Paths come back verbatim, not quoted, whatever they
contain.
Parameters
Section titled “Parameters”string
hashes
Section titled “hashes”readonly string[]
GitRun = defaultGitRun
Returns
Section titled “Returns”Map<string, string[]>
optionalload?: (specifier,cwd) =>Promise<unknown>
Defined in: folder-scoped/folder-scoped.type.ts:9
Loads a plugin module by specifier, resolved from cwd (the repo being released). Defaults to a
dynamic import() of the module as cwd resolves it, which is how semantic-release loads its own plugins.
Parameters
Section titled “Parameters”specifier
Section titled “specifier”string
string
Returns
Section titled “Returns”Promise<unknown>