{"action":"created","comment":{"url":"https://api.github.com/repos/Tencent/wepy/pulls/comments/202563484","pull_request_review_id":137288514,"id":202563484,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU2MzQ4NA==","diff_hunk":"@@ -139,6 +145,8 @@ export default {\n                 ext = '.ts';\n             } else if (util.isDir(source) && util.isFile(source + path.sep + 'index.js')) {\n                 ext = path.sep + 'index.js';\n+            }else if (util.isDir(source) && util.isFile(source + path.sep + 'index.ts')) {//ts文件时，无法使用缺省默认值\n+                ext = path.sep + 'index.ts';","path":"packages/wepy-cli/src/compile-script.js","position":18,"original_position":18,"commit_id":"7754d7ca08bd3cae2ef2724acd26e02b13302a8c","original_commit_id":"7754d7ca08bd3cae2ef2724acd26e02b13302a8c","user":{"login":"ystarlongzi","id":2840462,"node_id":"MDQ6VXNlcjI4NDA0NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/2840462?v=4","gravatar_id":"","url":"https://api.github.com/users/ystarlongzi","html_url":"https://github.com/ystarlongzi","followers_url":"https://api.github.com/users/ystarlongzi/followers","following_url":"https://api.github.com/users/ystarlongzi/following{/other_user}","gists_url":"https://api.github.com/users/ystarlongzi/gists{/gist_id}","starred_url":"https://api.github.com/users/ystarlongzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ystarlongzi/subscriptions","organizations_url":"https://api.github.com/users/ystarlongzi/orgs","repos_url":"https://api.github.com/users/ystarlongzi/repos","events_url":"https://api.github.com/users/ystarlongzi/events{/privacy}","received_events_url":"https://api.github.com/users/ystarlongzi/received_events","type":"User","site_admin":false},"body":"@Gcaufy 好啊，\\(^o^)/~ 但没有找到 2 具体的开发计划，我现阶段可以做些什么","created_at":"2018-07-16T02:08:24Z","updated_at":"2018-07-16T02:08:24Z","html_url":"https://github.com/Tencent/wepy/pull/1344#discussion_r202563484","pull_request_url":"https://api.github.com/repos/Tencent/wepy/pulls/1344","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/comments/202563484"},"html":{"href":"https://github.com/Tencent/wepy/pull/1344#discussion_r202563484"},"pull_request":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1344"}},"in_reply_to_id":201246484},"pull_request":{"url":"https://api.github.com/repos/Tencent/wepy/pulls/1344","id":186859494,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2ODU5NDk0","html_url":"https://github.com/Tencent/wepy/pull/1344","diff_url":"https://github.com/Tencent/wepy/pull/1344.diff","patch_url":"https://github.com/Tencent/wepy/pull/1344.patch","issue_url":"https://api.github.com/repos/Tencent/wepy/issues/1344","number":1344,"state":"open","locked":false,"title":"ts去缺省使用index.ts引入，在脚本里面使用@引入私有库","user":{"login":"sunlandong","id":22371767,"node_id":"MDQ6VXNlcjIyMzcxNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/22371767?v=4","gravatar_id":"","url":"https://api.github.com/users/sunlandong","html_url":"https://github.com/sunlandong","followers_url":"https://api.github.com/users/sunlandong/followers","following_url":"https://api.github.com/users/sunlandong/following{/other_user}","gists_url":"https://api.github.com/users/sunlandong/gists{/gist_id}","starred_url":"https://api.github.com/users/sunlandong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunlandong/subscriptions","organizations_url":"https://api.github.com/users/sunlandong/orgs","repos_url":"https://api.github.com/users/sunlandong/repos","events_url":"https://api.github.com/users/sunlandong/events{/privacy}","received_events_url":"https://api.github.com/users/sunlandong/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for your pull request. Please provide a description above and review\r\nthe requirements below.\r\n\r\nBug fixes and new features should include tests and possibly benchmarks.\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm run test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] cases or donate is changed or added\r\n- [ ] documentation is changed or added\r\n","created_at":"2018-05-09T09:03:53Z","updated_at":"2018-07-16T02:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f860834e53c59ff48297d5fc87bc2472d1e9a29d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tencent/wepy/pulls/1344/commits","review_comments_url":"https://api.github.com/repos/Tencent/wepy/pulls/1344/comments","review_comment_url":"https://api.github.com/repos/Tencent/wepy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tencent/wepy/issues/1344/comments","statuses_url":"https://api.github.com/repos/Tencent/wepy/statuses/7754d7ca08bd3cae2ef2724acd26e02b13302a8c","head":{"label":"sunlandong:2.0.x","ref":"2.0.x","sha":"7754d7ca08bd3cae2ef2724acd26e02b13302a8c","user":{"login":"sunlandong","id":22371767,"node_id":"MDQ6VXNlcjIyMzcxNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/22371767?v=4","gravatar_id":"","url":"https://api.github.com/users/sunlandong","html_url":"https://github.com/sunlandong","followers_url":"https://api.github.com/users/sunlandong/followers","following_url":"https://api.github.com/users/sunlandong/following{/other_user}","gists_url":"https://api.github.com/users/sunlandong/gists{/gist_id}","starred_url":"https://api.github.com/users/sunlandong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunlandong/subscriptions","organizations_url":"https://api.github.com/users/sunlandong/orgs","repos_url":"https://api.github.com/users/sunlandong/repos","events_url":"https://api.github.com/users/sunlandong/events{/privacy}","received_events_url":"https://api.github.com/users/sunlandong/received_events","type":"User","site_admin":false},"repo":{"id":132723165,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI3MjMxNjU=","name":"wepy","full_name":"sunlandong/wepy","owner":{"login":"sunlandong","id":22371767,"node_id":"MDQ6VXNlcjIyMzcxNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/22371767?v=4","gravatar_id":"","url":"https://api.github.com/users/sunlandong","html_url":"https://github.com/sunlandong","followers_url":"https://api.github.com/users/sunlandong/followers","following_url":"https://api.github.com/users/sunlandong/following{/other_user}","gists_url":"https://api.github.com/users/sunlandong/gists{/gist_id}","starred_url":"https://api.github.com/users/sunlandong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunlandong/subscriptions","organizations_url":"https://api.github.com/users/sunlandong/orgs","repos_url":"https://api.github.com/users/sunlandong/repos","events_url":"https://api.github.com/users/sunlandong/events{/privacy}","received_events_url":"https://api.github.com/users/sunlandong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunlandong/wepy","description":"小程序组件化开发框架","fork":true,"url":"https://api.github.com/repos/sunlandong/wepy","forks_url":"https://api.github.com/repos/sunlandong/wepy/forks","keys_url":"https://api.github.com/repos/sunlandong/wepy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunlandong/wepy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunlandong/wepy/teams","hooks_url":"https://api.github.com/repos/sunlandong/wepy/hooks","issue_events_url":"https://api.github.com/repos/sunlandong/wepy/issues/events{/number}","events_url":"https://api.github.com/repos/sunlandong/wepy/events","assignees_url":"https://api.github.com/repos/sunlandong/wepy/assignees{/user}","branches_url":"https://api.github.com/repos/sunlandong/wepy/branches{/branch}","tags_url":"https://api.github.com/repos/sunlandong/wepy/tags","blobs_url":"https://api.github.com/repos/sunlandong/wepy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunlandong/wepy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunlandong/wepy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunlandong/wepy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunlandong/wepy/statuses/{sha}","languages_url":"https://api.github.com/repos/sunlandong/wepy/languages","stargazers_url":"https://api.github.com/repos/sunlandong/wepy/stargazers","contributors_url":"https://api.github.com/repos/sunlandong/wepy/contributors","subscribers_url":"https://api.github.com/repos/sunlandong/wepy/subscribers","subscription_url":"https://api.github.com/repos/sunlandong/wepy/subscription","commits_url":"https://api.github.com/repos/sunlandong/wepy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunlandong/wepy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunlandong/wepy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunlandong/wepy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunlandong/wepy/contents/{+path}","compare_url":"https://api.github.com/repos/sunlandong/wepy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunlandong/wepy/merges","archive_url":"https://api.github.com/repos/sunlandong/wepy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunlandong/wepy/downloads","issues_url":"https://api.github.com/repos/sunlandong/wepy/issues{/number}","pulls_url":"https://api.github.com/repos/sunlandong/wepy/pulls{/number}","milestones_url":"https://api.github.com/repos/sunlandong/wepy/milestones{/number}","notifications_url":"https://api.github.com/repos/sunlandong/wepy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunlandong/wepy/labels{/name}","releases_url":"https://api.github.com/repos/sunlandong/wepy/releases{/id}","deployments_url":"https://api.github.com/repos/sunlandong/wepy/deployments","created_at":"2018-05-09T08:05:21Z","updated_at":"2018-05-09T09:00:57Z","pushed_at":"2018-05-09T09:00:54Z","git_url":"git://github.com/sunlandong/wepy.git","ssh_url":"git@github.com:sunlandong/wepy.git","clone_url":"https://github.com/sunlandong/wepy.git","svn_url":"https://github.com/sunlandong/wepy","homepage":"https://tencent.github.io/wepy/","size":5629,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.0.x"}},"base":{"label":"Tencent:2.0.x","ref":"2.0.x","sha":"8edd729ff503bc468487aec9ef5ab57301e3733f","user":{"login":"Tencent","id":18461506,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDYxNTA2","avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"repo":{"id":73681508,"node_id":"MDEwOlJlcG9zaXRvcnk3MzY4MTUwOA==","name":"wepy","full_name":"Tencent/wepy","owner":{"login":"Tencent","id":18461506,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDYxNTA2","avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tencent/wepy","description":"小程序组件化开发框架","fork":false,"url":"https://api.github.com/repos/Tencent/wepy","forks_url":"https://api.github.com/repos/Tencent/wepy/forks","keys_url":"https://api.github.com/repos/Tencent/wepy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tencent/wepy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tencent/wepy/teams","hooks_url":"https://api.github.com/repos/Tencent/wepy/hooks","issue_events_url":"https://api.github.com/repos/Tencent/wepy/issues/events{/number}","events_url":"https://api.github.com/repos/Tencent/wepy/events","assignees_url":"https://api.github.com/repos/Tencent/wepy/assignees{/user}","branches_url":"https://api.github.com/repos/Tencent/wepy/branches{/branch}","tags_url":"https://api.github.com/repos/Tencent/wepy/tags","blobs_url":"https://api.github.com/repos/Tencent/wepy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tencent/wepy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tencent/wepy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tencent/wepy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tencent/wepy/statuses/{sha}","languages_url":"https://api.github.com/repos/Tencent/wepy/languages","stargazers_url":"https://api.github.com/repos/Tencent/wepy/stargazers","contributors_url":"https://api.github.com/repos/Tencent/wepy/contributors","subscribers_url":"https://api.github.com/repos/Tencent/wepy/subscribers","subscription_url":"https://api.github.com/repos/Tencent/wepy/subscription","commits_url":"https://api.github.com/repos/Tencent/wepy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tencent/wepy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tencent/wepy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tencent/wepy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tencent/wepy/contents/{+path}","compare_url":"https://api.github.com/repos/Tencent/wepy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tencent/wepy/merges","archive_url":"https://api.github.com/repos/Tencent/wepy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tencent/wepy/downloads","issues_url":"https://api.github.com/repos/Tencent/wepy/issues{/number}","pulls_url":"https://api.github.com/repos/Tencent/wepy/pulls{/number}","milestones_url":"https://api.github.com/repos/Tencent/wepy/milestones{/number}","notifications_url":"https://api.github.com/repos/Tencent/wepy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tencent/wepy/labels{/name}","releases_url":"https://api.github.com/repos/Tencent/wepy/releases{/id}","deployments_url":"https://api.github.com/repos/Tencent/wepy/deployments","created_at":"2016-11-14T08:06:56Z","updated_at":"2018-07-16T01:47:40Z","pushed_at":"2018-07-15T17:05:53Z","git_url":"git://github.com/Tencent/wepy.git","ssh_url":"git@github.com:Tencent/wepy.git","clone_url":"https://github.com/Tencent/wepy.git","svn_url":"https://github.com/Tencent/wepy","homepage":"https://tencent.github.io/wepy/","size":5886,"stargazers_count":12497,"watchers_count":12497,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1711,"mirror_url":null,"archived":false,"open_issues_count":148,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1711,"open_issues":148,"watchers":12497,"default_branch":"2.0.x"}},"_links":{"self":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1344"},"html":{"href":"https://github.com/Tencent/wepy/pull/1344"},"issue":{"href":"https://api.github.com/repos/Tencent/wepy/issues/1344"},"comments":{"href":"https://api.github.com/repos/Tencent/wepy/issues/1344/comments"},"review_comments":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1344/comments"},"review_comment":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1344/commits"},"statuses":{"href":"https://api.github.com/repos/Tencent/wepy/statuses/7754d7ca08bd3cae2ef2724acd26e02b13302a8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"ystarlongzi"}}