{"action":"created","comment":{"url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/comments/219666271","pull_request_review_id":157904438,"id":219666271,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTY2NjI3MQ==","diff_hunk":"@@ -0,0 +1,4 @@\n+{\n+  \"extends\": [\"tslint:latest\", \"tslint-react\"],","path":"src/app/tslint.json","position":2,"original_position":2,"commit_id":"5c1c54017971762c319b935855674ddc9e01aca0","original_commit_id":"6c978980b7dd43308e20f79bd51d3eee3f5e42fb","user":{"login":"amutake","id":1419976,"node_id":"MDQ6VXNlcjE0MTk5NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1419976?v=4","gravatar_id":"","url":"https://api.github.com/users/amutake","html_url":"https://github.com/amutake","followers_url":"https://api.github.com/users/amutake/followers","following_url":"https://api.github.com/users/amutake/following{/other_user}","gists_url":"https://api.github.com/users/amutake/gists{/gist_id}","starred_url":"https://api.github.com/users/amutake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amutake/subscriptions","organizations_url":"https://api.github.com/users/amutake/orgs","repos_url":"https://api.github.com/users/amutake/repos","events_url":"https://api.github.com/users/amutake/events{/privacy}","received_events_url":"https://api.github.com/users/amutake/received_events","type":"User","site_admin":false},"body":"おおー知らなかったです","created_at":"2018-09-22T09:16:04Z","updated_at":"2018-09-22T09:16:05Z","html_url":"https://github.com/tousetsukai/satsukita-andon.com/pull/9#discussion_r219666271","pull_request_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/comments/219666271"},"html":{"href":"https://github.com/tousetsukai/satsukita-andon.com/pull/9#discussion_r219666271"},"pull_request":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9"}},"in_reply_to_id":219665875},"pull_request":{"url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9","id":217327905,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MzI3OTA1","html_url":"https://github.com/tousetsukai/satsukita-andon.com/pull/9","diff_url":"https://github.com/tousetsukai/satsukita-andon.com/pull/9.diff","patch_url":"https://github.com/tousetsukai/satsukita-andon.com/pull/9.patch","issue_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/9","number":9,"state":"open","locked":false,"title":"Initial PR","user":{"login":"amutake","id":1419976,"node_id":"MDQ6VXNlcjE0MTk5NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1419976?v=4","gravatar_id":"","url":"https://api.github.com/users/amutake","html_url":"https://github.com/amutake","followers_url":"https://api.github.com/users/amutake/followers","following_url":"https://api.github.com/users/amutake/following{/other_user}","gists_url":"https://api.github.com/users/amutake/gists{/gist_id}","starred_url":"https://api.github.com/users/amutake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amutake/subscriptions","organizations_url":"https://api.github.com/users/amutake/orgs","repos_url":"https://api.github.com/users/amutake/repos","events_url":"https://api.github.com/users/amutake/events{/privacy}","received_events_url":"https://api.github.com/users/amutake/received_events","type":"User","site_admin":false},"body":"next.js + firebase + typescript の骨組みだけの PR です。\r\nNext.js 公式 example の https://github.com/zeit/next.js/tree/canary/examples/with-firebase-hosting-and-typescript を参考にしました。\r\n\r\nfirebase hosting を firebase functions に飛ばして SSR して返す構成になっています。\r\nfirebase functions は cold start だとレイテンシがけっこうありますが、それでも2~3秒程度で、その後はクライアント側で完結するため、目をつぶっています (firebase だと料金が安いためこうしたい)。\r\n\r\n- next.js\r\n- firebase\r\n  - hosting, functions, firestore, storage\r\n    - 現状 hosting と functions しか使っていないが今後 firestore と storage も使うようになる予定\r\n- typescript\r\n  - tsconfig, tslint の内容はいまのところコピペ\r\n- prettier\r\n  - 便利なのでこれのデフォルト設定をこのプロジェクトでは強制したい\r\n\r\n\r\nその他: \r\n\r\n- どうせ日本人しか見ないので PR は日本語にしてしまっています。README は日本語ではないけど…。\r\n- 変更多いけどほとんど package-lock.json です。","created_at":"2018-09-21T15:51:53Z","updated_at":"2018-09-22T09:16:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2c91647145f17e08a32412a1ef4147f8324fd0c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9/commits","review_comments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9/comments","review_comment_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/9/comments","statuses_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/statuses/5c1c54017971762c319b935855674ddc9e01aca0","head":{"label":"tousetsukai:initial","ref":"initial","sha":"5c1c54017971762c319b935855674ddc9e01aca0","user":{"login":"tousetsukai","id":13713170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzEzMTcw","avatar_url":"https://avatars3.githubusercontent.com/u/13713170?v=4","gravatar_id":"","url":"https://api.github.com/users/tousetsukai","html_url":"https://github.com/tousetsukai","followers_url":"https://api.github.com/users/tousetsukai/followers","following_url":"https://api.github.com/users/tousetsukai/following{/other_user}","gists_url":"https://api.github.com/users/tousetsukai/gists{/gist_id}","starred_url":"https://api.github.com/users/tousetsukai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tousetsukai/subscriptions","organizations_url":"https://api.github.com/users/tousetsukai/orgs","repos_url":"https://api.github.com/users/tousetsukai/repos","events_url":"https://api.github.com/users/tousetsukai/events{/privacy}","received_events_url":"https://api.github.com/users/tousetsukai/received_events","type":"Organization","site_admin":false},"repo":{"id":40422817,"node_id":"MDEwOlJlcG9zaXRvcnk0MDQyMjgxNw==","name":"satsukita-andon.com","full_name":"tousetsukai/satsukita-andon.com","private":false,"owner":{"login":"tousetsukai","id":13713170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzEzMTcw","avatar_url":"https://avatars3.githubusercontent.com/u/13713170?v=4","gravatar_id":"","url":"https://api.github.com/users/tousetsukai","html_url":"https://github.com/tousetsukai","followers_url":"https://api.github.com/users/tousetsukai/followers","following_url":"https://api.github.com/users/tousetsukai/following{/other_user}","gists_url":"https://api.github.com/users/tousetsukai/gists{/gist_id}","starred_url":"https://api.github.com/users/tousetsukai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tousetsukai/subscriptions","organizations_url":"https://api.github.com/users/tousetsukai/orgs","repos_url":"https://api.github.com/users/tousetsukai/repos","events_url":"https://api.github.com/users/tousetsukai/events{/privacy}","received_events_url":"https://api.github.com/users/tousetsukai/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tousetsukai/satsukita-andon.com","description":"The frontend of satsukita-andon.com","fork":false,"url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com","forks_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/forks","keys_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/teams","hooks_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/hooks","issue_events_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/events{/number}","events_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/events","assignees_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/assignees{/user}","branches_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/branches{/branch}","tags_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/tags","blobs_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/statuses/{sha}","languages_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/languages","stargazers_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/stargazers","contributors_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/contributors","subscribers_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/subscribers","subscription_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/subscription","commits_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/contents/{+path}","compare_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/merges","archive_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/downloads","issues_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues{/number}","pulls_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls{/number}","milestones_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/milestones{/number}","notifications_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/labels{/name}","releases_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/releases{/id}","deployments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/deployments","created_at":"2015-08-09T02:29:51Z","updated_at":"2018-09-21T08:59:47Z","pushed_at":"2018-09-22T07:34:13Z","git_url":"git://github.com/tousetsukai/satsukita-andon.com.git","ssh_url":"git@github.com:tousetsukai/satsukita-andon.com.git","clone_url":"https://github.com/tousetsukai/satsukita-andon.com.git","svn_url":"https://github.com/tousetsukai/satsukita-andon.com","homepage":"https://new.satsukita-andon.com","size":905,"stargazers_count":8,"watchers_count":8,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":8,"default_branch":"master"}},"base":{"label":"tousetsukai:master","ref":"master","sha":"242211a91d4e5867901cacbbf6d438a5afccae71","user":{"login":"tousetsukai","id":13713170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzEzMTcw","avatar_url":"https://avatars3.githubusercontent.com/u/13713170?v=4","gravatar_id":"","url":"https://api.github.com/users/tousetsukai","html_url":"https://github.com/tousetsukai","followers_url":"https://api.github.com/users/tousetsukai/followers","following_url":"https://api.github.com/users/tousetsukai/following{/other_user}","gists_url":"https://api.github.com/users/tousetsukai/gists{/gist_id}","starred_url":"https://api.github.com/users/tousetsukai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tousetsukai/subscriptions","organizations_url":"https://api.github.com/users/tousetsukai/orgs","repos_url":"https://api.github.com/users/tousetsukai/repos","events_url":"https://api.github.com/users/tousetsukai/events{/privacy}","received_events_url":"https://api.github.com/users/tousetsukai/received_events","type":"Organization","site_admin":false},"repo":{"id":40422817,"node_id":"MDEwOlJlcG9zaXRvcnk0MDQyMjgxNw==","name":"satsukita-andon.com","full_name":"tousetsukai/satsukita-andon.com","private":false,"owner":{"login":"tousetsukai","id":13713170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzEzMTcw","avatar_url":"https://avatars3.githubusercontent.com/u/13713170?v=4","gravatar_id":"","url":"https://api.github.com/users/tousetsukai","html_url":"https://github.com/tousetsukai","followers_url":"https://api.github.com/users/tousetsukai/followers","following_url":"https://api.github.com/users/tousetsukai/following{/other_user}","gists_url":"https://api.github.com/users/tousetsukai/gists{/gist_id}","starred_url":"https://api.github.com/users/tousetsukai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tousetsukai/subscriptions","organizations_url":"https://api.github.com/users/tousetsukai/orgs","repos_url":"https://api.github.com/users/tousetsukai/repos","events_url":"https://api.github.com/users/tousetsukai/events{/privacy}","received_events_url":"https://api.github.com/users/tousetsukai/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tousetsukai/satsukita-andon.com","description":"The frontend of satsukita-andon.com","fork":false,"url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com","forks_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/forks","keys_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/teams","hooks_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/hooks","issue_events_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/events{/number}","events_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/events","assignees_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/assignees{/user}","branches_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/branches{/branch}","tags_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/tags","blobs_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/statuses/{sha}","languages_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/languages","stargazers_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/stargazers","contributors_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/contributors","subscribers_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/subscribers","subscription_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/subscription","commits_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/contents/{+path}","compare_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/merges","archive_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/downloads","issues_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues{/number}","pulls_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls{/number}","milestones_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/milestones{/number}","notifications_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/labels{/name}","releases_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/releases{/id}","deployments_url":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/deployments","created_at":"2015-08-09T02:29:51Z","updated_at":"2018-09-21T08:59:47Z","pushed_at":"2018-09-22T07:34:13Z","git_url":"git://github.com/tousetsukai/satsukita-andon.com.git","ssh_url":"git@github.com:tousetsukai/satsukita-andon.com.git","clone_url":"https://github.com/tousetsukai/satsukita-andon.com.git","svn_url":"https://github.com/tousetsukai/satsukita-andon.com","homepage":"https://new.satsukita-andon.com","size":905,"stargazers_count":8,"watchers_count":8,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9"},"html":{"href":"https://github.com/tousetsukai/satsukita-andon.com/pull/9"},"issue":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/9"},"comments":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/tousetsukai/satsukita-andon.com/statuses/5c1c54017971762c319b935855674ddc9e01aca0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"amutake"}}