folderScoped
folderScoped<
Step>(step,paths,deps?):StepPlugin<Step>
Defined in: folder-scoped/folder-scoped.ts:29
An inline semantic-release plugin that runs step of the stock plugin
(@semantic-release/commit-analyzer for analyzeCommits,
@semantic-release/release-notes-generator for generateNotes) over only
the commits that changed a file at or under paths.
After a monorepo import, lastTag..HEAD spans every folder’s commits, so an
unscoped analyzer would release a folder for a commit that never touched it.
The wrapped plugin is loaded on first use, so it only needs to be installed
where a release actually runs. Commits are listed with one git diff-tree
call, in context.cwd.
Type Parameters
Section titled “Type Parameters”Step extends CommitStep
Parameters
Section titled “Parameters”Step
readonly string[]
FolderScopedDeps = {}
Returns
Section titled “Returns”StepPlugin<Step>