{"action":"opened","issue":{"url":"https://api.github.com/repos/donejs/generator-donejs/issues/149","repository_url":"https://api.github.com/repos/donejs/generator-donejs","labels_url":"https://api.github.com/repos/donejs/generator-donejs/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/donejs/generator-donejs/issues/149/comments","events_url":"https://api.github.com/repos/donejs/generator-donejs/issues/149/events","html_url":"https://github.com/donejs/generator-donejs/issues/149","id":183577274,"number":149,"title":"Project name should validate against npm guidelines (eg. no caps, url-friendly)","user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T02:48:52Z","updated_at":"2016-10-18T02:48:52Z","closed_at":null,"body":"> Originally: https://github.com/donejs/donejs/issues/415\r\n\r\nI just created a project and gave it an invalid name:\r\n\r\n```\r\ndonejs init\r\n$ Project name: My Project\r\n...\r\n```\r\n\r\nThis resulted in invalid paths used in `index.stache`:\r\n\r\n```html\r\n<can-import from=\"My Project/styles.less!\">\r\n<can-import from=\"My Project/app\" export-as=\"viewModel\" />\r\n```\r\n\r\nNpm has pretty specific guidelines on naming a project - `donejs init` should provide some sort of validation or at least instruction on this: https://docs.npmjs.com/files/package.json"}}
{"actor":{"display_login":"justinbmeyer"}}