{"_id":"@12deg/tsconfig","_rev":"8-5168e706613d3e7fbd6db889f7d1260f","name":"@12deg/tsconfig","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.3":{"name":"@12deg/tsconfig","version":"0.1.3","license":"MIT","_id":"@12deg/tsconfig@0.1.3","maintainers":[{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"190832232892ad8cb15e93c27c242b6a5f253967","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.3.tgz","fileCount":3,"integrity":"sha512-MLPS+hg8gTVKMJLb/K20hxWTZQOzdgTgL10zMrTIHEX9RSXb08UHTm5uzjnecfslW1D6V+IQPVetUuVzep0YWQ==","signatures":[{"sig":"MEUCIA3rZ2n0fY4T7IMms6zQl8lpN4LcAy2CS2PL7i8hBUaoAiEAu69fHqOACDAbj19VcGNdEKCTxqWOy5qBvXqiI+FSXgg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1898},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.3.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/5f074cc0256427c852b90321e065a312/12deg-tsconfig-0.1.3.tgz","_integrity":"sha512-MLPS+hg8gTVKMJLb/K20hxWTZQOzdgTgL10zMrTIHEX9RSXb08UHTm5uzjnecfslW1D6V+IQPVetUuVzep0YWQ==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.3_1728472928844_0.9639045875494152","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@12deg/tsconfig","version":"0.1.4","license":"MIT","_id":"@12deg/tsconfig@0.1.4","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"413356f4b388b2ece6f25fabc1924fb6861d10a5","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.4.tgz","fileCount":3,"integrity":"sha512-MrBqt4tDUJG6hOJmzgCdCI+LCYybkcDTSZvQsY8XAe8S8LKgACo/rKaE2qcWRHVh46ZYUBUUCPww2h5OKfVA/Q==","signatures":[{"sig":"MEUCIQDW1YZVtM4ns4S/i50Es4S5I4DjwR964fcpavfCWHMR3wIgfOmSfIJjz5GsXpWO/6HRFs0n2W50mqzNJlYsayMZt50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1898},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.4.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/199e92a03e029d31644ca8ef8f3f09e3/12deg-tsconfig-0.1.4.tgz","_integrity":"sha512-MrBqt4tDUJG6hOJmzgCdCI+LCYybkcDTSZvQsY8XAe8S8LKgACo/rKaE2qcWRHVh46ZYUBUUCPww2h5OKfVA/Q==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.4_1729588792314_0.5896414433185613","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@12deg/tsconfig","version":"0.1.5","license":"MIT","_id":"@12deg/tsconfig@0.1.5","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"6ab7d668f5d112cf226b828a16030af4832f5ba5","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.5.tgz","fileCount":3,"integrity":"sha512-Wvj8DbLuQM2LhXQT9dZzG/w4UdfvEAFvk3vQZsIO5eMaB9LyGLlwWIKdKls/jX61awzzKFP+APjkQzZdlYB2gQ==","signatures":[{"sig":"MEYCIQCmg4ybt3/qtvmthEKWdTEUDfvb857qOGdnM/h8NQQUFAIhAOjA8A1ZOohb5ZOI6VTfOWxfq5/+GTDbe0NzPGsBIJTZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1898},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.5.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/72d7cf62ef45900ea4ab501ec1ebd806/12deg-tsconfig-0.1.5.tgz","_integrity":"sha512-Wvj8DbLuQM2LhXQT9dZzG/w4UdfvEAFvk3vQZsIO5eMaB9LyGLlwWIKdKls/jX61awzzKFP+APjkQzZdlYB2gQ==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.5_1729844649271_0.3974305266896958","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@12deg/tsconfig","version":"0.1.6","license":"MIT","_id":"@12deg/tsconfig@0.1.6","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"1fb8491f422c7cc75fd48ee2a5a556092f1253d7","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.6.tgz","fileCount":8,"integrity":"sha512-T86QRj4YwoNsxOfLU2RzSH3OFmqJkJpCHV0bCRIJ6jCh/9Y4y6mp3FckjPtRwT4ohIGo2vUaNjVpoMPQj9u5IQ==","signatures":[{"sig":"MEUCIHkIOFvptKkoUKJm/RXLsqRC6NX+8/QsPXjGoWF7m25gAiEA/jUk1gJrfscTutB9E07WcJ96ue2dTKvxhnoLmevBohI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5292},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.6.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/739f1d9464797a729238e241c1233f14/12deg-tsconfig-0.1.6.tgz","_integrity":"sha512-T86QRj4YwoNsxOfLU2RzSH3OFmqJkJpCHV0bCRIJ6jCh/9Y4y6mp3FckjPtRwT4ohIGo2vUaNjVpoMPQj9u5IQ==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@vue/tsconfig":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.6_1730118928049_0.12722933268094727","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@12deg/tsconfig","version":"0.1.7","license":"MIT","_id":"@12deg/tsconfig@0.1.7","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"cdb0d586d482ef82daf7eb973d4ee33f8275d24e","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.7.tgz","fileCount":9,"integrity":"sha512-Agb1tVlceKeoHszuadpiNWdwi+eKoPZppYTkzTkpJszxhAjl0+7X9OxJlfMYXBoc8zMpe7FHnb9NNvncWI+xpg==","signatures":[{"sig":"MEUCIAeAQOvHwojemlVRjp112IOeN03ZCMKsbafvLERZqQ5+AiEAiQUmgCNko6dlXgQF0j9+mAgaSKnmssTHk8jeSkXCLEw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6483},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.7.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/4db5ca108c90f2fad91408e9a29f67e4/12deg-tsconfig-0.1.7.tgz","_integrity":"sha512-Agb1tVlceKeoHszuadpiNWdwi+eKoPZppYTkzTkpJszxhAjl0+7X9OxJlfMYXBoc8zMpe7FHnb9NNvncWI+xpg==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@vue/tsconfig":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.7_1730809442824_0.11337129349012054","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@12deg/tsconfig","version":"0.1.8","license":"MIT","_id":"@12deg/tsconfig@0.1.8","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"64d79cb1ce146efa7cf419b699576f6fc23d2edb","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.8.tgz","fileCount":9,"integrity":"sha512-MREpSVo0rn0qSj1u0g2Os70FnDUmPWqfhV5/4n9ODq+4wapjf0lqU1hes1WPSYKLODqoY+9b1MLk4F1YUn+epQ==","signatures":[{"sig":"MEUCIBd10fJ3PQO8iySjRfcaK4hDY5O6b2tPqPYHMUXnx2cqAiEA8F23+qrduMhC0Iptz1RDof0Pgl5cZJl3tqTfmOPLzro=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6483},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.8.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/5f9086cb848b6bc7cbb3e3fd4a1a705d/12deg-tsconfig-0.1.8.tgz","_integrity":"sha512-MREpSVo0rn0qSj1u0g2Os70FnDUmPWqfhV5/4n9ODq+4wapjf0lqU1hes1WPSYKLODqoY+9b1MLk4F1YUn+epQ==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@vue/tsconfig":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.8_1731060204696_0.9111067935029515","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"@12deg/tsconfig","version":"0.1.10","license":"MIT","_id":"@12deg/tsconfig@0.1.10","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/12deg/tools/issues"},"dist":{"shasum":"a731ebe336b22a9233c08102270dc4722e185d85","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.10.tgz","fileCount":9,"integrity":"sha512-imcI6IZa2zdW6uO/6RSu5C7q5KhMPtM8TzisDw/7oFqP3WWDe7cqb0AUOVR4mlw0TiKAXFZehoSJoYASDqvZdA==","signatures":[{"sig":"MEQCIGDPRrnw5IeOjAjIrPw/z8Pjyjfc5jWIUB58NMyncqiAAiAtYmKec48EUO+2L/cYrhy75JGoryeAMeFTq6Xc/OyTAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6459},"main":"tsconfig.json","_from":"file:12deg-tsconfig-0.1.10.tgz","_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"_resolved":"/tmp/d86a09683ac4e2090be106e3549ebaff/12deg-tsconfig-0.1.10.tgz","_integrity":"sha512-imcI6IZa2zdW6uO/6RSu5C7q5KhMPtM8TzisDw/7oFqP3WWDe7cqb0AUOVR4mlw0TiKAXFZehoSJoYASDqvZdA==","repository":{"url":"git+https://github.com/12deg/tools.git","type":"git","directory":"packages/tsconfig"},"_npmVersion":"10.8.2","description":"Typescript configuration","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@vue/tsconfig":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_0.1.10_1731644568934_0.18239323341453573","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"@12deg/tsconfig","version":"0.1.11","description":"Typescript configuration","homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","repository":{"type":"git","url":"git+https://github.com/12deg/tools.git","directory":"packages/tsconfig"},"license":"MIT","main":"tsconfig.json","dependencies":{"@vue/tsconfig":"0.1.3"},"publishConfig":{"access":"public"},"_id":"@12deg/tsconfig@0.1.11","bugs":{"url":"https://github.com/12deg/tools/issues"},"_integrity":"sha512-r/q6ZRX4sl7IMUNYlvPTjPZQAyBhcjepduoqP69owZG+SZbu75+Cfw6KfYphpm1LWzf6Y7eAv7ee8BLAPoojPg==","_resolved":"/tmp/c46bcb59f1dfd7a9aaa3a9355c4a41a1/12deg-tsconfig-0.1.11.tgz","_from":"file:12deg-tsconfig-0.1.11.tgz","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-r/q6ZRX4sl7IMUNYlvPTjPZQAyBhcjepduoqP69owZG+SZbu75+Cfw6KfYphpm1LWzf6Y7eAv7ee8BLAPoojPg==","shasum":"4928e30b43cfaf4b58f0e87c044800cb97bf3f76","tarball":"https://registry.npmjs.org/@12deg/tsconfig/-/tsconfig-0.1.11.tgz","fileCount":9,"unpackedSize":6459,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFaQbEGGVKgrJ+Faav5dQ6wjatil5A/HqsAXddoD+ZAdAiA8a3GirYZCBLlRSTHtjMR8U17A5+KsVtTv0azCy8gK2Q=="}]},"_npmUser":{"name":"rameshlohala","email":"ramesh@dzangolab.com"},"directories":{},"maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsconfig_0.1.11_1732191623482_0.804971019622237"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-09T11:22:08.699Z","modified":"2024-11-21T12:20:23.868Z","0.1.3":"2024-10-09T11:22:09.006Z","0.1.4":"2024-10-22T09:19:52.459Z","0.1.5":"2024-10-25T08:24:09.428Z","0.1.6":"2024-10-28T12:35:28.271Z","0.1.7":"2024-11-05T12:24:03.025Z","0.1.8":"2024-11-08T10:03:24.887Z","0.1.10":"2024-11-15T04:22:49.103Z","0.1.11":"2024-11-21T12:20:23.646Z"},"bugs":{"url":"https://github.com/12deg/tools/issues"},"license":"MIT","homepage":"https://github.com/12deg/tools/tree/main/packages/tsconfig#readme","repository":{"type":"git","url":"git+https://github.com/12deg/tools.git","directory":"packages/tsconfig"},"description":"Typescript configuration","maintainers":[{"name":"semanta","email":"semanta@dzangolab.com"},{"name":"rameshlohala","email":"ramesh@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"readme":"# @12deg/tsconfig\nA shared TypeScript configuration for consistent and reliable type-checking across projects.\n\n## Install\nInstall the required dependencies:\n\n```sh\n$ npm i -D @12deg/tsconfig\n```\n\n## Usage\nIn the root directory of your project, create or update a `tsconfig.json` file to extend the base configuration that fits your project type:\n\n* For fastify libraries:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/fastify.json\",\n    \"exclude\": [\n      \"src/**/__test__/**/*\",\n    ],\n    \"compilerOptions\": {\n      \"baseUrl\": \"./\",\n      \"outDir\": \"./dist\",\n    },\n    \"include\": [\n      \"src/**/*.ts\"\n    ],\n  }\n  ```\n\n* For fastify apis:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/fastify-api.json\",\n  }\n  ```\n  \n* For react apps:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/react-app.json\",\n    \"include\": [\"src\"],\n  }\n  ```\n\n* For react libraries:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/react.json\",\n    \"compilerOptions\": {\n      \"baseUrl\": \".\",\n      \"outDir\": \"./dist\",\n      \"paths\": {\n        \"@/*\": [\"./src/*\"]\n      },\n    },\n    \"include\": [\"vite.config.*\", \"src/**/*\", \"src/**/*.tsx\"],\n  }\n  ```\n\n* For vue apps:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/vue-app.json\",\n    \n  }\n  ```\n  \n* For vue libraries:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig/vue.json\",\n    \"exclude\": [\n      \"src/**/__test__/**/*\",\n    ],\n    \"compilerOptions\": {\n      \"baseUrl\": \"./\",\n      \"outDir\": \"./dist/src\"\n    },\n    \"include\": [\n      \"src/**/*\",\n      \"src/**/*/*.vue\"\n    ],\n  }\n  ```\n\n  * For general typescript projects:\n  ```json\n  {\n    \"extends\": \"@12deg/tsconfig\",\n    // add custom options here if needed\n  }\n  ```\n\n## Adding typescript checking scripts\nIn your `package.json`, include a script for running typescript checks without emitting compiled files:\n\n```json\n{\n  \"scripts\": {\n    \"typecheck\": \"tsc --noEmit -p tsconfig.json --composite false\"\n  }\n}\n```\n\n## Running typescript checks\nUse the following command to type-check your code:\n\n```bash\nnpm run typecheck\n```\n","readmeFilename":"README.md"}