Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): add missing core plugins to list command #12305

Merged
merged 1 commit into from Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 35 additions & 8 deletions packages/nx/src/utils/plugins/core-plugins.ts
Expand Up @@ -2,31 +2,47 @@ import * as chalk from 'chalk';
import { output } from '../output';
import type { CorePlugin, PluginCapabilities } from './models';

export function fetchCorePlugins() {
const corePlugins: CorePlugin[] = [
export function fetchCorePlugins(): CorePlugin[] {
return [
{
name: '@nrwl/angular',
capabilities: 'generators',
capabilities: 'executors,generators',
},
{
name: '@nrwl/cypress',
capabilities: 'executors,generators',
},
{
name: '@nrwl/express',
name: '@nrwl/detox',
capabilities: 'executors,generators',
},
{
name: '@nrwl/esbuild',
capabilities: 'executors,generators',
},
{
name: '@nrwl/expo',
capabilities: 'executors,generators',
},
{
name: '@nrwl/express',
capabilities: 'generators',
},
{
name: '@nrwl/jest',
capabilities: 'executors,generators',
},
{
name: '@nrwl/js',
capabilities: 'executors,generators',
},
{
name: '@nrwl/linter',
capabilities: 'executors',
capabilities: 'executors,generators',
},
{
name: '@nrwl/nest',
capabilities: 'executors,generators',
capabilities: 'generators',
},
{
name: '@nrwl/next',
Expand All @@ -36,6 +52,10 @@ export function fetchCorePlugins() {
name: '@nrwl/node',
capabilities: 'executors,generators',
},
{
name: 'nx',
capabilities: 'executors',
},
{
name: '@nrwl/nx-plugin',
capabilities: 'executors,generators',
Expand All @@ -45,7 +65,11 @@ export function fetchCorePlugins() {
capabilities: 'executors,generators',
},
{
name: '@nrwl/js',
name: '@nrwl/react-native',
capabilities: 'executors,generators',
},
{
name: '@nrwl/rollup',
capabilities: 'executors,generators',
},
{
Expand All @@ -56,12 +80,15 @@ export function fetchCorePlugins() {
name: '@nrwl/web',
capabilities: 'executors,generators',
},
{
name: '@nrwl/webpack',
capabilities: 'executors,generators',
},
{
name: '@nrwl/workspace',
capabilities: 'executors,generators',
},
];
return corePlugins;
}

export function listCorePlugins(
Expand Down