-
Notifications
You must be signed in to change notification settings - Fork 39
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: the tsconfig spec generated for library contains several issues #2584
base: main
Are you sure you want to change the base?
Conversation
View your CI Pipeline Execution ↗ for commit 52a91bf.
☁️ Nx Cloud last updated this comment at |
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. |
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.
Can we add an it-test https://github.com/AmadeusITGroup/otter/blob/main/packages/%40o3r/workspace/schematics/index.it.spec.ts#L117 to make sure the test are working on the generated lib?
1de0da1
to
d7b4c2a
Compare
392858a
to
e700452
Compare
e700452
to
d78b04b
Compare
d78b04b
to
84d3dfd
Compare
packages/@o3r/workspace/schematics/ng-add/helpers/npm-workspace.ts
Outdated
Show resolved
Hide resolved
90d7ac8
to
3341ac0
Compare
f02ac1a
3341ac0
to
f02ac1a
Compare
@@ -1,17 +0,0 @@ | |||
{ |
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.
Why this file is removed?
Is the default one align with this one?
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.
We do not have it for the applications and the values were incorrect. Composite did not work and ng test
could not resolve the paths to the source 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.
composite
does not work with jasmine
indeed but does work with jest
.
We do recommend to have it for the application (for type and config separating purpose mainly).
To be able to resolve the paths it should extends the tsconfig.base.json
from the root, if we remove this file it may be more complex to fix it :S
f02ac1a
to
c979d29
Compare
c979d29
to
52a91bf
Compare
Proposed change
Align with application generation and reuse angular tsconfig.spec.json
Related issues