-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix(js): remove redundant typescript project references #33438
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
Conversation
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
View your CI Pipeline Execution ↗ for commit ea344be
☁️ Nx Cloud last updated this comment at |
718e449 to
ea344be
Compare
## Current Behavior The `@nx/js:typescript-sync` generator adds project dependencies as TypeScript project references to each project's `tsconfig.json` and runtime tsconfig file (e.g., `tsconfig.app.json`, `tsconfig.lib.json`, etc.). This is redundant since projects' `tsconfig.json` files already reference the runtime tsconfig file, which would reference the dependencies. ## Expected Behavior The `@nx/js:typescript-sync` generator should add project dependencies as TypeScript project references to each project's runtime tsconfig file (e.g., `tsconfig.app.json`, `tsconfig.lib.json`, etc.). If the project only has a `tsconfig.json` file, it should add them to it. We've observed some performance improvement with this change while running the `typecheck` tasks.
|
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
The
@nx/js:typescript-syncgenerator adds project dependencies as TypeScript project references to each project'stsconfig.jsonand runtime tsconfig file (e.g.,tsconfig.app.json,tsconfig.lib.json, etc.). This is redundant since projects'tsconfig.jsonfiles already reference the runtime tsconfig file, which would reference the dependencies.Expected Behavior
The
@nx/js:typescript-syncgenerator should add project dependencies as TypeScript project references to each project's runtime tsconfig file (e.g.,tsconfig.app.json,tsconfig.lib.json, etc.). If the project only has atsconfig.jsonfile, it should add them to it.We've observed some performance improvement with this change while running the
typechecktasks.