Skip to content

Commit

Permalink
fix(misc): fix nx list capabilities resolution (#12621)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Oct 14, 2022
1 parent 0cbec35 commit 628c9c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/nx/src/utils/plugins/plugin-capabilities.ts
Expand Up @@ -40,9 +40,21 @@ export function getPluginCapabilities(
packageJson.generators,
'generators'
) ||
tryGetCollection(
packageJsonPath,
packageJson.schematics,
'generators'
) ||
tryGetCollection(
packageJsonPath,
packageJson.schematics,
'generators'
) ||
tryGetCollection(packageJsonPath, packageJson.schematics, 'schematics'),
executors:
tryGetCollection(packageJsonPath, packageJson.executors, 'executors') ||
tryGetCollection(packageJsonPath, packageJson.executors, 'builders') ||
tryGetCollection(packageJsonPath, packageJson.builders, 'executors') ||
tryGetCollection(packageJsonPath, packageJson.builders, 'builders'),
};
} catch {
Expand Down

1 comment on commit 628c9c0

@vercel
Copy link

@vercel vercel bot commented on 628c9c0 Oct 14, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.