Changing .changeset/changelog-config.js to js

This commit is contained in:
a8trejo
2024-12-16 15:56:06 -08:00
parent eda682cff9
commit 5bfebeb62e
6 changed files with 22 additions and 27 deletions

View File

@@ -0,0 +1,18 @@
const getReleaseLine = async (changeset) => {
const [firstLine] = changeset.summary
.split('\n')
.map(l => l.trim())
.filter(Boolean);
return `- ${firstLine}`;
};
const getDependencyReleaseLine = async () => {
return '';
};
const changelogFunctions = {
getReleaseLine,
getDependencyReleaseLine,
};
module.exports = changelogFunctions;