Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "none",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be updated too? (as we don't support none type anymore)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

"area": "storybook",
"workstream": "Update changelog to include storybook related changes",
"comment": "Update changelog to include storybook related changes",
"packageName": "@azure/communication-react",
"email": "96077406+carocao-msft@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "none",
"area": "storybook",
"workstream": "Update changelog to include storybook related changes",
"comment": "Update changelog to include storybook related changes",
"packageName": "@azure/communication-react",
"email": "96077406+carocao-msft@users.noreply.github.com",
"dependentChangeType": "none"
}
1 change: 1 addition & 0 deletions common/config/beachball/changelog-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const config: BeachballConfig = {
{ value: 'fix', title: 'Bug fix' },
{ value: 'feature', title: 'Feature' },
{ value: 'improvement', title: 'Improvement' },
{ value: 'storybook', title: 'Storybook' },
],
};
const workstreamPrompt = {
Expand Down
5 changes: 5 additions & 0 deletions common/config/beachball/changelog-custom-renders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export async function renderPackageChangelog(renderInfo: PackageChangelogRenderI
let features: ChangelogEntry[] = [];
let improvements: ChangelogEntry[] = [];
let bugs: ChangelogEntry[] = [];
let storybookChanges: ChangelogEntry[] = [];
let unknowns: ChangelogEntry[] = [];

changelog = renderHeader(renderInfo) + '\n\n';
Expand All @@ -64,6 +65,7 @@ export async function renderPackageChangelog(renderInfo: PackageChangelogRenderI
features = features.concat(filterByArea(entries, 'feature'));
improvements = improvements.concat(filterByArea(entries, 'improvement'));
bugs = bugs.concat(filterByArea(entries, 'fix'));
storybookChanges = storybookChanges.concat(filterByArea(entries, 'storybook'));
unknowns = unknowns.concat(filterUnknown(entries));
}
}
Expand All @@ -77,6 +79,9 @@ export async function renderPackageChangelog(renderInfo: PackageChangelogRenderI
if (bugs.length > 0) {
changelog += await renderSubsection('Bug Fixes', bugs);
}
if (storybookChanges.length > 0) {
changelog += await renderSubsection('Storybook Changes', storybookChanges);
}
if (unknowns.length > 0) {
changelog += await renderSubsection('Other Changes', unknowns);
}
Expand Down