@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