diff --git a/packages/nx/src/utils/plugins/installed-plugins.ts b/packages/nx/src/utils/plugins/installed-plugins.ts index 073f82f494165..9c19d669153a7 100644 --- a/packages/nx/src/utils/plugins/installed-plugins.ts +++ b/packages/nx/src/utils/plugins/installed-plugins.ts @@ -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 {