{"_id":"@aki77/vue-tsc-files","_rev":"4-3ac155e393b7bf3510b3404e9ea33d9c","name":"@aki77/vue-tsc-files","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@aki77/vue-tsc-files","version":"0.1.0","description":"A tiny tool to run vue-tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"aki77"},"repository":{"type":"git","url":"git+https://github.com/aki77/vue-tsc-files.git"},"bin":{"vue-tsc-files":"lib/index.js"},"peerDependencies":{"typescript":">=4","vue-tsc":"^0.3.0"},"devDependencies":{"typescript":"^4.4.3","vue-tsc":"^0.3.0"},"gitHead":"eafa68586d34d3057062ea1a6c01307610b3077f","bugs":{"url":"https://github.com/aki77/vue-tsc-files/issues"},"homepage":"https://github.com/aki77/vue-tsc-files#readme","_id":"@aki77/vue-tsc-files@0.1.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-7XNzrQcBjsSjbgL1OAWoKL81WjGz+7fjctVnCzgftDsY/vMrn73odNkH0D/ECHx8FIhzc80A06uBoSN7W+Xn4A==","shasum":"d7e5cc32293c22899a428e8d5825f1c4093b0f2b","tarball":"https://registry.npmjs.org/@aki77/vue-tsc-files/-/vue-tsc-files-0.1.0.tgz","fileCount":5,"unpackedSize":4780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1QqTo0x0+QNC5m40oMbsSq0gblOQZyHkCvLLEuytMVAiBw1VzVbHO9mPux6P8RjhtwhktuUGnwNwiI4dgqzzduHA=="}]},"_npmUser":{"name":"aki77","email":"lala.akira+npm@gmail.com"},"directories":{},"maintainers":[{"name":"aki77","email":"lala.akira+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-tsc-files_0.1.0_1633043991804_0.8629953074329073"},"_hasShrinkwrap":false},"0.1.1":{"name":"@aki77/vue-tsc-files","version":"0.1.1","description":"A tiny tool to run vue-tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"aki77"},"repository":{"type":"git","url":"git+https://github.com/aki77/vue-tsc-files.git"},"bin":{"vue-tsc-files":"lib/index.js"},"peerDependencies":{"typescript":">=4","vue-tsc":"^0.28.1"},"devDependencies":{"typescript":"^4.4.3","vue-tsc":"^0.28.1"},"gitHead":"fdd366759a73356c0d4eeeb2920f7b2188e0647f","bugs":{"url":"https://github.com/aki77/vue-tsc-files/issues"},"homepage":"https://github.com/aki77/vue-tsc-files#readme","_id":"@aki77/vue-tsc-files@0.1.1","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-/3X6ahekxmMvYoe3GvL5l2FWZwEAmcDNl89o8g1CAJ8bSD3j6KLSgwq0TgM+wnqqeZCzkus3DI2kMv4Lfy+pnQ==","shasum":"c34799a7ea6ef7cdaff2439d29237a2f4a8a4939","tarball":"https://registry.npmjs.org/@aki77/vue-tsc-files/-/vue-tsc-files-0.1.1.tgz","fileCount":5,"unpackedSize":4785,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGbOgKNdMk7f0LSpuw3urTDl2U3G4f6eEXdJyTm6IF3AiEAiXMXCmVTleORCOmSUl7x20AGutjl67SzuMj28wAKuiQ="}]},"_npmUser":{"name":"aki77","email":"lala.akira+npm@gmail.com"},"directories":{},"maintainers":[{"name":"aki77","email":"lala.akira+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-tsc-files_0.1.1_1633816999618_0.05025142489679513"},"_hasShrinkwrap":false},"0.2.0":{"name":"@aki77/vue-tsc-files","version":"0.2.0","description":"A tiny tool to run vue-tsc on specific files without ignoring tsconfig.json","license":"MIT","author":{"name":"aki77"},"repository":{"type":"git","url":"git+https://github.com/aki77/vue-tsc-files.git"},"bin":{"vue-tsc-files":"lib/index.js"},"peerDependencies":{"typescript":">=4","vue-tsc":"*"},"devDependencies":{"typescript":"^4.4.3","vue-tsc":"^0.29.0"},"gitHead":"38292fa5a05c197d82a5bd56a2a1e34df51d9079","bugs":{"url":"https://github.com/aki77/vue-tsc-files/issues"},"homepage":"https://github.com/aki77/vue-tsc-files#readme","_id":"@aki77/vue-tsc-files@0.2.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-QZHVMDavdq1jkAxtfwTNaZonaCjeT0d5sIzvQlMtR9NOBYL6Z57jrgj5nEkj8Xf90eYHe0LEXDhi9+0OXBIDsQ==","shasum":"5eac6ce64c2d00f47b14bef646593c46f2f47412","tarball":"https://registry.npmjs.org/@aki77/vue-tsc-files/-/vue-tsc-files-0.2.0.tgz","fileCount":5,"unpackedSize":4779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxItxCRA9TVsSAnZWagAAwCoQAJDv1fkrth3+rWRSEIww\n7h4FBLvbYMbysPzhmzJfE5EZerhUti8YbyW4HqYT/zvxNvckuLZW3tx/8KDq\nWMyfZVbFIR0mI9+IcwhZqEERBkqqy+8ti5t8ap76dn8FLa3wRRz5Y8U0+hto\nP85FVrGRBkVUQi0ossZiH4j4xRsINydZXOEQkCEBf7U3ntmNBjXUyYOnJdfB\n9zyhZ69VbZbUzg0yrFIUwjvVnI+pZSUAzWC0cc0V0tasg3X9sNAQawp1KFo7\n3R+v/nbsoWp2qWKuKOwtLFPychMgvda7eBt9vxy8NFFUf0vGtKf4fL5CjQVX\nxyfLg2jX7I4AL79NZToRmHvdvqJZN5vdoTVZM7MCpLIAvkEZs0LfTzi7cyCA\nFsY/t0oIsFeDG7m8zsVcUj+V1Uq4NUeFxA26moaH9a1kWBY5zO/0r+95PM21\nc6x9xA+8lp5LN3JkjODWg6eanH3VEc/PNB180F3soyIUzxAop0Q3pyH/mqBS\n/9V/wIlUT4MqdkZjN0+6QGNUdhMayqK3Lsiiwk76AXMpKR7H+91/fhI4fNaM\nsxD0Gd8Kx9VZXO78cHHOwNYWIfPibZH3d2lBiJt1CliLpbrcGxp/c4ekIQD6\n84iIRLulZJvJL9+o1ldnWnbFj/ed4UH8FuoHIdp0fEM/hYY12d8lErIl/C5U\n/4pB\r\n=X2gy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpkv2tRJmOfZ2Jm5s4mbzvgjsGIB9dXkr7KFWB/tVjtAiAIHXGudbRuyzycFzykXRCF76yzLOd/z03/YEytSReW9Q=="}]},"_npmUser":{"name":"aki77","email":"lala.akira+npm@gmail.com"},"directories":{},"maintainers":[{"name":"aki77","email":"lala.akira+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-tsc-files_0.2.0_1636326671928_0.030918230652699386"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-30T23:19:51.749Z","0.1.0":"2021-09-30T23:19:52.177Z","modified":"2022-04-04T12:29:17.206Z","0.1.1":"2021-10-09T22:03:19.789Z","0.2.0":"2021-11-07T23:11:12.063Z"},"maintainers":[{"name":"aki77","email":"lala.akira+npm@gmail.com"}],"description":"A tiny tool to run vue-tsc on specific files without ignoring tsconfig.json","homepage":"https://github.com/aki77/vue-tsc-files#readme","repository":{"type":"git","url":"git+https://github.com/aki77/vue-tsc-files.git"},"author":{"name":"aki77"},"bugs":{"url":"https://github.com/aki77/vue-tsc-files/issues"},"license":"MIT","readme":"# vue-tsc-files\n\nA tiny tool to run `vue-tsc` on specific files without ignoring `tsconfig.json`.\n\n## Installation\n\n```sh\nnpm i -D @aki77/vue-tsc-files\n```\n\n```sh\nyarn add -D @aki77/vue-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 `vue-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,vue}\": \"vue-tsc-files --noEmit\"\n  }\n}\n```\n\n## How it works\n\nFor the most part, it just forwards all arguments to `vue-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 `vue-tsc --help`.\n\n## License\n\nReleased under the [MIT License](./LICENSE.md).\n","readmeFilename":"README.md"}