Skip to content
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

Temporary tsconfigs for a given project all use the same path. #21396

Closed
1 of 4 tasks
statop opened this issue Jan 29, 2024 · 1 comment · Fixed by #22671
Closed
1 of 4 tasks

Temporary tsconfigs for a given project all use the same path. #21396

statop opened this issue Jan 29, 2024 · 1 comment · Fixed by #22671
Assignees

Comments

@statop
Copy link

statop commented Jan 29, 2024

Current Behavior

All generated tsconfigs in the tmp folder for a given project have the path tmp/<projectRoot>/tsconfig.generated.json.

Expected Behavior

All generated tsconfigs in the tmp folder for a given project have the path tmp/<projectRoot>/<random_number>/tsconfig.generated.json.

(or something like that)

GitHub Repo

No response

Steps to Reproduce

  1. Create a project that has multiple tasks that generate tsconfigs.
  2. Note that if both tasks run concurrently they can conflict with each other.

Nx Report

>  NX   Report complete - copy this into the issue template

   Node   : 18.17.1
   OS     : darwin-arm64
   pnpm   : 8.14.3

   nx                 : 17.2.8
   @nx/js             : 17.2.8
   @nx/jest           : 17.2.8
   @nx/eslint         : 17.2.8
   @nx/workspace      : 17.2.8
   @nx/angular        : 17.2.8
   @nx/devkit         : 17.2.8
   @nx/eslint-plugin  : 17.2.8
   @nx/node           : 17.2.8
   @nx/plugin         : 17.2.8
   @nx/react          : 17.2.8
   @nx/rollup         : 17.2.8
   @nx/storybook      : 17.2.8
   @nx/vite           : 17.2.8
   @nx/web            : 17.2.8
   @nx/webpack        : 17.2.8
   typescript         : 5.2.2
   ---------------------------------------
   Community plugins:
   @openadp/tools-plugin : 24.5.0
   @storybook/angular    : 7.6.10
   ---------------------------------------
   Local workspace plugins:
   	 @openadp/tools-plugin

Failure Logs

No response

Package Manager Version

pnpm 8.14.3

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

Basically this is a problem with tsconfigs overwriting each other when run concurrently.

@Coly010 Coly010 self-assigned this Jan 30, 2024
@Coly010 Coly010 added the scope: misc Misc issues label Jan 30, 2024
FrozenPandaz pushed a commit that referenced this issue Apr 5, 2024
Copy link

github-actions bot commented May 6, 2024

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants