{"action":"created","issue":{"url":"https://api.github.com/repos/typings/typings/issues/255","repository_url":"https://api.github.com/repos/typings/typings","labels_url":"https://api.github.com/repos/typings/typings/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/typings/typings/issues/255/comments","events_url":"https://api.github.com/repos/typings/typings/issues/255/events","html_url":"https://github.com/typings/typings/issues/255","id":137098950,"number":255,"title":"Cross-platform usage of typings is broken","user":{"login":"flaub","id":111859,"avatar_url":"https://avatars.githubusercontent.com/u/111859?v=3","gravatar_id":"","url":"https://api.github.com/users/flaub","html_url":"https://github.com/flaub","followers_url":"https://api.github.com/users/flaub/followers","following_url":"https://api.github.com/users/flaub/following{/other_user}","gists_url":"https://api.github.com/users/flaub/gists{/gist_id}","starred_url":"https://api.github.com/users/flaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaub/subscriptions","organizations_url":"https://api.github.com/users/flaub/orgs","repos_url":"https://api.github.com/users/flaub/repos","events_url":"https://api.github.com/users/flaub/events{/privacy}","received_events_url":"https://api.github.com/users/flaub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-28T21:40:42Z","updated_at":"2016-02-29T00:05:32Z","closed_at":null,"body":"Summary:\r\n* Use a uniform directory separator (instead of system-defined directory separator).\r\n* Use already defined newline characters for existing files (instead of system-defined newline character).\r\n\r\nScenario: a team of developers, some using Windows some using *nix.\r\n\r\nDeveloper A (on Windows) runs `typings install` to initially populate the typings directory. `typings/browser.d.ts` gets initialized with reference paths like:\r\n```\r\n/// <reference path=\"browser\\ambient\\immutable\\immutable.d.ts\" />\r\n/// <reference path=\"browser\\ambient\\lodash\\lodash.d.ts\" />\r\n```\r\n\r\nDeveloper B (on OSX) runs `typings install` to add more typings or just update existing ones. They get the following in `typings/browser.d.ts`:\r\n```\r\n/// <reference path=\"browser/ambient/immutable/immutable.d.ts\" />\r\n/// <reference path=\"browser/ambient/lodash/lodash.d.ts\" />\r\n/// <reference path=\"browser\\ambient\\immutable\\immutable.d.ts\" />\r\n/// <reference path=\"browser\\ambient\\lodash\\lodash.d.ts\" />\r\n```\r\n\r\nThere are now duplicate entries in `typings/browser.d.ts`.\r\n\r\nAdditionally, a big `git diff` appears because the following lines have newline character and/or directory separator changes:\r\n```\r\n-// Compiled using typings@0.6.8\r\n-// Source: node_modules\\immutable\\dist\\immutable.d.ts\r\n+// Compiled using typings@0.6.8\r\n+// Source: node_modules/immutable/dist/immutable.d.ts\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/typings/typings/issues/comments/189974238","html_url":"https://github.com/typings/typings/issues/255#issuecomment-189974238","issue_url":"https://api.github.com/repos/typings/typings/issues/255","id":189974238,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T00:05:32Z","updated_at":"2016-02-29T00:05:32Z","body":"Why are you checking in typings?"}}