{"action":"created","comment":{"url":"https://api.github.com/repos/stardust-ui/react/pulls/comments/240415129","pull_request_review_id":183441844,"id":240415129,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDQxNTEyOQ==","diff_hunk":"@@ -120,6 +125,54 @@ export default App;\n \n     log('Test project is built successfully!')\n   } finally {\n-    fs.unlinkSync(stardustPackageFilename)\n+    fs.unlinkSync(packageFilename)\n   }\n })\n+\n+task('test:projects:rollup', async () => {\n+  const logger = debug('bundle:rollup')\n+  logger.enabled = true\n+\n+  const packageFilename = createPackageFilename()\n+\n+  await buildAndPackStardust(packageFilename)\n+  logger(`✔️Stardust UI package was prepared: ${packageFilename}`)\n+\n+  const tmpDirectory = tmp.dirSync({ prefix: 'stardust-' }).name\n+  logger(`✔️Temporary directory was created: ${tmpDirectory}`)\n+\n+  const dependencies = [\n+    'rollup',\n+    'rollup-plugin-replace',\n+    'rollup-plugin-commonjs',\n+    'rollup-plugin-node-resolve',\n+    'react',\n+    'react-dom',\n+  ].join(' ')\n+  await runIn(tmpDirectory)(`yarn add ${dependencies}`)\n+  logger(`✔️Dependencies were installed`)\n+\n+  await runIn(tmpDirectory)(`yarn add ${packageFilename}`)\n+  logger(`✔️Stardust UI was added to dependencies`)\n+\n+  fs.copyFileSync(\n+    path.resolve(__dirname, '..', 'scaffold', 'app.js'),\n+    path.resolve(tmpDirectory, 'app.js'),\n+  )\n+  fs.copyFileSync(\n+    path.resolve(__dirname, '..', 'scaffold', 'rollup.config.js'),\n+    path.resolve(tmpDirectory, 'rollup.config.js'),\n+  )\n+  logger(`✔️Source and bundler's config were created`)\n+\n+  await runIn(tmpDirectory)(`yarn rollup -c`)\n+  logger(`✔️Example project was successfully built: ${tmpDirectory}`)\n+})\n+\n+task(\n+  'test:projects',\n+  series(","path":"build/gulp/tasks/test-projects.tsx","position":100,"original_position":100,"commit_id":"a105f7e612e4c37f516178f140acc37326943833","original_commit_id":"a105f7e612e4c37f516178f140acc37326943833","user":{"login":"kuzhelov","id":9024564,"node_id":"MDQ6VXNlcjkwMjQ1NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9024564?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzhelov","html_url":"https://github.com/kuzhelov","followers_url":"https://api.github.com/users/kuzhelov/followers","following_url":"https://api.github.com/users/kuzhelov/following{/other_user}","gists_url":"https://api.github.com/users/kuzhelov/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzhelov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzhelov/subscriptions","organizations_url":"https://api.github.com/users/kuzhelov/orgs","repos_url":"https://api.github.com/users/kuzhelov/repos","events_url":"https://api.github.com/users/kuzhelov/events{/privacy}","received_events_url":"https://api.github.com/users/kuzhelov/received_events","type":"User","site_admin":false},"body":"actually, could we run them in parallel? It seems that there is no shared state between these tasks","created_at":"2018-12-10T23:01:48Z","updated_at":"2018-12-10T23:01:48Z","html_url":"https://github.com/stardust-ui/react/pull/570#discussion_r240415129","pull_request_url":"https://api.github.com/repos/stardust-ui/react/pulls/570","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/comments/240415129"},"html":{"href":"https://github.com/stardust-ui/react/pull/570#discussion_r240415129"},"pull_request":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/570"}}},"pull_request":{"url":"https://api.github.com/repos/stardust-ui/react/pulls/570","id":236526691,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTI2Njkx","html_url":"https://github.com/stardust-ui/react/pull/570","diff_url":"https://github.com/stardust-ui/react/pull/570.diff","patch_url":"https://github.com/stardust-ui/react/pull/570.patch","issue_url":"https://api.github.com/repos/stardust-ui/react/issues/570","number":570,"state":"open","locked":false,"title":"chore(mixed): fix imports and introduce bundler test","user":{"login":"layershifter","id":14183168,"node_id":"MDQ6VXNlcjE0MTgzMTY4","avatar_url":"https://avatars0.githubusercontent.com/u/14183168?v=4","gravatar_id":"","url":"https://api.github.com/users/layershifter","html_url":"https://github.com/layershifter","followers_url":"https://api.github.com/users/layershifter/followers","following_url":"https://api.github.com/users/layershifter/following{/other_user}","gists_url":"https://api.github.com/users/layershifter/gists{/gist_id}","starred_url":"https://api.github.com/users/layershifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layershifter/subscriptions","organizations_url":"https://api.github.com/users/layershifter/orgs","repos_url":"https://api.github.com/users/layershifter/repos","events_url":"https://api.github.com/users/layershifter/events{/privacy}","received_events_url":"https://api.github.com/users/layershifter/received_events","type":"User","site_admin":false},"body":"This PR:\r\n- adds a test for Rollup bundler\r\n- cleanups imports to avoid circular issues\r\n- fixes #547 \r\n\r\n---\r\n\r\nI also tested a build with Parcel manually, it works like a charm ⭐️ ","created_at":"2018-12-06T13:17:49Z","updated_at":"2018-12-10T23:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83d8cd8806966dbb456d62d448b7c9d6f57409d9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mnajdova","id":4512430,"node_id":"MDQ6VXNlcjQ1MTI0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4512430?v=4","gravatar_id":"","url":"https://api.github.com/users/mnajdova","html_url":"https://github.com/mnajdova","followers_url":"https://api.github.com/users/mnajdova/followers","following_url":"https://api.github.com/users/mnajdova/following{/other_user}","gists_url":"https://api.github.com/users/mnajdova/gists{/gist_id}","starred_url":"https://api.github.com/users/mnajdova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnajdova/subscriptions","organizations_url":"https://api.github.com/users/mnajdova/orgs","repos_url":"https://api.github.com/users/mnajdova/repos","events_url":"https://api.github.com/users/mnajdova/events{/privacy}","received_events_url":"https://api.github.com/users/mnajdova/received_events","type":"User","site_admin":false},{"login":"levithomason","id":5067638,"node_id":"MDQ6VXNlcjUwNjc2Mzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5067638?v=4","gravatar_id":"","url":"https://api.github.com/users/levithomason","html_url":"https://github.com/levithomason","followers_url":"https://api.github.com/users/levithomason/followers","following_url":"https://api.github.com/users/levithomason/following{/other_user}","gists_url":"https://api.github.com/users/levithomason/gists{/gist_id}","starred_url":"https://api.github.com/users/levithomason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levithomason/subscriptions","organizations_url":"https://api.github.com/users/levithomason/orgs","repos_url":"https://api.github.com/users/levithomason/repos","events_url":"https://api.github.com/users/levithomason/events{/privacy}","received_events_url":"https://api.github.com/users/levithomason/received_events","type":"User","site_admin":false},{"login":"davezuko","id":6439050,"node_id":"MDQ6VXNlcjY0MzkwNTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6439050?v=4","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1033155578,"node_id":"MDU6TGFiZWwxMDMzMTU1NTc4","url":"https://api.github.com/repos/stardust-ui/react/labels/fix","name":"fix","color":"d73a4a","default":false},{"id":1025396700,"node_id":"MDU6TGFiZWwxMDI1Mzk2NzAw","url":"https://api.github.com/repos/stardust-ui/react/labels/ready%20for%20review","name":"ready for review","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/stardust-ui/react/pulls/570/commits","review_comments_url":"https://api.github.com/repos/stardust-ui/react/pulls/570/comments","review_comment_url":"https://api.github.com/repos/stardust-ui/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stardust-ui/react/issues/570/comments","statuses_url":"https://api.github.com/repos/stardust-ui/react/statuses/a105f7e612e4c37f516178f140acc37326943833","head":{"label":"stardust-ui:chore/fix-imports","ref":"chore/fix-imports","sha":"a105f7e612e4c37f516178f140acc37326943833","user":{"login":"stardust-ui","id":40412095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDEyMDk1","avatar_url":"https://avatars3.githubusercontent.com/u/40412095?v=4","gravatar_id":"","url":"https://api.github.com/users/stardust-ui","html_url":"https://github.com/stardust-ui","followers_url":"https://api.github.com/users/stardust-ui/followers","following_url":"https://api.github.com/users/stardust-ui/following{/other_user}","gists_url":"https://api.github.com/users/stardust-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/stardust-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stardust-ui/subscriptions","organizations_url":"https://api.github.com/users/stardust-ui/orgs","repos_url":"https://api.github.com/users/stardust-ui/repos","events_url":"https://api.github.com/users/stardust-ui/events{/privacy}","received_events_url":"https://api.github.com/users/stardust-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":141743704,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3NDM3MDQ=","name":"react","full_name":"stardust-ui/react","private":false,"owner":{"login":"stardust-ui","id":40412095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDEyMDk1","avatar_url":"https://avatars3.githubusercontent.com/u/40412095?v=4","gravatar_id":"","url":"https://api.github.com/users/stardust-ui","html_url":"https://github.com/stardust-ui","followers_url":"https://api.github.com/users/stardust-ui/followers","following_url":"https://api.github.com/users/stardust-ui/following{/other_user}","gists_url":"https://api.github.com/users/stardust-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/stardust-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stardust-ui/subscriptions","organizations_url":"https://api.github.com/users/stardust-ui/orgs","repos_url":"https://api.github.com/users/stardust-ui/repos","events_url":"https://api.github.com/users/stardust-ui/events{/privacy}","received_events_url":"https://api.github.com/users/stardust-ui/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stardust-ui/react","description":"A themable React component library","fork":false,"url":"https://api.github.com/repos/stardust-ui/react","forks_url":"https://api.github.com/repos/stardust-ui/react/forks","keys_url":"https://api.github.com/repos/stardust-ui/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stardust-ui/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stardust-ui/react/teams","hooks_url":"https://api.github.com/repos/stardust-ui/react/hooks","issue_events_url":"https://api.github.com/repos/stardust-ui/react/issues/events{/number}","events_url":"https://api.github.com/repos/stardust-ui/react/events","assignees_url":"https://api.github.com/repos/stardust-ui/react/assignees{/user}","branches_url":"https://api.github.com/repos/stardust-ui/react/branches{/branch}","tags_url":"https://api.github.com/repos/stardust-ui/react/tags","blobs_url":"https://api.github.com/repos/stardust-ui/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stardust-ui/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stardust-ui/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/stardust-ui/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stardust-ui/react/statuses/{sha}","languages_url":"https://api.github.com/repos/stardust-ui/react/languages","stargazers_url":"https://api.github.com/repos/stardust-ui/react/stargazers","contributors_url":"https://api.github.com/repos/stardust-ui/react/contributors","subscribers_url":"https://api.github.com/repos/stardust-ui/react/subscribers","subscription_url":"https://api.github.com/repos/stardust-ui/react/subscription","commits_url":"https://api.github.com/repos/stardust-ui/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/stardust-ui/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/stardust-ui/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/stardust-ui/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/stardust-ui/react/contents/{+path}","compare_url":"https://api.github.com/repos/stardust-ui/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stardust-ui/react/merges","archive_url":"https://api.github.com/repos/stardust-ui/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stardust-ui/react/downloads","issues_url":"https://api.github.com/repos/stardust-ui/react/issues{/number}","pulls_url":"https://api.github.com/repos/stardust-ui/react/pulls{/number}","milestones_url":"https://api.github.com/repos/stardust-ui/react/milestones{/number}","notifications_url":"https://api.github.com/repos/stardust-ui/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stardust-ui/react/labels{/name}","releases_url":"https://api.github.com/repos/stardust-ui/react/releases{/id}","deployments_url":"https://api.github.com/repos/stardust-ui/react/deployments","created_at":"2018-07-20T18:12:35Z","updated_at":"2018-12-10T18:12:29Z","pushed_at":"2018-12-10T22:50:10Z","git_url":"git://github.com/stardust-ui/react.git","ssh_url":"git@github.com:stardust-ui/react.git","clone_url":"https://github.com/stardust-ui/react.git","svn_url":"https://github.com/stardust-ui/react","homepage":"http://stardust-ui.github.io/react","size":32115,"stargazers_count":116,"watchers_count":116,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":93,"watchers":116,"default_branch":"master"}},"base":{"label":"stardust-ui:master","ref":"master","sha":"763f9f4461e05e569a195414435e7c05d805f671","user":{"login":"stardust-ui","id":40412095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDEyMDk1","avatar_url":"https://avatars3.githubusercontent.com/u/40412095?v=4","gravatar_id":"","url":"https://api.github.com/users/stardust-ui","html_url":"https://github.com/stardust-ui","followers_url":"https://api.github.com/users/stardust-ui/followers","following_url":"https://api.github.com/users/stardust-ui/following{/other_user}","gists_url":"https://api.github.com/users/stardust-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/stardust-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stardust-ui/subscriptions","organizations_url":"https://api.github.com/users/stardust-ui/orgs","repos_url":"https://api.github.com/users/stardust-ui/repos","events_url":"https://api.github.com/users/stardust-ui/events{/privacy}","received_events_url":"https://api.github.com/users/stardust-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":141743704,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3NDM3MDQ=","name":"react","full_name":"stardust-ui/react","private":false,"owner":{"login":"stardust-ui","id":40412095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDEyMDk1","avatar_url":"https://avatars3.githubusercontent.com/u/40412095?v=4","gravatar_id":"","url":"https://api.github.com/users/stardust-ui","html_url":"https://github.com/stardust-ui","followers_url":"https://api.github.com/users/stardust-ui/followers","following_url":"https://api.github.com/users/stardust-ui/following{/other_user}","gists_url":"https://api.github.com/users/stardust-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/stardust-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stardust-ui/subscriptions","organizations_url":"https://api.github.com/users/stardust-ui/orgs","repos_url":"https://api.github.com/users/stardust-ui/repos","events_url":"https://api.github.com/users/stardust-ui/events{/privacy}","received_events_url":"https://api.github.com/users/stardust-ui/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stardust-ui/react","description":"A themable React component library","fork":false,"url":"https://api.github.com/repos/stardust-ui/react","forks_url":"https://api.github.com/repos/stardust-ui/react/forks","keys_url":"https://api.github.com/repos/stardust-ui/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stardust-ui/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stardust-ui/react/teams","hooks_url":"https://api.github.com/repos/stardust-ui/react/hooks","issue_events_url":"https://api.github.com/repos/stardust-ui/react/issues/events{/number}","events_url":"https://api.github.com/repos/stardust-ui/react/events","assignees_url":"https://api.github.com/repos/stardust-ui/react/assignees{/user}","branches_url":"https://api.github.com/repos/stardust-ui/react/branches{/branch}","tags_url":"https://api.github.com/repos/stardust-ui/react/tags","blobs_url":"https://api.github.com/repos/stardust-ui/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stardust-ui/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stardust-ui/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/stardust-ui/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stardust-ui/react/statuses/{sha}","languages_url":"https://api.github.com/repos/stardust-ui/react/languages","stargazers_url":"https://api.github.com/repos/stardust-ui/react/stargazers","contributors_url":"https://api.github.com/repos/stardust-ui/react/contributors","subscribers_url":"https://api.github.com/repos/stardust-ui/react/subscribers","subscription_url":"https://api.github.com/repos/stardust-ui/react/subscription","commits_url":"https://api.github.com/repos/stardust-ui/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/stardust-ui/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/stardust-ui/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/stardust-ui/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/stardust-ui/react/contents/{+path}","compare_url":"https://api.github.com/repos/stardust-ui/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stardust-ui/react/merges","archive_url":"https://api.github.com/repos/stardust-ui/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stardust-ui/react/downloads","issues_url":"https://api.github.com/repos/stardust-ui/react/issues{/number}","pulls_url":"https://api.github.com/repos/stardust-ui/react/pulls{/number}","milestones_url":"https://api.github.com/repos/stardust-ui/react/milestones{/number}","notifications_url":"https://api.github.com/repos/stardust-ui/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stardust-ui/react/labels{/name}","releases_url":"https://api.github.com/repos/stardust-ui/react/releases{/id}","deployments_url":"https://api.github.com/repos/stardust-ui/react/deployments","created_at":"2018-07-20T18:12:35Z","updated_at":"2018-12-10T18:12:29Z","pushed_at":"2018-12-10T22:50:10Z","git_url":"git://github.com/stardust-ui/react.git","ssh_url":"git@github.com:stardust-ui/react.git","clone_url":"https://github.com/stardust-ui/react.git","svn_url":"https://github.com/stardust-ui/react","homepage":"http://stardust-ui.github.io/react","size":32115,"stargazers_count":116,"watchers_count":116,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":93,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/570"},"html":{"href":"https://github.com/stardust-ui/react/pull/570"},"issue":{"href":"https://api.github.com/repos/stardust-ui/react/issues/570"},"comments":{"href":"https://api.github.com/repos/stardust-ui/react/issues/570/comments"},"review_comments":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/570/comments"},"review_comment":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stardust-ui/react/pulls/570/commits"},"statuses":{"href":"https://api.github.com/repos/stardust-ui/react/statuses/a105f7e612e4c37f516178f140acc37326943833"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kuzhelov"}}