cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Gill <>
Subject Re: [DISCUSS] publishing cordova-app-hello-world to npm and adding as dependency of cordova-lib
Date Tue, 03 Mar 2015 19:35:56 GMT
+1. So on board with this. I'll take a look at your Jira issue later on

On Tue, Mar 3, 2015 at 11:32 AM, Michal Mocny <> wrote:

> This came up in the context of whitelist discussion, but wanted to bring it
> to everyones attention.
> We would like the default app to support installing the whitelist plugin
> automatically using the new plugin auto-restore feature (If you disagree,
> discuss on the whitelist thread, that is not the topic of this post).
> However, the cordova-lib create script cannot support this feature right
> now anyway (that is the topic of this post).  I've outlined in the JIRA how
> we could fix that (open to feedback).
> TLDR; --copy-from already supports this, so lets just vastly simplify
> cordova-lib create.js to just always do a --copy-from (or --link-to), and
> change cordova-cli to provide the default
> --copy-from=./node_modules/cordova-app-hello-world.
> This also implies we can remove our last use of lazy_load from cordova-lib
> (minus explicit git clones or platforms/plugins), and npm all the things!
> It also means a semver MAJOR change to cordova-lib that downstreams
> directly using cordova-lib's create will need to adjust to.
> Thoughts?
> -Michal

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message