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

fix(workspace): add tsconfig.json dedicated to the application #2650

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

kpanot
Copy link
Contributor

@kpanot kpanot commented Dec 23, 2024

Proposed change

fix(workspace): add tsconfig.json dedicated to the application

Related issues

@kpanot kpanot requested a review from a team as a code owner December 23, 2024 10:36
Copy link

nx-cloud bot commented Dec 23, 2024

View your CI Pipeline Execution ↗ for commit 35782f5.

Command Status Duration Result
nx run-many --target=test-int ✅ Succeeded 54m 49s View ↗
nx affected --target=test --cacheDirectory=D:\a... ✅ Succeeded 10m 20s View ↗
nx affected --target=test --cacheDirectory=/hom... ✅ Succeeded 8m 3s View ↗
nx run-many --target=build --projects=eslint-pl... ✅ Succeeded <1s View ↗
nx run-many --target=test-e2e ✅ Succeeded 2m 53s View ↗
nx run-many --target=publish --nx-bail --userco... ✅ Succeeded 35s View ↗
nx run-many --target=documentation ✅ Succeeded 1m 18s View ↗
nx run ama-sdk-schematics:build-swagger ✅ Succeeded <1s View ↗
Additional runs (4) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-01-07 07:47:53 UTC

@github-actions github-actions bot added bug Something isn't working project:@o3r/workspace labels Dec 23, 2024
@kpanot kpanot force-pushed the bugfix/missing-app-tsconfig branch 4 times, most recently from 5d68e48 to c567544 Compare December 27, 2024 02:32
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.04%. Comparing base (48e6670) to head (35782f5).
Report is 32 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kpanot kpanot force-pushed the bugfix/missing-app-tsconfig branch 2 times, most recently from 8525544 to adf2777 Compare December 27, 2024 06:02
* @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) {
Copy link
Contributor

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.

Copy link
Contributor Author

@kpanot kpanot Jan 7, 2025

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"},
Copy link
Contributor

@cpaulve-1A cpaulve-1A Jan 6, 2025

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

@kpanot kpanot added this pull request to the merge queue Jan 7, 2025
Merged via the queue into main with commit 0df8705 Jan 7, 2025
37 checks passed
@kpanot kpanot deleted the bugfix/missing-app-tsconfig branch January 7, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: no tsconfig.json for generated projects
6 participants