From a80abbf2c9a898ef62abd52784c41bcf5fec08be Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Tue, 25 Jul 2023 12:51:11 -0400 Subject: [PATCH] fix(nx-plugin): don't generate `cli` property in migrations.json (#18304) --- e2e/plugin/src/nx-plugin.test.ts | 1 - packages/plugin/src/generators/migration/migration.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/e2e/plugin/src/nx-plugin.test.ts b/e2e/plugin/src/nx-plugin.test.ts index 13c5f07269680..bca4be24b3ebe 100644 --- a/e2e/plugin/src/nx-plugin.test.ts +++ b/e2e/plugin/src/nx-plugin.test.ts @@ -76,7 +76,6 @@ describe('Nx Plugin', () => { [`update-${version}`]: { version, description: `update-${version}`, - cli: `nx`, implementation: `./src/migrations/update-${version}/update-${version}`, }, }), diff --git a/packages/plugin/src/generators/migration/migration.ts b/packages/plugin/src/generators/migration/migration.ts index b6fd7e4245a89..29fac57de980a 100644 --- a/packages/plugin/src/generators/migration/migration.ts +++ b/packages/plugin/src/generators/migration/migration.ts @@ -73,7 +73,6 @@ function updateMigrationsJson(host: Tree, options: NormalizedSchema) { generators[options.name] = { version: options.packageVersion, description: options.description, - cli: 'nx', implementation: `./src/migrations/${options.name}/${options.name}`, }; migrations.generators = generators;