Skip to content

Complete Nx convert-to-inferred (infer-targets) across remaining plugins #36387

Description

@nicobytes

Description

Complete the migration to Nx inferred targets (nx g @nx/workspace:infer-targets, i.e. convert-to-inferred) across the remaining plugins. The deprecated per-tool executors (@nx/eslint:lint, @nx/jest:jest, @nx/playwright:playwright, etc.) are removed in Nx v24, so the workspace must move to inferred plugin targets before that upgrade.

During the Nx 23 + ESLint 9 work, only @nx/eslint, @nx/jest, @nx/playwright were converted (the safe subset). This issue tracks finishing the job and cleaning up inference drift.

Out of scope here (tracked separately)

  • @nx/rollup + @nx/vite → separate issue (breaks SDK builds).
  • @nx/storybook → separate issue (Storybook is being removed).

Acceptance Criteria

  • Remaining convertible plugins moved to inferred targets via @nx/workspace:infer-targets
  • nx run-many -t build/lint/test green after conversion
  • No stale executor references remain for the converted plugins
  • Inferred-target drift reconciled (e.g. per-project args overrides, generated-file ignores)

Additional Context

  • The inferred @nx/eslint target runs eslint . (whole project), which lints more files than the old lintFilePatterns — generated/tooling dirs must stay in the flat-config ignores (.xmcp, src/generated, dist, .storybook).
  • Part of epic [EPIC] Improve times on CI/CD and Quality #32713.

Metadata

Metadata

Assignees

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions