{"_id":"vue-tsc@3.3.11","bin":{"vue-tsc":"bin/vue-tsc.js"},"bugs":{"url":"https://github.com/vuejs/language-tools/issues"},"dist":{"shasum":"26e7df7b6c1d66793d68caaa4ab96caa28002d9c","tarball":"http://registry-npm.ywwl.com/vue-tsc/download/vue-tsc-3.3.11.tgz","fileCount":6,"integrity":"sha512-gOb0B9rtU2+f1dszwPqSH5kAieIF9ReeLhD3kSRNHv5WZZUQz/JdVXW0RTdqhNTMlQkqKzrTTviqKr/4FYZraQ==","signatures":[{"sig":"MEQCIGg7a/87KWxJ3fPEFT8oBxVmPHE7rbCnGm2Zo9PGX3iGAiAcubo87JRPrB0vu3YbycnUAAOidoSghcCMmfowHPfuiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+SJLB5Po/wslv4NeaYi5kIMiyx9r2Tjwcl8JeEpVQuQIhAI84/IuANqhJsZhKWYvnXL+M9NMDXHa1afpSxbA/HIqJ"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/vue-tsc@3.3.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7120,"size":3375,"noattachment":false,"key":"/vue-tsc/-/vue-tsc-3.3.11.tgz"},"name":"vue-tsc","types":"./index.d.ts","gitHead":"f521b39b402ebaaa9ee70faf5a60a895544ed9e9","license":"MIT","version":"3.3.11","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a6d0be0a-5c61-4b37-91ca-2edbe770c408"}},"homepage":"https://github.com/vuejs/language-tools#readme","repository":{"url":"git+https://github.com/vuejs/language-tools.git","type":"git","directory":"packages/tsc"},"_npmVersion":"lerna/5.6.0/node@v24.19.0+x64 (linux)","description":"<p>   <a href=\"https://www.npmjs.com/package/vue-tsc\"><img src=\"https://img.shields.io/npm/v/vue-tsc.svg?labelColor=18181B&color=1584FC\" alt=\"NPM version\"></a>   <a href=\"https://github.com/vuejs/language-tools/blob/master/LICENSE\"><img src=\"https://img.s","directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},{"name":"kazariex","email":"mimorimaboroshi@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@volar/typescript":"2.4.28","@vue/language-core":"3.3.11"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"latest","@types/node":"^26.0.1"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vue-tsc_3.3.11_1787307081288_0.5029365675190447"},"readme":"# vue-tsc\n\n<p>\n  <a href=\"https://www.npmjs.com/package/vue-tsc\"><img src=\"https://img.shields.io/npm/v/vue-tsc.svg?labelColor=18181B&color=1584FC\" alt=\"NPM version\"></a>\n  <a href=\"https://github.com/vuejs/language-tools/blob/master/LICENSE\"><img src=\"https://img.shields.io/github/license/vuejs/language-tools.svg?labelColor=18181B&color=1584FC\" alt=\"License\"></a>\n</p>\n\nA command-line type checking tool for Vue, based on a `tsc` wrapper, enabling the TypeScript compiler to understand `.vue` files.\n\n## Installation\n\n```bash\nnpm install vue-tsc typescript --save-dev\n```\n\nRequires TypeScript 5.0.0 or higher.\n\n## Usage\n\n### Type Checking\n\n```bash\nvue-tsc --noEmit\n```\n\n### Generate Declaration Files\n\n```bash\nvue-tsc --declaration --emitDeclarationOnly\n```\n\n### Configuration in package.json\n\n```json\n{\n  \"scripts\": {\n    \"type-check\": \"vue-tsc --noEmit\",\n    \"build:types\": \"vue-tsc --declaration --emitDeclarationOnly\"\n  }\n}\n```\n\n## Supported File Types\n\n`vue-tsc` automatically reads file types to process from `vueCompilerOptions.extensions` in `tsconfig.json`, defaulting to `['.vue']`.\n\nIf `vitePressExtensions` or `petiteVueExtensions` are configured, those extensions will also be processed.\n\n## Differences from tsc\n\n`vue-tsc` is a wrapper around `tsc` that:\n\n1. Reads `vueCompilerOptions` from `tsconfig.json`\n2. Creates a Vue language plugin to process `.vue` files\n3. Transforms `.vue` files into TypeScript virtual code before passing them to `tsc`\n\nAll `tsc` command-line arguments can be used directly.\n\n## Programmatic Usage\n\n```typescript\nimport { run } from 'vue-tsc';\n\n// Use the default tsc path\nrun();\n\n// Specify a custom tsc path\nrun('/path/to/typescript/lib/tsc.js');\n```\n\n## Related Packages\n\n- [`@vue/language-core`](../language-core) - Core module\n\n## License\n\n[MIT](https://github.com/vuejs/language-tools/blob/master/LICENSE) License\n","publish_time":1787307081360,"_cnpm_publish_time":1787307081360,"dist-tags":{"latest":"3.3.14","v3.0":"3.0.11"}}