-
Notifications
You must be signed in to change notification settings - Fork 91
chore: improve dependencies #277
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
chore: improve dependencies #277
Conversation
…vDependencies @angular/forms and @testing-library/user-event are only used in tests and should not be exported in the package.json for production. @see: testing-library#272 (comment)
We should use the workspace.json and project.json files
Upgrade ESLint and eslint dependencies
NX does not support > 5.3.0 yet
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.
Am I correct to assume that this was a bug in NX?
If that's not the case, could you point me to the fix because it isn't obvious to me 😅
Co-authored-by: Tim Deschryver <[email protected]>
Set outdir to the same as testing-library and the way NX has as default.
…ependencies' into chore/use-workspace-and-proper-dependencies
Thanks for the great review and suggestions @timdeschryver 👍 |
Which line/bug are you referring to? 😇 |
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.
Thank you!
"@angular-eslint/template-parser": "13.0.1", | ||
"@angular/cli": "13.1.2", | ||
"@angular/compiler-cli": "13.1.1", | ||
"@angular/forms": "13.1.1", |
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.
@timdeschryver
The 'fix' / prevent @angular/forms
and @testing-library/user-event
being exported in the generated package.json
I moved them to the devDependencies
, since they are only used in 'dev' -> tests
don't think it is fixed in NX yet -> nrwl/nx#8096
|
🎉 This PR is included in version 11.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fix for using the proper dependencies AND using NX per-project-configuration
@see
Fix:
New generated
package.json