Skip to content

computeChangeset

computeChangeset(current, baseline): Changeset

Defined in: packages/core/src/models/changeset.ts:41

Compare a build’s components with the baseline’s. Components match by story file, or by title when the index carries no file. With no baseline (null) every component is added.

readonly BuildComponent[]

readonly BuildComponent[] | null

Changeset