{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/91","repository_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/91/comments","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/91/events","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/issues/91","id":145113327,"number":91,"title":"Deps not installed with no platforms","user":{"login":"dylanvdmerwe","id":2852839,"avatar_url":"https://avatars.githubusercontent.com/u/2852839?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanvdmerwe","html_url":"https://github.com/dylanvdmerwe","followers_url":"https://api.github.com/users/dylanvdmerwe/followers","following_url":"https://api.github.com/users/dylanvdmerwe/following{/other_user}","gists_url":"https://api.github.com/users/dylanvdmerwe/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanvdmerwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanvdmerwe/subscriptions","organizations_url":"https://api.github.com/users/dylanvdmerwe/orgs","repos_url":"https://api.github.com/users/dylanvdmerwe/repos","events_url":"https://api.github.com/users/dylanvdmerwe/events{/privacy}","received_events_url":"https://api.github.com/users/dylanvdmerwe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T07:49:37Z","updated_at":"2016-04-01T08:26:45Z","closed_at":null,"body":"When running\r\n> cordova plugin add cordova-plugin-code-push\r\n\r\nNo dependencies (code-push, cordova-plugin-file-transfer, etc.) are installed if there are no platforms added to the cordova project. \r\n\r\n```\r\nionic plugin add cordova-plugin-code-push\r\nFetching plugin \"cordova-plugin-code-push\" via npm\r\nRunning command: \"C:\\Program Files\\nodejs\\node.exe\" c:\\Users\\dylan.vdmerwe\\Projects\\GraduateApp\\hooks\\after_plugin_add\\010_register_plugin.js c:\\Users\\dylan.vdmerwe\\Projects\\GraduateApp\r\nSaving plugin to package.json file\r\n```\r\n\r\nThe plugins are installed when a platform is added. But I believe the deps should be installed regardless of any platform being added.\r\n\r\nRemove plugin process should work the same way. "},"comment":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments/204306448","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/issues/91#issuecomment-204306448","issue_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/91","id":204306448,"user":{"login":"geof90","id":8598682,"avatar_url":"https://avatars.githubusercontent.com/u/8598682?v=3","gravatar_id":"","url":"https://api.github.com/users/geof90","html_url":"https://github.com/geof90","followers_url":"https://api.github.com/users/geof90/followers","following_url":"https://api.github.com/users/geof90/following{/other_user}","gists_url":"https://api.github.com/users/geof90/gists{/gist_id}","starred_url":"https://api.github.com/users/geof90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geof90/subscriptions","organizations_url":"https://api.github.com/users/geof90/orgs","repos_url":"https://api.github.com/users/geof90/repos","events_url":"https://api.github.com/users/geof90/events{/privacy}","received_events_url":"https://api.github.com/users/geof90/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T08:26:45Z","updated_at":"2016-04-01T08:26:45Z","body":"I think this has to do with the way the Cordova plugin acquisition system works, not with CodePush. I'm interested to know what your use case is for this though. What would be the impact of not having the deps installed if no platforms are added to the project yet and therefore you can't run it?"}}