Skip to content

fix(nx-infra-plugin): support spaces in workspace path#33514

Open
chaosmirage wants to merge 3 commits into26_1from
fix/nx-infra-build
Open

fix(nx-infra-plugin): support spaces in workspace path#33514
chaosmirage wants to merge 3 commits into26_1from
fix/nx-infra-build

Conversation

@chaosmirage
Copy link
Copy Markdown
Contributor

No description provided.

@chaosmirage chaosmirage self-assigned this May 7, 2026
@chaosmirage chaosmirage force-pushed the fix/nx-infra-build branch from 2cdf646 to 5fc3359 Compare May 7, 2026 08:26
@chaosmirage chaosmirage marked this pull request as ready for review May 7, 2026 11:57
Copilot AI review requested due to automatic review settings May 7, 2026 11:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the nx-infra-plugin postinstall/build script to correctly compile the plugin when the workspace path contains spaces, by avoiding shell command invocation for tsc and compiling via the TypeScript API instead.

Changes:

  • Replaced execSync('pnpm exec tsc -p ...') with a programmatic TypeScript compilation using typescript APIs.
  • Removed temporary bootstrap tsconfig generation/cleanup logic and compile directly from tsconfig.lib.json.
  • Added diagnostic formatting to provide readable compiler error output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants