{"action":"opened","issue":{"url":"https://api.github.com/repos/storybooks/storybook/issues/4681","repository_url":"https://api.github.com/repos/storybooks/storybook","labels_url":"https://api.github.com/repos/storybooks/storybook/issues/4681/labels{/name}","comments_url":"https://api.github.com/repos/storybooks/storybook/issues/4681/comments","events_url":"https://api.github.com/repos/storybooks/storybook/issues/4681/events","html_url":"https://github.com/storybooks/storybook/issues/4681","id":376370164,"node_id":"MDU6SXNzdWUzNzYzNzAxNjQ=","number":4681,"title":"Support custom `react-scripts` packages","user":{"login":"mrmckeb","id":5043083,"node_id":"MDQ6VXNlcjUwNDMwODM=","avatar_url":"https://avatars3.githubusercontent.com/u/5043083?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmckeb","html_url":"https://github.com/mrmckeb","followers_url":"https://api.github.com/users/mrmckeb/followers","following_url":"https://api.github.com/users/mrmckeb/following{/other_user}","gists_url":"https://api.github.com/users/mrmckeb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmckeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmckeb/subscriptions","organizations_url":"https://api.github.com/users/mrmckeb/orgs","repos_url":"https://api.github.com/users/mrmckeb/repos","events_url":"https://api.github.com/users/mrmckeb/events{/privacy}","received_events_url":"https://api.github.com/users/mrmckeb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T12:21:04Z","updated_at":"2018-11-01T12:21:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nThe ability to automatically use `react-scripts` is great. However, it only supports `react-scripts` named `react-scripts`. \r\n\r\n**Describe the solution you'd like**\r\nFacebook supports the flag `--scripts-version` when using CRA, which they then use to set up CRA. I can see that storybook is hardcoded to this. Script versions can have different package names than `react-scripts`, but often (like my package) don't change much and work fine with storybook.\r\n\r\n**Describe alternatives you've considered**\r\nI can rename my package to `react-scripts` as a workaround.\r\n\r\n**Are you able to assist bring the feature to reality?**\r\nYes, I am happy to. I'm not sure which path to go down:\r\n- Flag during startup\r\n- Environment variable\r\n- Try to understand the symlink path for react-scripts (in .bin)\r\n"}}
{"actor":{"display_login":"mrmckeb"}}