Nx
Enterprise
Nx
fix(core): allow nx build scripts in generated pnpm-workspace.yaml pnpm 11 defaults strictDepBuilds to true. When create-nx-workspace runs a third-party preset (anything that hits the createEmptyWorkspace + createPreset code path), the initial `pnpm install --no-frozen-lockfile` fires ERR_PNPM_IGNORED_BUILDS for nx's postinstall script and the workspace-creation step fails before the preset can run. Extend addPnpmSettings to emit an allowBuilds entry for nx in the generated pnpm-workspace.yaml, so the initial install succeeds. Include the pnpm 10-compatible onlyBuiltDependencies form as well — pnpm silently ignores the key it doesn't recognize.
nx build workspace-plugin
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx build workspace-plugin
Click to copy
35564
100%
Cache hits
2 of 2 tasks used cache.