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

feat(nx-plugin): remove cli property from generators and executors schema.json file #16259

Merged

Conversation

AgentEnder
Copy link
Member

Current Behavior

We don't read these props but still generate them

Expected Behavior

We don't generate them

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Apr 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2023 9:52pm

@AgentEnder AgentEnder changed the title feat(core): remove cli property from generators and executors schema.json file feat(nx-plugin): remove cli property from generators and executors schema.json file Apr 12, 2023
// If it doesn't exist, we will check if the implementation references @angular/devkit.
const shouldBeNx = !!collection.generators[name];
const shouldBeNg = !!collection.schematics[name];
let cli = entry.cli;
Copy link
Member

Choose a reason for hiding this comment

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

Remove this

Copy link
Member

Choose a reason for hiding this comment

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

I'd call the var "useAngularDevkitToRunMigration"

'from "@angular-devkit',
].some((s) => implStringContents.includes(s))
) {
cli ??= 'angular';
Copy link
Member

Choose a reason for hiding this comment

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

make =

@FrozenPandaz FrozenPandaz merged commit de520d0 into nrwl:master Apr 13, 2023
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants