-
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 eca073c.
☁️ 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. |
packages/@o3r/workspace/schematics/library/templates/ng/tsconfig.spec.json.template
Show resolved
Hide resolved
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
packages/@o3r/workspace/schematics/library/templates/ng/tsconfig.spec.json.template
Outdated
Show resolved
Hide resolved
a6bcd4b
to
cb6f5bd
Compare
cb6f5bd
to
8d98aed
Compare
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.
accoding to the comment, the lint
can be reactivated in
packages/@o3r/eslint-config/schematics/index.it.spec.ts
8d98aed
to
aba4841
Compare
@@ -162,7 +164,8 @@ function ngAddFn(options: NgAddSchematicsSchema): Rule { | |||
|
|||
const jestConfigFilesForWorkspace = () => mergeWith(apply(url('./templates/workspace'), [ | |||
template({ | |||
...options | |||
...options, | |||
tsconfigPath: `./${['tsconfig.base.json', 'tsconfig.json'].find((tsconfigBase) => tree.exists(`./${tsconfigBase}`))}` |
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.
Could it happen that none are found ?
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.
4544dbe
to
41dbe91
Compare
41dbe91
to
078c05b
Compare
Only use composite for library generated for workspace set up with jest. Ensure path do not target any invalid files.
078c05b
to
eca073c
Compare
8512aec
to
eca073c
Compare
Proposed change
Only use composite for library generated for workspace set up with jest.
Ensure path do not target any invalid files.
Related issues