NathanWalker / nativescript-ng2-magic

Magically turn your Angular2 web app into a NativeScript app.
MIT License
64 stars 14 forks source link

git Ignoring most of the build files #21

Open LiorArbel opened 7 years ago

LiorArbel commented 7 years ago

Hey,

Everything works great, but I have just a little problem. It looks like when I installed this package it automatically added the nativescript/app/app path to my .gitignore file.

So I wanted to ask - what more can I\you recommend ignoring? I really don't like the idea of pushing all of nativescript/node_modules and every platform's build under nativescript/platforms/[android\ios], it looks like theres a ton of code there, which can be generated whenever one wants by running tns run [android/ios] if I understood correctly.

Thanks in advance!

NathanWalker commented 7 years ago

Hi @LiorArbel yes for sure you absolutely want to ignore:

nativescript/app/app
nativescript/hooks
nativescript/lib
nativescript/node_modules

I could add that if that seems easier to the auto gitignore modification?

LiorArbel commented 7 years ago

@NathanWalker Thank you, I'll add these to my gitignore. It would be cool if you added it to the gitignore automatically 😄

himanshu331 commented 7 years ago

Hi LiorAbel, Can you please provide me a one example of "ng2-magic" for intergate the nativescript code with angular2 app code.

himanshu331 commented 7 years ago

Hi Nathawalker, please provide me a one live example .