vue-component-meta 1.8.22 → 1.8.24
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/base.d.ts +34 -0
- package/out/base.js +680 -0
- package/out/index.d.ts +6 -15
- package/out/index.js +7 -657
- package/out/types.d.ts +1 -0
- package/package.json +10 -6
package/out/index.d.ts
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import type
|
|
3
|
-
import type { MetaCheckerOptions, ComponentMeta } from './types';
|
|
1
|
+
import * as ts from 'typescript';
|
|
2
|
+
import type { MetaCheckerOptions } from './types';
|
|
4
3
|
export * from './types';
|
|
5
|
-
export
|
|
6
|
-
export declare function createComponentMetaCheckerByJsonConfig(root: string, json: any, checkerOptions?: MetaCheckerOptions, ts?: typeof import('typescript/lib/tsserverlibrary')): {
|
|
4
|
+
export declare function createComponentMetaCheckerByJsonConfig(rootPath: string, json: any, checkerOptions?: MetaCheckerOptions): {
|
|
7
5
|
updateFile(fileName: string, text: string): void;
|
|
8
6
|
deleteFile(fileName: string): void;
|
|
9
7
|
reload(): void;
|
|
10
8
|
clearCache(): void;
|
|
11
9
|
getExportNames: (componentPath: string) => string[];
|
|
12
|
-
getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
|
|
10
|
+
getComponentMeta: (componentPath: string, exportName?: string) => import("./types").ComponentMeta;
|
|
13
11
|
__internal__: {
|
|
14
12
|
tsLs: ts.LanguageService;
|
|
15
13
|
};
|
|
16
14
|
};
|
|
17
|
-
export declare function createComponentMetaChecker(
|
|
15
|
+
export declare function createComponentMetaChecker(tsconfig: string, checkerOptions?: MetaCheckerOptions): {
|
|
18
16
|
updateFile(fileName: string, text: string): void;
|
|
19
17
|
deleteFile(fileName: string): void;
|
|
20
18
|
reload(): void;
|
|
21
19
|
clearCache(): void;
|
|
22
20
|
getExportNames: (componentPath: string) => string[];
|
|
23
|
-
getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
|
|
24
|
-
__internal__: {
|
|
25
|
-
tsLs: ts.LanguageService;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare function baseCreate(_host: vue.TypeScriptLanguageHost, vueCompilerOptions: vue.VueCompilerOptions, checkerOptions: MetaCheckerOptions, globalComponentName: string, ts: typeof import('typescript/lib/tsserverlibrary')): {
|
|
29
|
-
getExportNames: (componentPath: string) => string[];
|
|
30
|
-
getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
|
|
21
|
+
getComponentMeta: (componentPath: string, exportName?: string) => import("./types").ComponentMeta;
|
|
31
22
|
__internal__: {
|
|
32
23
|
tsLs: ts.LanguageService;
|
|
33
24
|
};
|