cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Audrey So (JIRA)" <>
Subject [jira] [Issue Comment Deleted] (CB-11978) [--fetch] adding platforms/plugins via localpath should go through cordova-fetch
Date Mon, 05 Dec 2016 19:53:59 GMT


Audrey So updated CB-11978:
    Comment: was deleted

(was: Hey [~stevegill] ...when it gets added to pkg.json should it just get added just to
the dependencies? Or should that platform/plugin get added to the cordova.platforms/ cordova/plugins
array/object as well? The localpath gets added to the dependencies during add, but the platform
name would get added to pkg.json during cordova prepare.)

> [--fetch] adding platforms/plugins via localpath should go through cordova-fetch
> --------------------------------------------------------------------------------
>                 Key: CB-11978
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-fetch, CordovaLib
>    Affects Versions: 6.3.0
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: cordova-7.0.0
> cordova plugin add localPath --save --fetch
> * currently, doesn’t add this to `package.json`
> * in config.xml, adds `<plugin name="cordova-plugin-geolocation" spec="../../cordova-plugin-geolocation"
> * `npm install localpath —save` adds `"cordova-plugin-geolocation": "file:///Users/steveng/repo/cordova/cordova-plugin-geolocation”`
in `package.json`
> Need to make local paths go through fetch so they get saved in package.json too. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message