{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/edp/issues/335","labels_url":"https://api.github.com/repos/ecomfe/edp/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/edp/issues/335/comments","events_url":"https://api.github.com/repos/ecomfe/edp/issues/335/events","html_url":"https://github.com/ecomfe/edp/issues/335","id":98304260,"number":335,"title":"外部用户怎样发布私有包","user":{"login":"Phinome","id":1940194,"avatar_url":"https://avatars.githubusercontent.com/u/1940194?v=3","gravatar_id":"","url":"https://api.github.com/users/Phinome","html_url":"https://github.com/Phinome","followers_url":"https://api.github.com/users/Phinome/followers","following_url":"https://api.github.com/users/Phinome/following{/other_user}","gists_url":"https://api.github.com/users/Phinome/gists{/gist_id}","starred_url":"https://api.github.com/users/Phinome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phinome/subscriptions","organizations_url":"https://api.github.com/users/Phinome/orgs","repos_url":"https://api.github.com/users/Phinome/repos","events_url":"https://api.github.com/users/Phinome/events{/privacy}","received_events_url":"https://api.github.com/users/Phinome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-31T02:39:28Z","updated_at":"2015-07-31T03:55:58Z","closed_at":null,"body":"R;T\r\n非baidu用户，在项目中使用 edp 作为整个构建工具，此时项目中需要用到自身的一些代码库，此时，已按照 edp 的AMD规范和包管理规范处理完毕，请问接下来该如何发布私有包？\r\n谢谢～\r\n@leeight @errorrik "},"comment":{"url":"https://api.github.com/repos/ecomfe/edp/issues/comments/126559815","html_url":"https://github.com/ecomfe/edp/issues/335#issuecomment-126559815","issue_url":"https://api.github.com/repos/ecomfe/edp/issues/335","id":126559815,"user":{"login":"Phinome","id":1940194,"avatar_url":"https://avatars.githubusercontent.com/u/1940194?v=3","gravatar_id":"","url":"https://api.github.com/users/Phinome","html_url":"https://github.com/Phinome","followers_url":"https://api.github.com/users/Phinome/followers","following_url":"https://api.github.com/users/Phinome/following{/other_user}","gists_url":"https://api.github.com/users/Phinome/gists{/gist_id}","starred_url":"https://api.github.com/users/Phinome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phinome/subscriptions","organizations_url":"https://api.github.com/users/Phinome/orgs","repos_url":"https://api.github.com/users/Phinome/repos","events_url":"https://api.github.com/users/Phinome/events{/privacy}","received_events_url":"https://api.github.com/users/Phinome/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T03:55:58Z","updated_at":"2015-07-31T03:55:58Z","body":"看了一下 `edp-package/lib/import-from-file.js` 的代码：\r\n```javascript\r\nswitch (fileExtname) {\r\n        case 'gz':\r\n        case 'tgz':\r\n            extractMethod = extract.tgz;\r\n            break;\r\n        case 'zip':\r\n            extractMethod = extract.zip;\r\n            break;\r\n        default:\r\n            throw new Error(fileExtname + ' file is not supported!');\r\n    }\r\n```\r\n\r\n貌似是支持 zip 的"}}