{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9","id":39635986,"html_url":"https://github.com/scm-spain/generator-sui-react/pull/9","diff_url":"https://github.com/scm-spain/generator-sui-react/pull/9.diff","patch_url":"https://github.com/scm-spain/generator-sui-react/pull/9.patch","issue_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/9","number":9,"state":"open","locked":false,"title":"custom importer","user":{"login":"danderu","id":5173869,"avatar_url":"https://avatars.githubusercontent.com/u/5173869?v=3","gravatar_id":"","url":"https://api.github.com/users/danderu","html_url":"https://github.com/danderu","followers_url":"https://api.github.com/users/danderu/followers","following_url":"https://api.github.com/users/danderu/following{/other_user}","gists_url":"https://api.github.com/users/danderu/gists{/gist_id}","starred_url":"https://api.github.com/users/danderu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danderu/subscriptions","organizations_url":"https://api.github.com/users/danderu/orgs","repos_url":"https://api.github.com/users/danderu/repos","events_url":"https://api.github.com/users/danderu/events{/privacy}","received_events_url":"https://api.github.com/users/danderu/received_events","type":"User","site_admin":false},"body":"Proposed workaround for solving the .scss problem when importing from a node package. It uses a new feature of the latest version of node_sass: custom importer.\r\n\r\nI've tried a first approach of a custom importer and it works, recursively searching for a file in parent directories.\r\n\r\nThings I don't like of this approach:\r\n* recursivity\r\n* we loose automatic partial loading, we have to put underscore and .scss extension. This is because in each iteration, the custom importer checks if the file exists in the path.\r\n\r\nIt can be improved. ","created_at":"2015-07-09T22:37:44Z","updated_at":"2015-07-09T22:37:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9/commits","review_comments_url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9/comments","review_comment_url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/9/comments","statuses_url":"https://api.github.com/repos/scm-spain/generator-sui-react/statuses/3c51475bf5332964e8381c399fa35d0260eeb60c","head":{"label":"scm-spain:feature/custom_importer","ref":"feature/custom_importer","sha":"3c51475bf5332964e8381c399fa35d0260eeb60c","user":{"login":"scm-spain","id":6713142,"avatar_url":"https://avatars.githubusercontent.com/u/6713142?v=3","gravatar_id":"","url":"https://api.github.com/users/scm-spain","html_url":"https://github.com/scm-spain","followers_url":"https://api.github.com/users/scm-spain/followers","following_url":"https://api.github.com/users/scm-spain/following{/other_user}","gists_url":"https://api.github.com/users/scm-spain/gists{/gist_id}","starred_url":"https://api.github.com/users/scm-spain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scm-spain/subscriptions","organizations_url":"https://api.github.com/users/scm-spain/orgs","repos_url":"https://api.github.com/users/scm-spain/repos","events_url":"https://api.github.com/users/scm-spain/events{/privacy}","received_events_url":"https://api.github.com/users/scm-spain/received_events","type":"Organization","site_admin":false},"repo":{"id":36506930,"name":"generator-sui-react","full_name":"scm-spain/generator-sui-react","owner":{"login":"scm-spain","id":6713142,"avatar_url":"https://avatars.githubusercontent.com/u/6713142?v=3","gravatar_id":"","url":"https://api.github.com/users/scm-spain","html_url":"https://github.com/scm-spain","followers_url":"https://api.github.com/users/scm-spain/followers","following_url":"https://api.github.com/users/scm-spain/following{/other_user}","gists_url":"https://api.github.com/users/scm-spain/gists{/gist_id}","starred_url":"https://api.github.com/users/scm-spain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scm-spain/subscriptions","organizations_url":"https://api.github.com/users/scm-spain/orgs","repos_url":"https://api.github.com/users/scm-spain/repos","events_url":"https://api.github.com/users/scm-spain/events{/privacy}","received_events_url":"https://api.github.com/users/scm-spain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scm-spain/generator-sui-react","description":"A yeoman generator for react components","fork":false,"url":"https://api.github.com/repos/scm-spain/generator-sui-react","forks_url":"https://api.github.com/repos/scm-spain/generator-sui-react/forks","keys_url":"https://api.github.com/repos/scm-spain/generator-sui-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scm-spain/generator-sui-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scm-spain/generator-sui-react/teams","hooks_url":"https://api.github.com/repos/scm-spain/generator-sui-react/hooks","issue_events_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/events{/number}","events_url":"https://api.github.com/repos/scm-spain/generator-sui-react/events","assignees_url":"https://api.github.com/repos/scm-spain/generator-sui-react/assignees{/user}","branches_url":"https://api.github.com/repos/scm-spain/generator-sui-react/branches{/branch}","tags_url":"https://api.github.com/repos/scm-spain/generator-sui-react/tags","blobs_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scm-spain/generator-sui-react/statuses/{sha}","languages_url":"https://api.github.com/repos/scm-spain/generator-sui-react/languages","stargazers_url":"https://api.github.com/repos/scm-spain/generator-sui-react/stargazers","contributors_url":"https://api.github.com/repos/scm-spain/generator-sui-react/contributors","subscribers_url":"https://api.github.com/repos/scm-spain/generator-sui-react/subscribers","subscription_url":"https://api.github.com/repos/scm-spain/generator-sui-react/subscription","commits_url":"https://api.github.com/repos/scm-spain/generator-sui-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/scm-spain/generator-sui-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/scm-spain/generator-sui-react/contents/{+path}","compare_url":"https://api.github.com/repos/scm-spain/generator-sui-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scm-spain/generator-sui-react/merges","archive_url":"https://api.github.com/repos/scm-spain/generator-sui-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scm-spain/generator-sui-react/downloads","issues_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues{/number}","pulls_url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls{/number}","milestones_url":"https://api.github.com/repos/scm-spain/generator-sui-react/milestones{/number}","notifications_url":"https://api.github.com/repos/scm-spain/generator-sui-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scm-spain/generator-sui-react/labels{/name}","releases_url":"https://api.github.com/repos/scm-spain/generator-sui-react/releases{/id}","created_at":"2015-05-29T13:47:25Z","updated_at":"2015-07-07T09:45:30Z","pushed_at":"2015-07-09T22:37:44Z","git_url":"git://github.com/scm-spain/generator-sui-react.git","ssh_url":"git@github.com:scm-spain/generator-sui-react.git","clone_url":"https://github.com/scm-spain/generator-sui-react.git","svn_url":"https://github.com/scm-spain/generator-sui-react","homepage":null,"size":381,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"scm-spain:master","ref":"master","sha":"e0f3132655aef45c6895e15873c53a611013f117","user":{"login":"scm-spain","id":6713142,"avatar_url":"https://avatars.githubusercontent.com/u/6713142?v=3","gravatar_id":"","url":"https://api.github.com/users/scm-spain","html_url":"https://github.com/scm-spain","followers_url":"https://api.github.com/users/scm-spain/followers","following_url":"https://api.github.com/users/scm-spain/following{/other_user}","gists_url":"https://api.github.com/users/scm-spain/gists{/gist_id}","starred_url":"https://api.github.com/users/scm-spain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scm-spain/subscriptions","organizations_url":"https://api.github.com/users/scm-spain/orgs","repos_url":"https://api.github.com/users/scm-spain/repos","events_url":"https://api.github.com/users/scm-spain/events{/privacy}","received_events_url":"https://api.github.com/users/scm-spain/received_events","type":"Organization","site_admin":false},"repo":{"id":36506930,"name":"generator-sui-react","full_name":"scm-spain/generator-sui-react","owner":{"login":"scm-spain","id":6713142,"avatar_url":"https://avatars.githubusercontent.com/u/6713142?v=3","gravatar_id":"","url":"https://api.github.com/users/scm-spain","html_url":"https://github.com/scm-spain","followers_url":"https://api.github.com/users/scm-spain/followers","following_url":"https://api.github.com/users/scm-spain/following{/other_user}","gists_url":"https://api.github.com/users/scm-spain/gists{/gist_id}","starred_url":"https://api.github.com/users/scm-spain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scm-spain/subscriptions","organizations_url":"https://api.github.com/users/scm-spain/orgs","repos_url":"https://api.github.com/users/scm-spain/repos","events_url":"https://api.github.com/users/scm-spain/events{/privacy}","received_events_url":"https://api.github.com/users/scm-spain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scm-spain/generator-sui-react","description":"A yeoman generator for react components","fork":false,"url":"https://api.github.com/repos/scm-spain/generator-sui-react","forks_url":"https://api.github.com/repos/scm-spain/generator-sui-react/forks","keys_url":"https://api.github.com/repos/scm-spain/generator-sui-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scm-spain/generator-sui-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scm-spain/generator-sui-react/teams","hooks_url":"https://api.github.com/repos/scm-spain/generator-sui-react/hooks","issue_events_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/events{/number}","events_url":"https://api.github.com/repos/scm-spain/generator-sui-react/events","assignees_url":"https://api.github.com/repos/scm-spain/generator-sui-react/assignees{/user}","branches_url":"https://api.github.com/repos/scm-spain/generator-sui-react/branches{/branch}","tags_url":"https://api.github.com/repos/scm-spain/generator-sui-react/tags","blobs_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scm-spain/generator-sui-react/statuses/{sha}","languages_url":"https://api.github.com/repos/scm-spain/generator-sui-react/languages","stargazers_url":"https://api.github.com/repos/scm-spain/generator-sui-react/stargazers","contributors_url":"https://api.github.com/repos/scm-spain/generator-sui-react/contributors","subscribers_url":"https://api.github.com/repos/scm-spain/generator-sui-react/subscribers","subscription_url":"https://api.github.com/repos/scm-spain/generator-sui-react/subscription","commits_url":"https://api.github.com/repos/scm-spain/generator-sui-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/scm-spain/generator-sui-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/scm-spain/generator-sui-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/scm-spain/generator-sui-react/contents/{+path}","compare_url":"https://api.github.com/repos/scm-spain/generator-sui-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scm-spain/generator-sui-react/merges","archive_url":"https://api.github.com/repos/scm-spain/generator-sui-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scm-spain/generator-sui-react/downloads","issues_url":"https://api.github.com/repos/scm-spain/generator-sui-react/issues{/number}","pulls_url":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls{/number}","milestones_url":"https://api.github.com/repos/scm-spain/generator-sui-react/milestones{/number}","notifications_url":"https://api.github.com/repos/scm-spain/generator-sui-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scm-spain/generator-sui-react/labels{/name}","releases_url":"https://api.github.com/repos/scm-spain/generator-sui-react/releases{/id}","created_at":"2015-05-29T13:47:25Z","updated_at":"2015-07-07T09:45:30Z","pushed_at":"2015-07-09T22:37:44Z","git_url":"git://github.com/scm-spain/generator-sui-react.git","ssh_url":"git@github.com:scm-spain/generator-sui-react.git","clone_url":"https://github.com/scm-spain/generator-sui-react.git","svn_url":"https://github.com/scm-spain/generator-sui-react","homepage":null,"size":381,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9"},"html":{"href":"https://github.com/scm-spain/generator-sui-react/pull/9"},"issue":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/9"},"comments":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/scm-spain/generator-sui-react/statuses/3c51475bf5332964e8381c399fa35d0260eeb60c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":3,"changed_files":3}}