mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Adding changeset changelog format
This commit is contained in:
20
.changeset/changelog-config.ts
Normal file
20
.changeset/changelog-config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { ChangelogFunctions } from '@changesets/types';
|
||||
|
||||
const getReleaseLine: ChangelogFunctions['getReleaseLine'] = async (changeset) => {
|
||||
const [firstLine] = changeset.summary
|
||||
.split('\n')
|
||||
.map(l => l.trim())
|
||||
.filter(Boolean);
|
||||
return `- ${firstLine}`;
|
||||
};
|
||||
|
||||
const getDependencyReleaseLine: ChangelogFunctions['getDependencyReleaseLine'] = async () => {
|
||||
return '';
|
||||
};
|
||||
|
||||
const changelogFunctions: ChangelogFunctions = {
|
||||
getReleaseLine,
|
||||
getDependencyReleaseLine,
|
||||
};
|
||||
|
||||
export default changelogFunctions;
|
||||
Reference in New Issue
Block a user