{"_id":"tsc-files","_rev":"9-0b6cb3273ad441b62fd557774463b9d7","name":"tsc-files","dist-tags":{"alpha":"1.0.0-alpha.2","latest":"1.1.4"},"versions":{"1.0.0-alpha.1":{"name":"tsc-files","version":"1.0.0-alpha.1","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all"},"dependencies":{"yargs-parser":"^18.1.1"},"peerDependencies":{"typescript":"3.x"},"devDependencies":{"@commitlint/cli":"8.3.5","@commitlint/config-conventional":"8.3.4","husky":"4.2.3","typescript":"3.8.3"},"gitHead":"7fb32fa9f5092bc30cc6a6b5cc6e6dc2668ac675","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.0.0-alpha.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-FmcuTky/IW8lfpnqR3uhxUfRzrvu/CS7PgeohY1We3yOvKWloCFdXctGCJMoGI4wwMubKzWqfPqOttnFHsK2jA==","shasum":"d5245a42412d81bc5357d6fbb956b0cdbfc469b3","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.0.0-alpha.1.tgz","fileCount":5,"unpackedSize":4621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecn7ECRA9TVsSAnZWagAA33sQAIAXXEc1zKEjCN5MVDPQ\n+E/tUra/OxrWmpfEo4+V6MkdDNk9r7JPb0gAVuKLFA6Lk3fw+ZVtt7KYY47n\nr+B8tgxkmSOiBchZDYKomI5RZnm/x61bSsAjNFpX8SGs7ma42Z4ddk7l0zfz\ntBfxtcCBeuLCrmkdGr/g2duc3rTGSI72sUVKcTci24KKyvEZAEtf1zZTbygG\nPQ+K81vMaegvWyFq+8gDZUu/rWfSPoeFbPdaY2LKTiyLF/Ll+qmwSpCtMHYl\nJSl+gUp148H++jpsHaDlsq6fmuJEDVyZIWdyrF2Gtvf/oaBsc4P3TOFBYXyT\nAWsPi7ZimIupQma2qRu88dOD+K583MNYgtga2WRMX6OkiQnTtOG1zj2GwA2J\nlux02opafFbsTPIWoTUXMloZtIGs/l42RXHRxbKFAjbIvDTRn5WRF2TAO3Nw\nGizL0E+PLt0UQb9QUGyHilyaaqiQIM2OeyMXQ5OR11R2fALe1RIwh1B5Jxuz\nqqJgMf5k12Gs34aVoA9xx4WWS4SW+sKQLOn/yMnsOSdzhH0SwC1kJ0jGkJpM\nSz/ILqSNxbO+m45AEMWyQvGx+SRwk9k08gdLZJOdatPUPyCftSwF9k8Tt0CS\nEqVLId76MSQkb65ON8mU/8Z3ZsOI6aosKw5clH0f/fRm7OR7X83XyxVi9EKa\n65mH\r\n=BbuH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuNxCl9qtWTGU8pjotuWMIPEXDJ/ctW2EV0B6LSB0kdgIhAL4zqDkS/SWssqpbVJXOOEqYmbAQBYCABAZhbZIZ9892"}]},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.0.0-alpha.1_1584561860141_0.36482483925483544"},"_hasShrinkwrap":false},"1.0.0-alpha.2":{"name":"tsc-files","version":"1.0.0-alpha.2","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all"},"dependencies":{"yargs-parser":"^18.1.1"},"peerDependencies":{"typescript":"3.x"},"devDependencies":{"@commitlint/cli":"8.3.5","@commitlint/config-conventional":"8.3.4","husky":"4.2.3","typescript":"3.8.3"},"gitHead":"6c8ad03e9d33fe7b8e891b2a5e2821156ab3ad57","readme":"# tsc-files\n\nA tiny tool to run `tsc` on specific files without ignoring `tsconfig.json`.\n\n## Installation\n\n```sh\nnpm i -D tsc-files\n```\n\n```sh\nyarn add -D tsc-files\n```\n\n## Why\n\nI wanted to type-check **only the staged files** with [lint-staged](https://github.com/okonet/lint-staged).\n\nUnfortunately passing specific files like `tsc --notEmit file1.ts file2.ts` will cause TypeScript to simply ignore your `tsconfig.json`.\n\nThere's already an open issue in the TypeScript repo to support this use case — you may want to give a 👍 there: https://github.com/microsoft/TypeScript/issues/27379\n\n## Usage\n\nWith lint-staged:\n\n```json\n{\n  \"lint-staged\": {\n    \"**/*.ts\": \"tsc-files --noEmit\"\n  }\n}\n```\n\n## How it works\n\nFor the most part, it just forwards all arguments to `tsc` with one exception: the specified files will not be forwarded — instead, they will be put at the `files` property of a temporary config that will be generated next to your original `tsconfig.json`. Other than that, just read `tsc --help`.\n\n## License\n\nReleased under the [MIT License](./LICENSE.md).\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.0.0-alpha.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-UMB6x2ow3yii92pUeL0layP6JCe1sdytULfroyrQsM7aR7sQ51SAfNT3084224hZhDwAQTDSiJoMHMdahilR8Q==","shasum":"389197070cca1b3e01f8ac942a832d4dac805738","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.0.0-alpha.2.tgz","fileCount":5,"unpackedSize":4663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec/u4CRA9TVsSAnZWagAAN8YP/3J5GM79WpZtzbg4maoQ\ndN2F9hERlWSWDB+WKSFmkPZKTV7puCPr3D07fLeoNqbViuWTpKTdK1aGits2\nFf1WUvc7zAICtcA5PHK0TTyMaPiXwT3QKxRb4560ZmFQTmc4wVXOeZd7wMPA\nFVRVbdkaRn1lE6dp69hCmcuTzEUvSQaFLbf4Lxmj1x0ZvDf2HLkvcNTBcfQW\nJ7SglnQ7s5YWzKvdNAMO8iFeZ6nBsdFhVPKh1OQ5HdiZv8muIZFNujBAOXex\nnWU+4pZCN0U9bHu7T2zVprQAC+U27/75OEt55jhVTp/s99a1wl3oXrgvjU00\ntEki12ig98fXhaYU/AwRR79095NU7JMzzYC6R4POcxLMLYSy5G1s+SN654Ou\nOYeS5W2o1kcN5Ldfr3BsohOHygZMg9sm9GNcbAEiJK5CviNEgY1YxKy2Sqmd\nOq7uRJJehLKyQGsF4ruWytlIAi00P+7MJVVG3XXcNl4fAbxtr7FF1gdg/qYe\n5rTdqzwCB/Ld0SNsOcLXb13YCHkAVDENt8sWehQ+/No+I7V3nvg0bQZVwG4K\nJ2kqJeCosCWAUnloDzqi0+Zlfp0Q57T522CYQXyvE/kvK+JsavUMuBlLyex4\nVdJy6e/mTiSPafN21C8+rW0gNSVNiDHPXzO2n/zeiDMZdJkFtDaF3PQVq++r\nMW61\r\n=9Wfw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK4ja9lMjQwqXDsfTdWqX03mmjPzEfVNXQyAw6ktL2wQIhANKPDBTDJEPejnwNfdM9+ju2rX2z3JcLLrTKG3qC+PIX"}]},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.0.0-alpha.2_1584659383503_0.03478180950944121"},"_hasShrinkwrap":false},"1.0.0":{"name":"tsc-files","version":"1.0.0","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all"},"dependencies":{"yargs-parser":"^18.1.1"},"peerDependencies":{"typescript":"3.x"},"devDependencies":{"@commitlint/cli":"8.3.5","@commitlint/config-conventional":"8.3.4","husky":"4.2.3","typescript":"3.8.3"},"gitHead":"8e87054e42165b43f03e1e1c35a5dbf0d61a0d70","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-9oAY/IWz2GfvTYfce12Q/CfgS7MLD0TWUebJ1Sjs5NfyjdGxngoa5gQyg/pBaKlnB4rP65m9SHK+CPvBjGLe1Q==","shasum":"7caa9f8ddb2799852274fec16dae8390da7f25ce","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.0.0.tgz","fileCount":5,"unpackedSize":4603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefOs9CRA9TVsSAnZWagAAYsUP/2mbPFzQz1T8aHUOAlzR\n9sXhXhDUbbItgLw03soXz+VNvzAxKrJ3IpHCFd6XvAJvZ4Oph6Jfah6DINvu\nsTu+bRTuEBdZGKxNFCa5XL6X8T50pf8WnrLyDHUy1Wi0p290VqzS493pIAWN\n4Iw1GRMIJ1T6KezEozjVk3WUQnmOkgjEtDvhBeT4yLXp+hrmE7Dvvoxoz7RA\nu+DJGL1ket766FZOAM9J9qQ65uA4SHeSwdQGZpT3wM/xcr6EsB+IbI9LumZ8\nkZxLlI1UUe0iuKrCeJSLy/KZuRgXOAbH3g8DQFjB8lua/Fl8cUolcYZ5k52I\n5HvxUwQtpBP9ViV5UXy38+O6JXOLUt3cG50IilCE+uHuBYsKgoR46ko8BD9n\nKq0knT9ZT/DGde4as7ZWBfy5lL/Awz0ComBbEQ7sPhjSiEIXzc2s24XTQ5wZ\nwHXomVfb0jCdqB/WRfzhzgow/7KzfIdxGlHiLLku9lz16D8aD9UHc+OZSM7v\nUAQ+94VuXglekfQX4UdfiSC6vCLXOgvEwnJCLgoc3Tadz4NeusSx+1zFyMID\noARx7tR0B9dnVgJIN4PfNJuPF5nW36DmI3oL11lFrpc+BLAhZxSveJxaBF5l\nyX1pN4HueTLNhKrfUmhYUvRpigOBqEll03/4a9MEaTx/OplAFZwB2ob0Bta2\nPJFh\r\n=QDrK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpUHpKfpmlNBRNPHk7rS+m/Wh6wVdHraICJTn5jepSfAiAx1D65z+NP/Q3bF8+3lmMqLaGmDoxGFqqs63LZ9zf0mw=="}]},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.0.0_1585244989027_0.2708648569374634"},"_hasShrinkwrap":false},"1.1.0":{"name":"tsc-files","version":"1.1.0","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"trailingComma":"all"},"peerDependencies":{"typescript":"3.x"},"devDependencies":{"@commitlint/cli":"8.3.5","@commitlint/config-conventional":"8.3.4","husky":"4.2.3","typescript":"3.8.3"},"gitHead":"744c2aafe3a6861706c96e0b1a9d19106b86caa4","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.1.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-K1RqUoP5zBAMoU5dCwC+NF9WQeQtt+czV/UKsYtzbIJSFHnd6aD5Ht7ZF8TT0m/z/jBuw41nh+5mls6JE1AVdQ==","shasum":"43c92331d829fb597a4e2cbcc34fc72f3cc77bb0","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.1.0.tgz","fileCount":5,"unpackedSize":5162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0CwqCRA9TVsSAnZWagAAquMP/2wzPhIpeDvpEfLQEG2x\nm8pZrAfT3Y+755lrWd2mW+5VWS7sMlwLqqsgL21hMQsSgAL+nnF/fBcDDFEr\nYsyAboG1y5cvtwTd3tXay5GqV1TNt6C5YZqpJtCmK2v6kUk7HOFAWkx4TLhm\n5TRLYl+DUh2o62Qjg/H8g0tkQqr5Pgw8/CBXrkppAXftocJd9+IvKOT5McxO\nDFfimwENV0WYFs3B9woVsDIsHc0zbxXnGKNcvqEccBxWtIAMwbfmQukXHf3E\nsbnmECpvp4n8l+TNIKaGVcQFOaWl07PBXNz7nErCbE5YyqgREXRLTm+rmcqy\np3kUG6PsXpvN5SZ1R4wAvW1Txy8jak0KJ3BDQg/SQ0O7X9r4gfyXWCqsjCpN\nmsg4qNW1dG+kvGO6nDvp1JELeUapE8kZhybGIDZ2I7rQZpLP+07gtqmn7eOX\nWfMfixEOVhLz1bcGBdrTLw6yCYsk8wsv752bNNwE8r1utMgZIB+ZvQcLx5Kw\nCsGobDdKzRmpHgDW+avYK1C3Ar0WS5aMF6IyTQR+3TSplx0kymJe6fPOzvPp\nhdfu5Oi2IZSXyBPqUc7XZkrBzoNgscN1q50MxLSm8EpU2eW2Q+zEOPoPTWNz\n0g8K0xEop6w59itC9PklVCo8JMtlCsItKhVK4PJb9ozC73j0/BVURwF5uxrI\n6mEK\r\n=EhQV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2klJ9dg1ZFUTKxxs5948/RSX5QLocWNJi5hKFMlkazAiEA0a/LUf+PZUEfSaP5Ju43OVUJvIYkzBzwYiNCMAWCHso="}]},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.1.0_1590701098151_0.8774225100792581"},"_hasShrinkwrap":false},"1.1.1":{"name":"tsc-files","version":"1.1.1","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"trailingComma":"all"},"peerDependencies":{"typescript":">=3"},"devDependencies":{"@commitlint/cli":"11.0.0","@commitlint/config-conventional":"11.0.0","husky":"4.3.6","typescript":"4.1.3"},"gitHead":"d84052bd1ec8827904c3944cf28ec2abfc4fa7ca","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.1.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-aeFCAZCbdnxLvKWP3jF6enE0zoxWxtMIqbyjWtPCimWAOKdT+BlaXb2DpryreHIkC8eK16OPMyakKIkcc6gbZg==","shasum":"ea69e46fcfc155516fe5cd2f66614f0e92fc24af","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.1.1.tgz","fileCount":5,"unpackedSize":5164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2UYJCRA9TVsSAnZWagAAgysP/3iCxNUr6jgBB9HF/du6\nfzpI/s4FXEqDUjexslhvTPUlL8bmhA4l1KbqxQhvafbXv+VaBjwXTmp6ubgY\nS895nuLmVGJSTIFe/SPOYE+4v7SvCPvSwLFmHIINN1L8V4s5WaNZKvOFqy7T\nmngNs2dhh3mV6ZOx0cIM33LRDIO0xUBzppwtR37oPTJnwmAGvSAmwjxpEoM7\nB8SFRmyMsKjGpmRlwNS+G5BKcdQjZ8yeB3A9lOLwqVBVmi9yKvH+rDx6bTtZ\n9x2acrG8mpTYgo/+ZH5Lvu65WsPOB11Bgagwk9w6Pt2xObZrT2NBZraJg17Z\naUb7y/HxbAV73ClT4Z6REMoJLTPPtBLQs21tQLcVC9R1dHB04ZSsv5g9wrJZ\nlB7tVmy2xeuBDSSB9bU3P1zw4s1OBSSws2sRlCk9n839Xv6+1FBSLB41yidL\nrhYGXtq/2YlgGgm5rttsDanIuVKsaAC7osaMu0VFxuc+P3vgqmQ1CAGWf/Nl\nq8DjjBeAdJxlH9sGDw8Oiw5t0yZsBhYABAsOEwWJFr6Wg7vVnlLuWXiQNSmS\nx7mOPEroNaQ2/OgOULkt0jTAd5SkCTfLK6XrRFSlma5bREbvGS5XF2TtOr66\nVQ+Jb8ad+QY5npNFpDU1PddDmvYgUivpEL1FHeUY9o8TNTf36sm664ctuJeL\noucE\r\n=49ya\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWDttPWFEdgPOSm3GTZusSx6dZ3nf8JDBH7WKddfpkFAiAqh7pceFHWu5uiIl/1ZoL89OH364hSHFIix4paa9Pw4w=="}]},"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.1.1_1608074761146_0.6569780276578319"},"_hasShrinkwrap":false},"1.1.2":{"name":"tsc-files","version":"1.1.2","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"trailingComma":"all"},"peerDependencies":{"typescript":">=3"},"devDependencies":{"@commitlint/cli":"11.0.0","@commitlint/config-conventional":"11.0.0","husky":"4.3.6","typescript":"4.1.3"},"gitHead":"5494ed6533b5f88b3f01983223e720a15ced268e","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.1.2","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-biLtl4npoohZ9MBnTFw4NttqYM60RscjzjWxT538UCS8iXaGRZMi+AXj+vEEpDdcjIS2Kx0Acj++1gor5dbbBw==","shasum":"acd181949ef53811fc6df455baef41adaf616442","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.1.2.tgz","fileCount":5,"unpackedSize":5214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBYh0CRA9TVsSAnZWagAAQdwP/1UgXcdbSxt+bEZj7WbC\nDp4rP545VRw/caL7Ocgtps4m8Ct5MHMZ48bvgzttTsarA+p0BZy8bXh+Mph0\naSVrKLJdn2epMGcw7kH7k5de/v/KGs1yDxqZuDs9OpAOhtHir7MrsuERJ5pv\nrOPGdJIxR6LxYjqpeziOyPJsyGFoNT2+Bw8IYxr0U0pJ1q5WT/n61dabGNMI\nrv1LA86j+/ceGBm1l0pwWGGeuqJ+X4WqIw0g8a3aqCVFm3u43UkmLIJIXu8O\nRUGj0wAZutsrnKwlWBuDvPUr4XKgLvAaukrKgKFaawu/uXtITqcU72fuq7Gb\neKhTKnVUwLegDvOYlQ66LAd3j6gNqASAJj42LhVl44xRQWyd0hB/M/IBgoAl\nbwSgBOTW7aYnkPy9YQezYdbmME+98Jv23OxYDaWZkMKscSsivC0AlQcPhSNh\nk2vslae8CsSLPeO+S+QxRAs7QCEURKYBeZ9Ptx0AZeHqm4CStCuxPKrQtcnp\nql83KjsJ5TMbRSnDFsjZehVAPw8CJbxPiL4denz9CqqVIyEN3BYQnjz2TNFf\n3t5QKWdYZ5x6RfkyEjQITefOEO6WY/KTbPDBcsQQJbCccI98CnL4AxPByBjr\nlPSfnaFUeb4as1Rb52+eENzs8rV2TCpsqHJzK5G4AsoTmqChmKtjB7tJejAi\n+ff8\r\n=/yaa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9Mc+7Q/GkDS9Jx6aw1rVX8wWFyRerYHHOAXhoEbMuDgIhAOJJW7X45yQMj7ENrzjWIbrA8rHiVnF4wqBZBhjNCkE3"}]},"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.1.2_1610975347488_0.6699387418613827"},"_hasShrinkwrap":false},"1.1.3":{"name":"tsc-files","version":"1.1.3","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"lib/index.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"trailingComma":"all"},"peerDependencies":{"typescript":">=3"},"devDependencies":{"@commitlint/cli":"11.0.0","@commitlint/config-conventional":"11.0.0","husky":"4.3.6","typescript":"4.1.3"},"gitHead":"27a82464f2c0ff26ccb5b5b152b589aa580bd5a6","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.1.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-G6uXkTNofGU9EE1fYBaCpR72x/aqXW4PDAuznWj4JYlDwhcaKnUn4CiCHBMc89lDxLmikK+hhaEWLoTPEKKvXg==","shasum":"ef4cfcb7affc9b90577d707a879dc53bb105be83","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.1.3.tgz","fileCount":5,"unpackedSize":5229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl63CCRA9TVsSAnZWagAAS+QP+QDUeD1Lg0IvkFUoYuDY\nuT4kr8cWBZBvp2AAMEjZfLsfnC4VZDv9K5besmtcSr7Qhn6YUKWeQNaOQk3w\nkqpu2mniCwahi8WCzSyVU6VeaTWeO9xm8iR4L6q8v41TUP4CAyXLNHILBo1j\nVaeY/3GBo8RtAeBgpp0QOlR9CYt54u9Zme40+4Wwviy6oTMJ4GYAisUDxzY+\nadEVgYTamTSLFqvkW94o+TW+epz5EacKVa0yCtvI8xZzI+R6UZUNsJ+38ulZ\nN9Ou/79bHGI2wtOFOkTr4Mfjhbti61S6dCbEGytpdFsMBy5g4PrJdVjDGXj0\ncXMwZduAe3ZVXR/b7ahxnZVm4UGnNf4CieUvji9ZMfxkFLG0Hq+4ikswtdAt\npMidIwxNFyVPFD/0zDNYwfb5+pB9EZxXqLhBuY5UmpFTqFQQ0TrKyWbKQu+8\nLpC3C9AzFnRYUlYl0V384RbNOV3xPlcmdTsoAYuyEWHoF6Mmh07LrsxSygW+\nfWgV5Rp/5AsvlwGYFr86nW1wtE9qxP5nOfqgS1aqXCBmEyH72YOSCl+D+yV3\nFqNVqjICmu8Lp7speMb3Zj0BdkH5sEIB5sSaDIDhsZ84CTbR08POy4wMjvMQ\nOxtUleNNHsvzSNYb7FM0KVprrXlFtewshUQJZuEkKoRpHRnaUgAbp18erHWK\nIIoa\r\n=o47m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWSYdENTvGEx8Xmgynt0IrQjwDKzcXo5nw1K0xmNZtzAIgS9V6qe1DgRnckMJzVLX+kKj/ZVrXVZAqWWwu+PcidQk="}]},"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.1.3_1637330370242_0.7981475458381841"},"_hasShrinkwrap":false},"1.1.4":{"name":"tsc-files","version":"1.1.4","description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"bin":{"tsc-files":"cli.js"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"trailingComma":"all"},"peerDependencies":{"typescript":">=3"},"devDependencies":{"typescript":"4.1.3"},"gitHead":"c01619fb0ff6eea957f322539e2a8d336c2900e6","bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"homepage":"https://github.com/gustavopch/tsc-files#readme","_id":"tsc-files@1.1.4","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-RePsRsOLru3BPpnf237y1Xe1oCGta8rmSYzM76kYo5tLGsv5R2r3s64yapYorGTPuuLyfS9NVbh9ydzmvNie2w==","shasum":"e0b2042a9494500f528769f52a0d0105a48457dd","tarball":"https://registry.npmjs.org/tsc-files/-/tsc-files-1.1.4.tgz","fileCount":4,"unpackedSize":5149,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGV8acyYYlkVbjxSLXwzVHCkbXi46/EwJt2+STY4QnJbAiAZMqXizwRxjHa6zkflj2C/1ZjFQVjJFxy0ETV3J/3/sg=="}]},"_npmUser":{"name":"gustavopch","email":"gustavopch@gmail.com"},"directories":{},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsc-files_1.1.4_1688476532669_0.24360713729848804"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-18T20:04:20.141Z","1.0.0-alpha.1":"2020-03-18T20:04:20.256Z","modified":"2023-07-04T13:15:33.000Z","1.0.0-alpha.2":"2020-03-19T23:09:43.716Z","1.0.0":"2020-03-26T17:49:49.128Z","1.1.0":"2020-05-28T21:24:58.294Z","1.1.1":"2020-12-15T23:26:01.311Z","1.1.2":"2021-01-18T13:09:07.723Z","1.1.3":"2021-11-19T13:59:30.374Z","1.1.4":"2023-07-04T13:15:32.860Z"},"maintainers":[{"name":"gustavopch","email":"gustavopch@gmail.com"}],"description":"A tiny tool to run tsc on specific files without ignoring tsconfig.json","homepage":"https://github.com/gustavopch/tsc-files#readme","repository":{"type":"git","url":"git+https://github.com/gustavopch/tsc-files.git"},"author":{"name":"Gustavo P. Cardoso","email":"https://twitter.com/gustavo_pch"},"bugs":{"url":"https://github.com/gustavopch/tsc-files/issues"},"license":"MIT","readme":"# tsc-files\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/gustavopch/tsc-files/Release?style=flat-square)\n\nA tiny tool to run `tsc` on specific files without ignoring `tsconfig.json`.\n\n## Installation\n\n```sh\nnpm i -D tsc-files\n```\n\n```sh\nyarn add -D tsc-files\n```\n\n## Why\n\nI wanted to type-check **only the staged files** with [lint-staged](https://github.com/okonet/lint-staged).\n\nUnfortunately passing specific files like `tsc --noEmit file1.ts file2.ts` will cause TypeScript to simply ignore your `tsconfig.json`.\n\nThere's already an open issue in the TypeScript repo to support this use case — you may want to give a 👍 there: https://github.com/microsoft/TypeScript/issues/27379\n\n## Usage\n\nWith lint-staged:\n\n```json\n{\n  \"lint-staged\": {\n    \"**/*.ts\": \"tsc-files --noEmit\"\n  }\n}\n```\n\n## How it works\n\nFor the most part, it just forwards all arguments to `tsc` with one exception: the specified files will not be forwarded — instead, they will be put at the `files` property of a temporary config that will be generated next to your original `tsconfig.json`. Other than that, just read `tsc --help`.\n\n## License\n\nReleased under the [MIT License](./LICENSE.md).\n","readmeFilename":"README.md","users":{"yang.shao":true}}