{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68","id":221560466,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNTYwNDY2","html_url":"https://github.com/1337programming/webpack-shell-plugin/pull/68","diff_url":"https://github.com/1337programming/webpack-shell-plugin/pull/68.diff","patch_url":"https://github.com/1337programming/webpack-shell-plugin/pull/68.patch","issue_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/68","number":68,"state":"open","locked":false,"title":"Create an options object for each plugin instance","user":{"login":"alreece45","id":464982,"node_id":"MDQ6VXNlcjQ2NDk4Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/464982?v=4","gravatar_id":"","url":"https://api.github.com/users/alreece45","html_url":"https://github.com/alreece45","followers_url":"https://api.github.com/users/alreece45/followers","following_url":"https://api.github.com/users/alreece45/following{/other_user}","gists_url":"https://api.github.com/users/alreece45/gists{/gist_id}","starred_url":"https://api.github.com/users/alreece45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alreece45/subscriptions","organizations_url":"https://api.github.com/users/alreece45/orgs","repos_url":"https://api.github.com/users/alreece45/repos","events_url":"https://api.github.com/users/alreece45/events{/privacy}","received_events_url":"https://api.github.com/users/alreece45/received_events","type":"User","site_admin":false},"body":"When using `webpack-shell-plugin`, the same `options` object appears to be reused for different instances. As a result, only one instance is usable at a time. This is problematic when [using multiple configurations](https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations), if they run different commands.\r\n\r\nThis patch creates a new object for each instance in `mergeOptions`, rather than changing `defaults`\r\n\r\nFixes #56 \r\n","created_at":"2018-10-09T19:38:34Z","updated_at":"2018-10-09T19:38:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68/commits","review_comments_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68/comments","review_comment_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/68/comments","statuses_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/statuses/9f5a86bc7d0afe8d5395e2e87b4b006ac1c8fae4","head":{"label":"alreece45:instance-options","ref":"instance-options","sha":"9f5a86bc7d0afe8d5395e2e87b4b006ac1c8fae4","user":{"login":"alreece45","id":464982,"node_id":"MDQ6VXNlcjQ2NDk4Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/464982?v=4","gravatar_id":"","url":"https://api.github.com/users/alreece45","html_url":"https://github.com/alreece45","followers_url":"https://api.github.com/users/alreece45/followers","following_url":"https://api.github.com/users/alreece45/following{/other_user}","gists_url":"https://api.github.com/users/alreece45/gists{/gist_id}","starred_url":"https://api.github.com/users/alreece45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alreece45/subscriptions","organizations_url":"https://api.github.com/users/alreece45/orgs","repos_url":"https://api.github.com/users/alreece45/repos","events_url":"https://api.github.com/users/alreece45/events{/privacy}","received_events_url":"https://api.github.com/users/alreece45/received_events","type":"User","site_admin":false},"repo":{"id":152304707,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMDQ3MDc=","name":"webpack-shell-plugin","full_name":"alreece45/webpack-shell-plugin","private":false,"owner":{"login":"alreece45","id":464982,"node_id":"MDQ6VXNlcjQ2NDk4Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/464982?v=4","gravatar_id":"","url":"https://api.github.com/users/alreece45","html_url":"https://github.com/alreece45","followers_url":"https://api.github.com/users/alreece45/followers","following_url":"https://api.github.com/users/alreece45/following{/other_user}","gists_url":"https://api.github.com/users/alreece45/gists{/gist_id}","starred_url":"https://api.github.com/users/alreece45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alreece45/subscriptions","organizations_url":"https://api.github.com/users/alreece45/orgs","repos_url":"https://api.github.com/users/alreece45/repos","events_url":"https://api.github.com/users/alreece45/events{/privacy}","received_events_url":"https://api.github.com/users/alreece45/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alreece45/webpack-shell-plugin","description":"Run shell commands either before or after webpack builds","fork":true,"url":"https://api.github.com/repos/alreece45/webpack-shell-plugin","forks_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/forks","keys_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/teams","hooks_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/hooks","issue_events_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/events","assignees_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/tags","blobs_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/languages","stargazers_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/stargazers","contributors_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/contributors","subscribers_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/subscribers","subscription_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/subscription","commits_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/merges","archive_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/downloads","issues_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/labels{/name}","releases_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/alreece45/webpack-shell-plugin/deployments","created_at":"2018-10-09T18:54:24Z","updated_at":"2018-10-09T18:54:26Z","pushed_at":"2018-10-09T19:30:21Z","git_url":"git://github.com/alreece45/webpack-shell-plugin.git","ssh_url":"git@github.com:alreece45/webpack-shell-plugin.git","clone_url":"https://github.com/alreece45/webpack-shell-plugin.git","svn_url":"https://github.com/alreece45/webpack-shell-plugin","homepage":"","size":57,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"1337programming:master","ref":"master","sha":"a65ae75b6a40925535e9cb82e46a99975a1306a4","user":{"login":"1337programming","id":13651977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjUxOTc3","avatar_url":"https://avatars3.githubusercontent.com/u/13651977?v=4","gravatar_id":"","url":"https://api.github.com/users/1337programming","html_url":"https://github.com/1337programming","followers_url":"https://api.github.com/users/1337programming/followers","following_url":"https://api.github.com/users/1337programming/following{/other_user}","gists_url":"https://api.github.com/users/1337programming/gists{/gist_id}","starred_url":"https://api.github.com/users/1337programming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1337programming/subscriptions","organizations_url":"https://api.github.com/users/1337programming/orgs","repos_url":"https://api.github.com/users/1337programming/repos","events_url":"https://api.github.com/users/1337programming/events{/privacy}","received_events_url":"https://api.github.com/users/1337programming/received_events","type":"Organization","site_admin":false},"repo":{"id":53098048,"node_id":"MDEwOlJlcG9zaXRvcnk1MzA5ODA0OA==","name":"webpack-shell-plugin","full_name":"1337programming/webpack-shell-plugin","private":false,"owner":{"login":"1337programming","id":13651977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjUxOTc3","avatar_url":"https://avatars3.githubusercontent.com/u/13651977?v=4","gravatar_id":"","url":"https://api.github.com/users/1337programming","html_url":"https://github.com/1337programming","followers_url":"https://api.github.com/users/1337programming/followers","following_url":"https://api.github.com/users/1337programming/following{/other_user}","gists_url":"https://api.github.com/users/1337programming/gists{/gist_id}","starred_url":"https://api.github.com/users/1337programming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1337programming/subscriptions","organizations_url":"https://api.github.com/users/1337programming/orgs","repos_url":"https://api.github.com/users/1337programming/repos","events_url":"https://api.github.com/users/1337programming/events{/privacy}","received_events_url":"https://api.github.com/users/1337programming/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/1337programming/webpack-shell-plugin","description":"Run shell commands either before or after webpack builds","fork":false,"url":"https://api.github.com/repos/1337programming/webpack-shell-plugin","forks_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/forks","keys_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/teams","hooks_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/hooks","issue_events_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/events","assignees_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/tags","blobs_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/languages","stargazers_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/stargazers","contributors_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/contributors","subscribers_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/subscribers","subscription_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/subscription","commits_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/merges","archive_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/downloads","issues_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/labels{/name}","releases_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/1337programming/webpack-shell-plugin/deployments","created_at":"2016-03-04T01:37:50Z","updated_at":"2018-10-01T11:57:36Z","pushed_at":"2018-06-05T21:01:34Z","git_url":"git://github.com/1337programming/webpack-shell-plugin.git","ssh_url":"git@github.com:1337programming/webpack-shell-plugin.git","clone_url":"https://github.com/1337programming/webpack-shell-plugin.git","svn_url":"https://github.com/1337programming/webpack-shell-plugin","homepage":"","size":57,"stargazers_count":202,"watchers_count":202,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":56,"open_issues":31,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68"},"html":{"href":"https://github.com/1337programming/webpack-shell-plugin/pull/68"},"issue":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/68"},"comments":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/1337programming/webpack-shell-plugin/statuses/9f5a86bc7d0afe8d5395e2e87b4b006ac1c8fae4"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":15,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"alreece45"}}