NxEnterprise
    Nx
    fix(js): preserve npm allowScripts allowlist in pruned package.json The @nx/js:prune-lockfile executor built its output package.json from only the project package.json, so the npm `allowScripts` install-script allowlist (which `npm approve-scripts` writes to the workspace root) was dropped from the pruned output. `npm ci` in the deployed artifact then ran install scripts the allowlist was meant to gate, and under npm's upcoming strict mode an approved script would instead be blocked. Carry the root `allowScripts` into the pruned package.json, with any project-level entries preserved and winning on conflict. This mirrors the existing `pnpm.allowBuilds` handling in createPackageJson.
    nx run-many -t check-imports check-lock-files check-codeowners --parallel=1 --no-dte
Sign in / Sign up
Succeeded
CI Pipeline Execution

nx run-many -t check-imports check-lock-files check-codeowners --parallel=1 --no-dte

Click to copy
Linux
4 CPU cores
read-write access token used
c1944c4636016

Get faster results

Learn how to enable distribution.

Atomizer enabled

1 group of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools