Add context for versions:bump about version change and update tests
Signed-off-by: Shashank Bairy R <shashank.bairy04@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ describe('bump', () => {
|
||||
'bumping @backstage/theme in b to ^2.0.0',
|
||||
'Running yarn install to install new versions',
|
||||
'⚠️ The following packages may have breaking changes:',
|
||||
' @backstage/theme',
|
||||
' @backstage/theme : 1.0.0 ~> 2.0.0',
|
||||
' https://github.com/backstage/backstage/blob/master/packages/theme/CHANGELOG.md',
|
||||
'Version bump complete!',
|
||||
]);
|
||||
|
||||
@@ -195,8 +195,14 @@ export default async () => {
|
||||
);
|
||||
console.log();
|
||||
|
||||
for (const name of Array.from(breakingUpdates.keys()).sort()) {
|
||||
console.log(` ${chalk.yellow(name)}`);
|
||||
for (const [name, { from, to }] of [
|
||||
...breakingUpdates.entries(),
|
||||
].sort()) {
|
||||
console.log(
|
||||
` ${chalk.yellow(name)} : ${chalk.yellow(from)} ~> ${chalk.yellow(
|
||||
to,
|
||||
)}`,
|
||||
);
|
||||
|
||||
let path;
|
||||
if (name.startsWith('@backstage/plugin-')) {
|
||||
|
||||
Reference in New Issue
Block a user