{"_id":"@autoketing-team/typescript-configs","_rev":"4-4047028bbbe3d2c39832411659ce8433","name":"@autoketing-team/typescript-configs","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@autoketing-team/typescript-configs","version":"1.0.0","publishConfig":{"access":"public","@autoketing-team:registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/autoketing-team/demo-npm.git","directory":"packages/browserslist-config"},"description":"Autoketing","author":{"name":"Autoketing Inc."},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"license":"ISC","bugs":{"url":"https://github.com/autoketing-team/demo-npm/issues"},"homepage":"https://github.com/autoketing-team/demo-npm#readme","_id":"@autoketing-team/typescript-configs@1.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-YigcmSQzDtprtpGoPChIlV6Pca8C9QLDSmxFdQ1RZrC+DM9Lk74h/1lISpNTmtDhKZWurW2F3B0/FIN6BRVG9g==","shasum":"c534e997668cbe4594aba857b95672efda42e123","tarball":"https://registry.npmjs.org/@autoketing-team/typescript-configs/-/typescript-configs-1.0.0.tgz","fileCount":2,"unpackedSize":600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE3mvCRA9TVsSAnZWagAAbhEP/iLzal9Gpcc8KMso2sCQ\nI66MbYVFrvufCafOCqjyQB2rcszjNtuNHkIa+kL4BbZ1cCn15FR6bucyYSBx\nAftL31p5w7wYrwRmUymV9IN+24WTRVNgCyF2UYOstpJFgFjxFYMkFWeBBJhS\nBQA1nCg7fDzTLg/Vdqe1M4DpiYUpZLY9iwInnQYCxcBJ1kaCXg+nn2izEBQC\nTeK0UWAJ1OYTQX/oLafVd2Izd3Izttut0C9Y287aZLNomXvgJL+D0B1a9SlV\nwbHCWn8nK/nNjobjk/J5Ga2mNF9alckv3K1Lvc48HS/6holXgQbNxaUFnYfM\nsO0OsmTnUXZ4nOtGxwkI2p5wueRA/6J9LIs4QBMiCORtCYkdQ2ChwTl/0nBH\nPrLrbQhWn8Vkxkhpebg8fFJ1SvTdEcJkFwXyckZc9WfHgCpk0fChhWs+8014\n+HIxxqjAUq7/3pbiLwseqmnrK1yhD6US+fn3bftPipoHOZQ8CDweTm+ao1c9\nSjb9UdFSs+zM1Tl6ph63FGiurIHW6fBCkK6RDd0v+xAoz4KMT/48cP8FqTLd\nTyT6MZE+Mq+j0M+m7ut8xrbi+A+J7pOrfIgj24agm1etbJiIeqd+cMxdk3bt\n1woYJx2KHvdau3zYYoXYfh8CutEzTM+BCXSmPWfxJe5SZtL/+yqMZoYzqeYr\naCEt\r\n=+X55\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdCwVt9yrKAfUCGOdHw73ND15zsal96CiVlXjeYcM67AiBHkAYMxxTG6s/XadRl6jXb8L+uuDuSybuSvTJ5xkQoSQ=="}]},"_npmUser":{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"},"directories":{},"maintainers":[{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-configs_1.0.0_1611889070994_0.9884983791503601"},"_hasShrinkwrap":false},"1.0.1":{"name":"@autoketing-team/typescript-configs","version":"1.0.1","license":"MIT","description":"A set of typescript configuration files that can be extended.","author":{"name":"Autoketing Inc."},"publishConfig":{"access":"public","@autoketing-team:registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/autoketing-team/web-configs.git","directory":"packages/typescript-configs"},"bugs":{"url":"https://github.com/autoketing-team/web-configs/issues"},"homepage":"https://github.com/autoketing-team/web-configs/blob/main/packages/typescript-configs/README.md","_id":"@autoketing-team/typescript-configs@1.0.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-sElNFkk8g2IimD3eI7qsQ1XznpI/2H4mF2MWZu2aR6NGl3ei+xuAyAjKRDifvuuA7Tn9qIoHbAHKrNk0LR4V/w==","shasum":"9f549e37ac7e47ab20f8dcd30ac658a199fc9a80","tarball":"https://registry.npmjs.org/@autoketing-team/typescript-configs/-/typescript-configs-1.0.1.tgz","fileCount":9,"unpackedSize":5738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE3spCRA9TVsSAnZWagAAZJwP/jGNfMPGA4Z7v41UVmFw\n4b2eYCvcbAFMFwfK26PehM+C13fhJaR3W3gMjJ66mvYja7qKjxkmCEBGMwoY\nBX/3JhJXJO8CPd/46ygkTVH/B9naHTPjHvG0sAt07xSepyhEhdKwTg3lFCng\n+vioh30lzYcefvWkhAXW98wltwbtpxWzmXaekdWNhM8iQgzTPdutJ93yvxVO\nuQ6TPaAAys8vJqKNouQ8HLr7383qtldsAHbiEJknViPB3sgTd//TSZOutV+3\nyT6LaQ/jLraly1VlP/q10hbw9pskjaOb3qf53aLOlIG+uYtwoqgnyBSkb1Hz\nUgIV+Ymx2sTDo13QwbO8eWXdV9XJGy3JT9DI/6DSMTz25BafzY/31xD5LB5s\nI+4ajEStjVZg5R6KYJhNNkD7Ql6dlOKlnk40qNOZvdxES69CidxY5ICAdiiX\ndHeYRk78ekalTlIAGJxVAkZyOJK0geVNHlb3BduSXsWK/r7QYlArWraSPh+R\nekDrSJoBu5FxjEWHw22C2mP6TnGbTEGxa6sF+OSOGcumrkKRmDUL4f+4fecu\nJQIxPJ83yWnrzLxUJeFGoKRW0LCSLU+uARSAawep8rXZwdY+DdfIgcBoGlvm\nK2ln01OeVzpIH8nYlfKz9kqVgu3OW+tlsfzCmKQfvkaTsRQVRMHo5ZNIQC0a\n81U4\r\n=cedf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK5ae8zb2JQdtQnVHDdX3+8ZmDaYArzf/m86aT0xAQYAIgVKiAJ/bgzGiPul8kmEVKKfSNmbKCVwMFn4azl0bMOxI="}]},"_npmUser":{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"},"directories":{},"maintainers":[{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-configs_1.0.1_1611889448636_0.8128806202394039"},"_hasShrinkwrap":false},"1.0.2":{"name":"@autoketing-team/typescript-configs","version":"1.0.2","publishConfig":{"access":"public","@autoketing-team:registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/autoketing-team/demo-npm.git","directory":"packages/browserslist-config"},"description":"Autoketing","author":{"name":"Autoketing Inc."},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"license":"ISC","bugs":{"url":"https://github.com/autoketing-team/demo-npm/issues"},"homepage":"https://github.com/autoketing-team/demo-npm#readme","_id":"@autoketing-team/typescript-configs@1.0.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-+IChNhNyBkdA9zxA5TTcZrYgv40mSOMtDiltWVu75gd4S1/FG1Qm2DBcP2rgJ4vJPhevguUvv7oFbsbOPWB0mw==","shasum":"7928234df689d31e681eccd8a597b08686ba4683","tarball":"https://registry.npmjs.org/@autoketing-team/typescript-configs/-/typescript-configs-1.0.2.tgz","fileCount":2,"unpackedSize":600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE7b6CRA9TVsSAnZWagAAi2oP/1ykqkOaTf/sl5pO5fGn\ngzu7PcH6SAzW0p2k8Ako1rCtE2atnbu+ntTM5aPOs7Xs7f834vqa2M1/E330\ng8iOXyDT6iG1qaYN7sKR2m5qp81iyv2FuCfJfaRQ7vfWaK6F8ZTUmfJmY5cJ\ndVdG1EA/W7ct4AR6BgkACnFlsZAvGA+gLGBjNKqOv4uGGA+dETwma/8Uzr59\ncGfu8IOL4zEkXMbdV62BI0XP7/cGySYYZF6cVlxeMa23HYmTF+kgUQzCkhAX\n3ECysoOQ8xYv5JWjkAhD42RF/g+MVl4UUoESKoK1VPXgibSR+yeb7pn5yY0U\nqOydq8dccoMnk2tBAG1EW3lgWvZKAF5rR50SB73EAv+vyTEchGWlOXID6utf\nAhVhKvHs0MIgRqheC008DlGUiK3xQzTVzczf5q5ZJbbB+WmPofKAcUBpWl64\nQSaC4OP0TOLRkF8JRIUV3uVgaC58avKGRyWIipz/eG+FXTR2t7C//lN/fr/j\nKMrGYW0TpRHhfvxe/ruRQGe82uC4JrcEz87E++H1pTlgrmByJBa9T9m6pYSe\naUnfcsLgxE7mkzp+Bt+TabtlRAJpt7SDWrkqEHuCuwqCoM3YdAZRvGZlKknQ\n6LspUpoFfTdQqTfCElJyM7QfJdVBSZYEjy44Fg94WcqW8uGKw/o4TsosZSwd\nAQ3j\r\n=Ugxf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpUlfjEze43XF8dq3GDW2sNWlw0BVdn/q3InelOzvVngIhAP5PR00XX6OEr+9iJUyVtb7A7ra5CkunUsQC/bULuBtR"}]},"_npmUser":{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"},"directories":{},"maintainers":[{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-configs_1.0.2_1611904761662_0.2218345815395606"},"_hasShrinkwrap":false},"1.0.3":{"name":"@autoketing-team/typescript-configs","version":"1.0.3","license":"MIT","description":"A set of typescript configuration files that can be extended.","author":{"name":"Autoketing Inc."},"publishConfig":{"access":"public","@autoketing-team:registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/autoketing-team/web-configs.git","directory":"packages/typescript-configs"},"bugs":{"url":"https://github.com/autoketing-team/web-configs/issues"},"homepage":"https://github.com/autoketing-team/web-configs/blob/main/packages/typescript-configs/README.md","_id":"@autoketing-team/typescript-configs@1.0.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-b1WwGZbzCuUsq4GN4efvcNZKv72SWEYutFqZWecl5hsHcZm97UXn5Rad9nehEi87JJsdOWl7wpVEQBZgL/49vA==","shasum":"08437d671339da53982d9ab3b77ab0746077630e","tarball":"https://registry.npmjs.org/@autoketing-team/typescript-configs/-/typescript-configs-1.0.3.tgz","fileCount":9,"unpackedSize":5738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE733CRA9TVsSAnZWagAAfmAP/ivnkX/4Kq4e3oPQX5Lx\nY+e98I9Z7jMPXY+VV9UqQ9w2wLkMAiAq9Hs3E00KL0g3lp8x0gVyLZMMe0mE\nTP8fyjTf3XB4ucM/wnM0LRi0oG6E4Pp9LiseZlpyrbZJ8G8jRDwBeJ2pv1eK\nJOGm5B6ZW51LPrS0iHstmcbWL18ZlLf0OL3lAiWFJB7B1hvluvkwmmOaK5k2\nPdLgFbt9DAiCkop6BZDCk3JlqaYrnGzfCdYhKJ7UJb0EEAN06JURkuBW8Frm\nNvb5WpyiPnQY9QKCgZlnUmoF2ofw+TzwdXUAe14h1tiq6NNVYMVuZjUs2m4B\ne5TAoFUgRg4kypmgfD/vuwm/JTWKdIbW2kc8aIwqq+AWjr5rjuCsOoAsR9T7\nKtK0tHENbXNmfx0pmfzzmAwbvGKOVMvvUe0mXJVihiK5b5fTFJAqyZ2kNAyk\nlMCeQFW5MF2TqaRIIahDoGS2iV35c0fHv0MOBXuAANZhF1YrOJZlu8HHk3si\nu3h9CAxYtmbh4zA+c7hbLMxmVSNoMuz4lvxv5t0gDhOFN77tCIp4gbxNNqTR\naFifbEU9+xtGyOWInUY2pbEv4+qKlPt+GBJgKmuLGrjvs91CocQiSSQfPDeT\nzA0/0CUen3cgFbdqMK9gJIpIIJJkSayzSM24SD40X+Vzo1AMel8Rr3aNx/bq\nV6aI\r\n=V19R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDl8uuDfgn1VCY7cQyo8i5txFNaWWbxotm9i2JRgbBG0AiBEcstX/oh9CG/QzvfBDyrd9n+kV9Wh1Qv5A0b3q9TBIA=="}]},"_npmUser":{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"},"directories":{},"maintainers":[{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-configs_1.0.3_1611906551230_0.34328852622195627"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-29T02:57:50.762Z","1.0.0":"2021-01-29T02:57:51.112Z","modified":"2022-04-04T16:37:28.406Z","1.0.1":"2021-01-29T03:04:08.799Z","1.0.2":"2021-01-29T07:19:21.803Z","1.0.3":"2021-01-29T07:49:11.411Z"},"maintainers":[{"name":"trungdunghbvn","email":"trungdunghbvn@gmail.com"}],"description":"A set of typescript configuration files that can be extended.","homepage":"https://github.com/autoketing-team/web-configs/blob/main/packages/typescript-configs/README.md","repository":{"type":"git","url":"git+https://github.com/autoketing-team/web-configs.git","directory":"packages/typescript-configs"},"author":{"name":"Autoketing Inc."},"bugs":{"url":"https://github.com/autoketing-team/web-configs/issues"},"license":"MIT","readme":"# `@shopify/typescript-configs`\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](../../LICENSE.md) [![npm version](https://badge.fury.io/js/%40shopify%2Ftypescript-configs.svg)](https://badge.fury.io/js/%40shopify%2Ftypescript-configs.svg)\n\nIn TypeScript, the configuration file can extend from a base file. This package provided a few common base configuration files to simplify TypeScript project setup.\n\nTo read more about how this extensibility works. See [typescript handbook](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends).\n\nBelow are two documentation we have also found useful to have on hand while setting up a configuration file.\n\n- [`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)\n- [Compiler Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html)\n\n## Installation\n\n```bash\n$ yarn add --dev @shopify/typescript-configs\n```\n\n## Usage\n\n### React Application Project\n\nTo start, create a `tsconfig.json` in the root of your project.\n\nA typical setup where the application sit in `[project root]/app` folder is as follow:\n\n```json\n{\n  \"extends\": \"@shopify/typescript-configs/application.json\",\n  \"compilerOptions\": {\n    \"baseUrl\": \".\",\n    \"rootDir\": \".\",\n    \"paths\": {\"*\": [\"*\", \"app/*\"]}\n  },\n  \"include\": [\"./app/**/*\", \"./client/**/*\", \"./server/**/*\", \"./tests/**/*\"]\n}\n```\n\n#### React Library Project\n\nSimilarly for a react library project. Create a `tsconfig.json` in the root of your project with a setup below assuming the library code sit in `[project root]/src` folder.\n\n```json\n{\n  \"extends\": \"@shopify/typescript-configs/library.json\",\n  \"compilerOptions\": {\n    \"baseUrl\": \"./src\",\n    \"rootDir\": \".\"\n  },\n  \"include\": [\"./src/**/*\"]\n}\n```\n\n#### Project that run in the browser\n\nA configuration file is provided that included styles setup and a more conservative build target.\n\n```json\n{\n  \"extends\": \"@shopify/typescript-configs/dom.json\",\n  \"compilerOptions\": {\n    \"baseUrl\": \".\",\n    \"rootDir\": \".\"\n  }\n}\n```\n\n#### All Other Project\n\nA base configuration file is also provided if the above does not fit your need.\n\n```json\n{\n  \"extends\": \"@shopify/typescript-configs/base.json\",\n  \"compilerOptions\": {\n    \"baseUrl\": \".\",\n    \"rootDir\": \".\"\n  }\n}\n```\n\n#### Common Got Ya\n\n##### Type Checking does not honour `skipLibCheck: true` setting\n\nThere are times when the type failure occur inside of a library your project is consuming, and having `skipLibCheck: true` does not resolved it. In this scenario, add an `exclude` option to your `tsconfig.json`.\n\neg.\n\n```json\n{\n  \"extends\": \"@shopify/typescript-configs/base.json\",\n  \"compilerOptions\": {\n    \"baseUrl\": \".\",\n    \"rootDir\": \".\",\n    \"exclude\": [\"./node_modules/**/*\"]\n  }\n}\n```\n","readmeFilename":"README.md"}