Skip to content

fix(nx-rollup): correct project path for createTmpTsConfig #31314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

balmasich
Copy link

@balmasich balmasich commented May 23, 2025

Resolve issue when
projectRoot was created from
join workspaceRoot and projectNode.data.root
but method createTmpTsConfig also make join

Current Behavior

 method withNx create
 const projectRoot = join(workspaceRoot, projectNode.data.root);

method createTmpTsConfig
apply also join

  const tmpTsConfigPath = join(
    workspaceRoot,
    'tmp',
    projectRoot,
    process.env.NX_TASK_TARGET_TARGET ?? 'build',
    `tsconfig.generated.${randomUUID()}.json`
  );

Expected Behavior

Related Issue(s)

Fixes #

@balmasich balmasich requested a review from a team as a code owner May 23, 2025 07:10
@balmasich balmasich requested a review from Coly010 May 23, 2025 07:10
Copy link

vercel bot commented May 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview May 28, 2025 5:57am

@balmasich balmasich changed the title fix(nx): correct project path for createTmpTsConfig fix(nx-rollup): correct project path for createTmpTsConfig May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant