vue-component-meta 1.0.19 → 1.0.20
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 +1 -1
- package/package.json +4 -4
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.
|
|
28
|
+
export declare function baseCreate(_host: vue.VueLanguageServiceHost, 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
|
@@ -94,7 +94,7 @@ function baseCreate(_host, checkerOptions, globalComponentName, ts) {
|
|
|
94
94
|
return _host[prop];
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
|
-
const vueLanguageModules = vue.createLanguageModules(
|
|
97
|
+
const vueLanguageModules = ts ? vue.createLanguageModules(ts, host.getCompilationSettings(), host.getVueCompilationSettings()) : [];
|
|
98
98
|
const core = embedded.createLanguageContext(host, vueLanguageModules);
|
|
99
99
|
const proxyApis = checkerOptions.forceUseTs ? {
|
|
100
100
|
getScriptKind: (fileName) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-component-meta",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"directory": "vue-language-tools/vue-component-meta"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/language-core": "1.0.
|
|
17
|
-
"@volar/vue-language-core": "1.0.
|
|
16
|
+
"@volar/language-core": "1.0.20",
|
|
17
|
+
"@volar/vue-language-core": "1.0.20",
|
|
18
18
|
"typesafe-path": "^0.2.2"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"typescript": "*"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "e00f068e812677791c93efe9cf20995764350ec6"
|
|
24
24
|
}
|