-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix(workspace): add tsconfig.json dedicated to the application #2650
Conversation
View your CI Pipeline Execution ↗ for commit 35782f5.
☁️ Nx Cloud last updated this comment at |
5d68e48
to
c567544
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files☔ View full report in Codecov by Sentry. |
8525544
to
adf2777
Compare
* @param files List of files to look for, the first of the list will be used | ||
* @param originPath Path from where to calculate the relative path | ||
*/ | ||
function findConfigFileRelativePath(tree: Tree, files: string[], originPath: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this method just for config file? It seems like it can work with any kind of files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a duplication of the function in @o3r/schematics.
There is an issue in the import of @o3r/schematics (maybe due to ESM/CJS convertion?)
Added note to explain it
{ | ||
"extends": "<%= tsconfigBasePath %>", | ||
"references": [ | ||
{"path": "./tsconfig.app.json"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file generated by angular?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
packages/@o3r/workspace/schematics/application/templates/tsconfig.json.template
Show resolved
Hide resolved
adf2777
to
35782f5
Compare
Proposed change
fix(workspace): add tsconfig.json dedicated to the application
Related issues