Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
chain = chain.then(() =>
ConventionalCommitUtilities.updateChangelog(this.project.manifest, "root", {
changelogPreset,
rootPath,
tagPrefix: this.tagPrefix,
version: this.globalVersion,
}).then(({ logPath, newEntry }) => {
// commit the updated changelog
changedFiles.add(logPath);
// add release notes
this.releaseNotes.push({
name: "fixed",
notes: newEntry,
});
})
);
actions.push(pkg =>
ConventionalCommitUtilities.updateChangelog(pkg, type, {
changelogPreset,
rootPath,
tagPrefix: this.tagPrefix,
}).then(({ logPath, newEntry }) => {
// commit the updated changelog
changedFiles.add(logPath);
// add release notes
if (independentVersions) {
this.releaseNotes.push({
name: pkg.name,
notes: newEntry,
});
}
return pkg;