Skip to content

Commit

Permalink
fix(nx-plugin): don't generate cli property in migrations.json (#18304
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AgentEnder authored Jul 25, 2023
1 parent 2dda191 commit a80abbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion e2e/plugin/src/nx-plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ describe('Nx Plugin', () => {
[`update-${version}`]: {
version,
description: `update-${version}`,
cli: `nx`,
implementation: `./src/migrations/update-${version}/update-${version}`,
},
}),
Expand Down
1 change: 0 additions & 1 deletion packages/plugin/src/generators/migration/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit a80abbf

@vercel
Copy link

@vercel vercel bot commented on a80abbf Jul 25, 2023

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
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.