@nx/workspace:infer-targets
Convert Nx projects to use inferred targets.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
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.