@nx/workspace:infer-targets
Convert Nx projects to use inferred targets.
Convert Nx projects to use inferred targets.
1nx generate infer-targets ...
2
By default, Nx will search for infer-targets
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/workspace:infer-targets ...
2
Show what will be generated without writing to disk:
1nx g infer-targets ... --dry-run
2
The project to convert to use inferred targets.
The plugins used to infer targets. For example @nx/eslint or @nx/jest
false
Whether to format files.
Watch the replays of exciting talks on developer tooling and monorepos! Catch all the insightful presentations from the event on our YouTube channel.