{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/npm/issues/29","labels_url":"https://api.github.com/repos/jspm/npm/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/jspm/npm/issues/29/comments","events_url":"https://api.github.com/repos/jspm/npm/issues/29/events","html_url":"https://github.com/jspm/npm/issues/29","id":53043465,"number":29,"title":"Nodelibs to have lower config / install overhead","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-29T14:12:50Z","updated_at":"2015-01-02T15:36:52Z","closed_at":"2015-01-02T15:36:52Z","body":"Adding crypto makes nodelibs a 10 package install, which can easily be seen as overkill for a simple app, and detracts from the configuration simplicity for model cases, which is important to keep.\r\n\r\nIdeally we could detect specific node core libs, and only include them when they are used. Then instead of having a single nodelibs repo, we download the nodelibs repos we need as we need them.\r\n\r\nThe reason this isn't currently supported is because dependencies are returned from getPackageConfig, which is before download completion, and download dependencies are ignored.\r\n\r\nThe addition would be to allow the build function to return further dependencies. This is the simplest fix and most sensible one."},"comment":{"url":"https://api.github.com/repos/jspm/npm/issues/comments/68534932","html_url":"https://github.com/jspm/npm/issues/29#issuecomment-68534932","issue_url":"https://api.github.com/repos/jspm/npm/issues/29","id":68534932,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T15:36:52Z","updated_at":"2015-01-02T15:36:52Z","body":"Completed in https://github.com/jspm/npm/commit/d0b37ffb00a11859b34e42ec38334aa73a7ebd29.\r\n\r\nNode core libs are now only downloaded as they are needed."}}