nx
Nx
GitHub
Nx
Workspace
GitHub
CI Pipeline Executions
Current execution
Succeeded
feature/nxc-4734-typescript-sync-respect-plugin-filters
Timeline
Configuration
Self-Healing CI
Project Graph
Resource Usage
Analysis
Conformance
Runs
Current run
Succeeded
Tasks
Resource Usage
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
fix(js): respect the @nx/js/typescript plugin filters when syncing references `typescript-sync` picked root `tsconfig.json` references from the project graph alone, ignoring the `include`/`exclude` on the plugin's own `nx.json` registrations. Projects the plugin was told to skip were still demanded as root references — pulling nested standalone workspaces, which have their own lockfile and install, into the parent repo's TypeScript build graph. Filters candidates through `findMatchingConfigFiles`, the same matcher Nx uses to decide which files a plugin's `createNodes` sees, so sync and inference agree by construction rather than through two glob implementations that can drift. Registrations are additive, since one may exclude a directory another includes. It fails open: a bare string registration, or no registration at all, filters nothing. Also moves the composite check into the pass that records missing references. It previously ran only when writing, so a non-composite project could be named as the reason a workspace was out of sync while being filtered out before any write — an unsatisfiable message. In nrwl/nx this surfaced as 13 reported missing references where only 1 was ever a real candidate. Fixes NXC-4734
nx-cloud record -- nx format:check
⌘K
Succeeded
nx-cloud record -- nx format:check
Click to copy
Linux
4 CPU cores
61f09761
36484
No resource usage was collected for this run.