NxEnterprise
    Nx
    fix(repo): enforce import type in workspace-plugin via verbatimModuleSyntax @nx/workspace-plugin is type: module, so Nx loads its .ts files through Node's native type stripping, which can't erase a type imported as a value -- the plugin then fails to load (surfacing as the misleading "imported again after being required. Status = 0" on the swc-less FreeBSD publish job). Align the lib build to ESM (module/moduleResolution: nodenext) and enable verbatimModuleSyntax so a type-as-value import fails the build instead of only at runtime, and convert the remaining offenders to import type: ExecutorContext, ConformanceViolation (x2), and Tree (x2). This complements the copy-assets-plugin import type fix and prevents the whole class of bug from regressing across the package.
    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
1e69fae935897
77%

Cache hits

481 of 625 tasks used cache.

79%

Distribution saved time

16m 09s instead of 1h 17m 13s.

Atomizer enabled

48 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools