-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Adds compatibility for cordovaDependencies engine #3786
Conversation
See https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/#specifying-cordova-dependencies for a description of when the `cordovaDependencies` engine is used.
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.
Hi, thanks for the PR!
Can you run yarn prettier
and update the PR with those changes?
@bestander @arcanis may be we should extend this |
I'm fine with the manual list in this particular case (I fear allowing to configure this field would trigger non-obvious issues where a package would work on some computers but not others because an |
Great idea, yeah. |
Prettier doesn't seem to do anything.
|
@bytenik oh interesting. Then would you mind rebasing onto master or merging from it to see if it would clear the CI failures? |
The linter is failing because the line is too long. The comment needs to be shortened, which could be why |
@bytenik you may also us a link shortener like bit.ly |
I took the bit.ly approach. |
See https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/#specifying-cordova-dependencies for a description of when the
cordovaDependencies
engine is used.Without this change, freshly installed Cordova plugins generate errors on yarn add. This was mentioned in #3437 a while back but no one ever made a pull request to resolve it.