{"name":"@vue/typescript-plugin","version":"3.3.11","license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/vuejs/language-tools.git","directory":"packages/typescript-plugin"},"dependencies":{"@volar/typescript":"2.4.28","@vue/language-core":"3.3.11","@vue/shared":"^3.5.0","path-browserify":"^1.0.1","vue-component-meta":"3.3.11"},"devDependencies":{"@types/node":"^26.0.1","@types/path-browserify":"^1.0.3","@vue/compiler-dom":"^3.5.0"},"gitHead":"f521b39b402ebaaa9ee70faf5a60a895544ed9e9","types":"./index.d.ts","_id":"@vue/typescript-plugin@3.3.11","description":"<p>   <a href=\"https://www.npmjs.com/package/@vue/typescript-plugin\"><img src=\"https://img.shields.io/npm/v/@vue/typescript-plugin.svg?labelColor=18181B&color=1584FC\" alt=\"NPM version\"></a>   <a href=\"https://github.com/vuejs/language-tools/blob/master/LI","bugs":{"url":"https://github.com/vuejs/language-tools/issues"},"homepage":"https://github.com/vuejs/language-tools#readme","_nodeVersion":"24.19.0","_npmVersion":"lerna/5.6.0/node@v24.19.0+x64 (linux)","dist":{"integrity":"sha512-sTfyjuZuAClToH59lcBxNMWF+Ede6IBUiYEZI1MgL3Bf9sWV15mtv9P2dfL+4moSQjRf+17O7HX+a8JQdXhLYA==","shasum":"8491913015e4a9f8284e276a10aa2ed4cf972275","tarball":"http://registry-npm.ywwl.com/@vue/typescript-plugin/download/@vue/typescript-plugin-3.3.11.tgz","fileCount":33,"unpackedSize":73927,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vue%2ftypescript-plugin@3.3.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC06vJmp+Sglqiu9P3T+L1oBmqPLWJOy/Bu2QySVqLbDAIhAN2y/hLDq25/bkITa5R0ebkfXW2Q9R7HqDZxR3XhIkFe"}],"size":14641,"noattachment":false,"key":"/@vue/typescript-plugin/-/@vue/typescript-plugin-3.3.11.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a42d099a-f937-4dd5-809e-b87e4b4a1152"}},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},{"name":"kazariex","email":"mimorimaboroshi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript-plugin_3.3.11_1787306778992_0.9201631537752417"},"_hasShrinkwrap":false,"readme":"# @vue/typescript-plugin\n\n<p>\n  <a href=\"https://www.npmjs.com/package/@vue/typescript-plugin\"><img src=\"https://img.shields.io/npm/v/@vue/typescript-plugin.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 TypeScript language service plugin that enables `tsserver` to understand `.vue` files. This plugin is used by `@vue/language-server` to collaborate with the TypeScript language service.\n\n## Installation\n\n```bash\nnpm install @vue/typescript-plugin --save-dev\n```\n\n## Configuration\n\n### VSCode\n\nCreate `.vscode/settings.json` in your project root:\n\n```json\n{\n  \"typescript.tsdk\": \"node_modules/typescript/lib\",\n  \"typescript.enablePromptUseWorkspaceTsdk\": true\n}\n```\n\n### tsconfig.json\n\n```jsonc\n{\n  \"compilerOptions\": {\n    \"plugins\": [\n      { \"name\": \"@vue/typescript-plugin\" }\n    ]\n  }\n}\n```\n\n## Provided Features\n\nThis plugin registers the following Vue-specific commands for `tsserver`:\n\n| Command | Description |\n| :--- | :--- |\n| `_vue:projectInfo` | Get project information |\n| `_vue:collectExtractProps` | Collect extractable props |\n| `_vue:getImportPathForFile` | Get import path for a file |\n| `_vue:getAutoImportSuggestions` | Get auto-import suggestions |\n| `_vue:resolveAutoImportCompletionEntry` | Resolve auto-import completion entry |\n| `_vue:isRefAtPosition` | Check if position is a ref |\n| `_vue:getComponentDirectives` | Get component directives |\n| `_vue:getComponentMeta` | Get component metadata |\n| `_vue:getComponentNames` | Get component name list |\n| `_vue:getComponentProps` | Get component props |\n| `_vue:getComponentSlots` | Get component slots |\n| `_vue:getElementAttrs` | Get element attributes |\n| `_vue:getElementNames` | Get element name list |\n| `_vue:resolveModuleName` | Resolve module name |\n| `_vue:documentHighlights-full` | Document highlights |\n| `_vue:encodedSemanticClassifications-full` | Semantic classifications |\n| `_vue:quickinfo` | Quick info |\n\n## How it Works\n\nThis plugin is created using `createLanguageServicePlugin` from `@volar/typescript`. It:\n\n1. Reads `vueCompilerOptions` from `tsconfig.json`\n2. Creates a Vue language plugin to process `.vue` files\n3. Intercepts and handles TypeScript language service requests\n4. Registers Vue-specific protocol handlers\n\n## Related Packages\n\n- [`@vue/language-core`](../language-core) - Core module\n- [`@vue/language-server`](../language-server) - Language server\n- [`vue-component-meta`](../component-meta) - Component metadata\n\n## License\n\n[MIT](https://github.com/vuejs/language-tools/blob/master/LICENSE) License\n","publish_time":1787306779157,"_cnpm_publish_time":1787306779157,"dist-tags":{"latest":"3.3.14","v3.0":"3.0.11"}}