{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1692","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1692/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1692/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1692/events","html_url":"https://github.com/Microsoft/TypeScript/pull/1692","id":54532184,"number":1692,"title":"Support for tsconfig.json files","user":{"login":"ahejlsberg","id":4226954,"avatar_url":"https://avatars.githubusercontent.com/u/4226954?v=3","gravatar_id":"","url":"https://api.github.com/users/ahejlsberg","html_url":"https://github.com/ahejlsberg","followers_url":"https://api.github.com/users/ahejlsberg/followers","following_url":"https://api.github.com/users/ahejlsberg/following{/other_user}","gists_url":"https://api.github.com/users/ahejlsberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ahejlsberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahejlsberg/subscriptions","organizations_url":"https://api.github.com/users/ahejlsberg/orgs","repos_url":"https://api.github.com/users/ahejlsberg/repos","events_url":"https://api.github.com/users/ahejlsberg/events{/privacy}","received_events_url":"https://api.github.com/users/ahejlsberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-01-16T02:13:38Z","updated_at":"2015-02-02T10:14:18Z","closed_at":"2015-01-21T01:08:26Z","pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/1692","html_url":"https://github.com/Microsoft/TypeScript/pull/1692","diff_url":"https://github.com/Microsoft/TypeScript/pull/1692.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/1692.patch"},"body":"This PR implements #1667 with some modifications.\r\n\r\nThe presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project. The tsconfig.json file specifies the root files and the compiler options required to compile the project. A project is compiled in one of the following ways:\r\n\r\n* By invoking tsc with no input files, in which case the compiler searches for the tsconfig.json file starting in the current directory and continuing up the parent directory chain.\r\n* By invoking tsc with no input files and a `-project` (or just `-p`) command line option that specifies the path of a directory containing a tsconfig.json file.\r\n\r\nWhen input files are specified on the command line, tsconfig.json files are ignored.\r\n\r\nAn example tsconfig.json file:\r\n```json\r\n{\r\n    \"compilerOptions\": {\r\n        \"module\": \"commonjs\",\r\n        \"noImplicitAny\": true,\r\n        \"removeComments\": true,\r\n        \"preserveConstEnums\": true,\r\n        \"out\": \"../../built/local/tsc.js\",\r\n        \"sourceMap\": true,\r\n    },\r\n    \"files\": [\r\n        \"core.ts\",\r\n        \"sys.ts\",\r\n        \"types.ts\",\r\n        \"scanner.ts\",\r\n        \"parser.ts\",\r\n        \"utilities.ts\",\r\n        \"binder.ts\",\r\n        \"checker.ts\",\r\n        \"emitter.ts\",\r\n        \"program.ts\",\r\n        \"commandLineParser.ts\",\r\n        \"tsc.ts\",\r\n        \"diagnosticInformationMap.generated.ts\"\r\n    ]\r\n}\r\n```\r\nThe `\"compilerOptions\"` property can be omitted, in which case the compiler's defaults are used.\r\n\r\nIf no `\"files\"` property is present in a tsconfig.json, the compiler defaults to including all files the containing directory and subdirectories. When a `\"files\"` property is specified, only those files are included.\r\n\r\nA tsconfig.json file is permitted to be completely empty, which compiles all files in the containing directory and subdirectories with the default compiler options.\r\n\r\nCompiler options specified on the command line override those specified in the tsconfig.json file."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/72432807","html_url":"https://github.com/Microsoft/TypeScript/pull/1692#issuecomment-72432807","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1692","id":72432807,"user":{"login":"lcorneliussen","id":124608,"avatar_url":"https://avatars.githubusercontent.com/u/124608?v=3","gravatar_id":"","url":"https://api.github.com/users/lcorneliussen","html_url":"https://github.com/lcorneliussen","followers_url":"https://api.github.com/users/lcorneliussen/followers","following_url":"https://api.github.com/users/lcorneliussen/following{/other_user}","gists_url":"https://api.github.com/users/lcorneliussen/gists{/gist_id}","starred_url":"https://api.github.com/users/lcorneliussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcorneliussen/subscriptions","organizations_url":"https://api.github.com/users/lcorneliussen/orgs","repos_url":"https://api.github.com/users/lcorneliussen/repos","events_url":"https://api.github.com/users/lcorneliussen/events{/privacy}","received_events_url":"https://api.github.com/users/lcorneliussen/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T10:14:18Z","updated_at":"2015-02-02T10:14:18Z","body":"Any information yet in which release this will be available? (incl. VS-support?)"}}