-
Notifications
You must be signed in to change notification settings - Fork 28
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
added new template proposal #49
Conversation
@csantanapr thoughts? |
So I was chatting with @carynbear about this proposal. Some things we should chat about adding to this proposal:
|
@nikhilkh @purplecabbage @vladimir-kotikov please take a look when you have time. |
I'm sorry, I don't understand why we wouldn't want to copy over package.json. It seems like you would want package.json the majority -- not the minority -- of the time. Can you help me understand why we're special casing it here? It seems like we have the potential to create more confusion by adding a set of hidden exceptions. |
Steve LGTM it covers what we discussed on files to ignore that are not for the template and are part of delivery in npm Also the name and version fields in package.json like config.xml it's a new idea I like it +1 |
Hi Ryan, ie. Ultimately here, I think the issue is that our template logic is doing a blind copy of everything. I think the target template itself should define what is part of the template, and what is not. @purplecabbage
|
@ryanjsalva we definitely want |
Here is a PR by @carynbear enhancing template support. Things to note:
Please review it @csantanapr @nikhilkh @purplecabbage Anything to add @carynbear? |
Oops, forgot to link to the PR. apache/cordova-lib#456 |
Going to merge this in today |
Wait please. |
Merging in now! |
Hey @stevengill, @carynbear - there is some failures (see here), caused by the change in apache/cordova-lib#456. Looks like |
Thanks @vladimir-kotikov. I'll take a look |
@vladimir-kotikov I pushed a fix to createmobilespec.js. it was using --link-to which we removed. I updated it to use --template |
No description provided.