vue-component-meta 1.7.3 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/index.d.ts +1 -1
- package/out/index.js +2 -1
- package/package.json +5 -5
package/out/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare function createComponentMetaChecker(tsconfigPath: string, checker
|
|
|
25
25
|
tsLs: ts.LanguageService;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare function baseCreate(_host: vue.LanguageServiceHost,
|
|
28
|
+
export declare function baseCreate(_host: vue.LanguageServiceHost, _vueCompilerOptions: Partial<vue.VueCompilerOptions>, checkerOptions: MetaCheckerOptions, globalComponentName: string, ts: typeof import('typescript/lib/tsserverlibrary')): {
|
|
29
29
|
getExportNames: (componentPath: string) => string[];
|
|
30
30
|
getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
|
|
31
31
|
__internal__: {
|
package/out/index.js
CHANGED
|
@@ -81,7 +81,8 @@ function createComponentMetaCheckerWorker(loadParsedCommandLine, checkerOptions,
|
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function baseCreate(_host,
|
|
84
|
+
function baseCreate(_host, _vueCompilerOptions, checkerOptions, globalComponentName, ts) {
|
|
85
|
+
const vueCompilerOptions = vue.resolveVueCompilerOptions(_vueCompilerOptions);
|
|
85
86
|
const globalComponentSnapshot = ts.ScriptSnapshot.fromString('<script setup lang="ts"></script>');
|
|
86
87
|
const metaSnapshots = {};
|
|
87
88
|
const host = new Proxy({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-component-meta",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"directory": "packages/vue-component-meta"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/language-core": "1.6.
|
|
17
|
-
"@vue/language-core": "1.7.
|
|
16
|
+
"@volar/language-core": "1.6.6",
|
|
17
|
+
"@vue/language-core": "1.7.5",
|
|
18
18
|
"typesafe-path": "^0.2.2",
|
|
19
|
-
"vue-component-type-helpers": "1.7.
|
|
19
|
+
"vue-component-type-helpers": "1.7.5"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"typescript": "*"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"optional": true
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "9959597f7bc53e9bd09aeabb67f772bf776b0ad1"
|
|
30
30
|
}
|