Skip to content

fix: PluginInfoProvider for scoped plugins#94

Merged
erisu merged 3 commits intoapache:masterfrom
raphinesse:scoped-plugins
Nov 7, 2019
Merged

fix: PluginInfoProvider for scoped plugins#94
erisu merged 3 commits intoapache:masterfrom
raphinesse:scoped-plugins

Conversation

@raphinesse
Copy link
Contributor

Motivation and Context

This is the cordova-common part of PRs apache/cordova-lib#602 and apache/cordova-lib#680 whose goal is to support scoped npm packages as plugins the same way as regular packages.

Description

The key difference with scoped packages is that they nested within their @scope/ directory in the plugins/ directory. This commit changes PluginInfoProvider to honor that fact.

Testing

I added an expectation to the unit tests of PluginInfoProvider.

@raphinesse raphinesse added this to the 4.0.0 milestone Oct 24, 2019
@timbru31
Copy link
Member

I added an expectation to the unit tests of PluginInfoProvider.

did you forget to check that file in? :)

@raphinesse
Copy link
Contributor Author

@timbru31 Sorry, I messed up during rebasing apparently. The test files are now here too. Thanks for pointing out that they were missing.

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erisu erisu merged commit d53d266 into apache:master Nov 7, 2019
@raphinesse raphinesse deleted the scoped-plugins branch November 7, 2019 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants