-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixing dependencies to support yarn2 strict mode #6942
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ benchmark/dist | |
# Docs preview | ||
docs/_loopback.io/ | ||
docs/_preview/ | ||
|
||
# IDE files | ||
/.idea | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"access": "public" | ||
}, | ||
"dependencies": { | ||
"@apidevtools/swagger-parser": "^10.0.2", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason/benefit for the switch? AFAIK, both are actively maintained as aliases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's not mix multiple kinds of changes in a single pull request please. Either switch the swagger parser implementation, or fix dependencies to enable yarn2, but don't do both. |
||
"@lerna/project": "^3.21.0", | ||
"@openapi-contrib/openapi-schema-to-json-schema": "^3.0.4", | ||
"@phenomnomnominal/tsquery": "^4.1.1", | ||
|
@@ -19,6 +20,7 @@ | |
"debug": "^4.3.1", | ||
"fs-extra": "^9.0.1", | ||
"glob": "^7.1.6", | ||
"inquirer": "^7.3.3", | ||
"inquirer-autocomplete-prompt": "^1.3.0", | ||
"json5": "^2.1.3", | ||
"latest-version": "^5.1.0", | ||
|
@@ -27,6 +29,7 @@ | |
"minimist": "^1.2.5", | ||
"mkdirp": "^1.0.4", | ||
"natural-compare": "^1.4.0", | ||
"openapi-types": "^7.0.1", | ||
"pacote": "^11.1.13", | ||
"pluralize": "^8.0.0", | ||
"regenerate": "^1.4.2", | ||
|
@@ -35,7 +38,6 @@ | |
"spdx-license-list": "^6.3.0", | ||
"stringify-object": "^3.3.0", | ||
"strong-globalize": "^6.0.5", | ||
"swagger-parser": "^10.0.2", | ||
"swagger2openapi": "^7.0.4", | ||
"tabtab": "^3.0.2", | ||
"terminal-link": "^2.1.1", | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -26,6 +26,7 @@ | |||||||||||||||||
"@loopback/core": "^2.13.1" | ||||||||||||||||||
}, | ||||||||||||||||||
"dependencies": { | ||||||||||||||||||
"@loopback/repository": "^3.3.0", | ||||||||||||||||||
Comment on lines
26
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would Yarn2 PnP be satisfied with it being referenced as a The reason for Though it got me curious if there's any other LB4 packages that have the same issue. We also probably should update our CI pipeline to test with Yarn2 PnP.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -1. Our extensions are intentionally using peer dependencies for To fix the problem you are observing with Yarn2 PnP, we should find the place that's depending on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
That's a great idea 👍 Would you @achrinza mind opening a new GH issue for that? |
||||||||||||||||||
"@loopback/repository-json-schema": "^3.2.0", | ||||||||||||||||||
"debug": "^4.3.1", | ||||||||||||||||||
"http-status": "^1.5.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.
I believe we are intentionally not listing .idea files in
.gitignore
, advising users to setup a global ignore rule instead.If you think it's time to change that, then please open a new pull request where we can discuss the change on it's own, independently on feature/bug fix work.