cli: sort breaking package changes by name and use emojis for maximum attention

This commit is contained in:
Patrik Oldsberg
2021-01-07 11:02:01 +01:00
parent b8abdda570
commit dff58a90ec
+2 -2
View File
@@ -173,11 +173,11 @@ export default async () => {
if (breakingUpdates.size > 0) {
console.log();
console.log(
chalk.yellow('The following packages may have breaking changes:'),
chalk.yellow('⚠️ The following packages may have breaking changes:'),
);
console.log();
for (const [name] of breakingUpdates) {
for (const name of Array.from(breakingUpdates.keys()).sort()) {
console.log(` ${chalk.yellow(name)}`);
let path;