fix(misc): sort plugin names when displaying them (#16702) (#16734)

This commit is contained in:
Craigory Coppola 2023-05-03 16:34:59 -04:00 committed by GitHub
parent 203a874ddb
commit 2d6ea2b9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export function findInstalledPlugins(): PackageJson[] {
result.push(pluginPackageJson);
}
}
return result;
return result.sort((a, b) => a.name.localeCompare(b.name));
}
function getNxPluginPackageJsonOrNull(pkg: string): PackageJson | null {