I would like to check in only the required files to git which I believe would be:
www/* (except for www/lib)
These files contain all the custom, unique information for a project, but I can’t seem to find the right ionic CLI command to automatically install all my cordova plugins and platforms off of this information. The plugins are listed in package.json so I have to imagine there is a way to do it, but I couldn’t find any information on this.
So, 2 questions:
Are these the right list of files to check in or are others needed?
How does another developer properly install their environment after pulling down these files (i.e. npm install, bower install, then ??)
So are you saying I should check in my hooks directory?
If no, then how does someone get the hooks?
If yes, then that makes sense but I would suggest making it so you don’t have to check hooks into source control in the future.
My ideal workflow, fyi, would be something like this:
either git clone blah or git pull origin master
ionic update // will load all hooks, plugins, platforms, etc. from ionic.project file. As an aside, unless there are technical reasons for putting the cordova plugins in package.json, it sort of makes more sense to me being in the ionic.project file.