vue-component-meta
Advanced tools
Comparing version 1.7.11 to 1.7.12
@@ -40,3 +40,3 @@ import * as vue from '@vue/language-core'; | ||
}; | ||
export declare function baseCreate(_host: vue.TypeScriptLanguageHost, _vueCompilerOptions: Partial<vue.VueCompilerOptions>, checkerOptions: MetaCheckerOptions, globalComponentName: string, ts: typeof import('typescript/lib/tsserverlibrary')): { | ||
export declare function baseCreate(_host: vue.TypeScriptLanguageHost, vueCompilerOptions: vue.VueCompilerOptions, checkerOptions: MetaCheckerOptions, globalComponentName: string, ts: typeof import('typescript/lib/tsserverlibrary')): { | ||
getExportNames: (componentPath: string) => string[]; | ||
@@ -43,0 +43,0 @@ getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta; |
@@ -58,3 +58,3 @@ "use strict"; | ||
return { | ||
...baseCreate(_host, parsedCommandLine.vueOptions, checkerOptions, globalComponentName, ts), | ||
...baseCreate(_host, vue.resolveVueCompilerOptions(parsedCommandLine.vueOptions), checkerOptions, globalComponentName, ts), | ||
updateFile(fileName, text) { | ||
@@ -81,4 +81,3 @@ fileName = fileName.replace(/\\/g, '/'); | ||
} | ||
function baseCreate(_host, _vueCompilerOptions, checkerOptions, globalComponentName, ts) { | ||
const vueCompilerOptions = vue.resolveVueCompilerOptions(_vueCompilerOptions); | ||
function baseCreate(_host, vueCompilerOptions, checkerOptions, globalComponentName, ts) { | ||
const globalComponentSnapshot = ts.ScriptSnapshot.fromString('<script setup lang="ts"></script>'); | ||
@@ -85,0 +84,0 @@ const metaSnapshots = {}; |
{ | ||
"name": "vue-component-meta", | ||
"version": "1.7.11", | ||
"version": "1.7.12", | ||
"main": "out/index.js", | ||
@@ -17,5 +17,5 @@ "license": "MIT", | ||
"@volar/typescript": "1.7.4", | ||
"@vue/language-core": "1.7.11", | ||
"@vue/language-core": "1.7.12", | ||
"typesafe-path": "^0.2.2", | ||
"vue-component-type-helpers": "1.7.11" | ||
"vue-component-type-helpers": "1.7.12" | ||
}, | ||
@@ -30,3 +30,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "8ed51477115bf67f73eb74653b2770e5d9d586f0" | ||
"gitHead": "9e712c2d603c690cd03502f5ec1a99bd80b800ac" | ||
} |
38926
795
+ Added@vue/language-core@1.7.12(transitive)
+ Addedvue-component-type-helpers@1.7.12(transitive)
- Removed@vue/language-core@1.7.11(transitive)
- Removedvue-component-type-helpers@1.7.11(transitive)
Updated@vue/language-core@1.7.12