NxEnterprise
    Nx
    fix(core): support `${configDir}` in tsconfig path alias resolution TypeScript's `${configDir}` template in a tsconfig `paths` alias resolves to the directory of the project being compiled, so an alias like `"@/*": ["${configDir}/src/app/*"]` points each project at its own sources. The project-graph resolver read these mappings verbatim and never substituted the template. The literal path matched no project and fell back to whatever project sits at the workspace root, so `enforce-module-boundaries` reported false "Imports of apps are forbidden" errors for an app importing its own files through a configDir alias. The resolver now expands `${configDir}` the same way `tsc` does: it matches the template case-insensitively and only as a prefix, then resolves it against the importing file's project root. A configDir alias now resolves back into the source project.
    nx affected --targets=lint,test,build,e2e,e2e-ci,format-native,lint-native,gradle:build-ci,vale,run
Sign in / Sign up
Succeeded
CI Pipeline Execution

nx affected --targets=lint,test,build,e2e,e2e-ci,format-native,lint-native,gradle:build-ci,vale,run

Click to copy
read-write access token used
09087ad936037
89%

Cache hits

555 of 627 tasks used cache.

71%

Distribution saved time

6m 08s instead of 20m 51s.

Atomizer enabled

48 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools