You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexis Kofman (JIRA)" <ji...@apache.org> on 2016/02/09 22:05:18 UTC

[jira] [Created] (CB-10578) Be npmignore aware when installing a new plugin

Alexis Kofman created CB-10578:
----------------------------------

             Summary: Be npmignore aware when installing a new plugin
                 Key: CB-10578
                 URL: https://issues.apache.org/jira/browse/CB-10578
             Project: Apache Cordova
          Issue Type: New Feature
          Components: CLI
            Reporter: Alexis Kofman
            Priority: Minor


Some Cordova plugins are very well documented but sometimes this documentation can be too big. Sometimes they contains a lot of code samples. The problem is when we are installing these plugins, our projects become bigger and bigger.

So far there is no way to ignore files of a Cordova plugin when installing it. 
In case of public npm packages, we are able to control what we want to publish from the .npmignore file or still from the files attribute of the package.son file.
But in case of private packages, if for instance they're installed from a Github repository, then the `Cordova plugin add` command will ignore
the .npmignore or package.json config. Same case if I want to use the last version of a plugin which is not published.

Would that make any sense to be aware of these config (.npmignore or package.son) when installing a plugin ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org