@varlet/import-resolver 3.20.7 → 3.20.8
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/lib/index.d.cts +4 -5
- package/lib/index.d.ts +4 -5
- package/package.json +4 -4
package/lib/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/index.d.ts
|
|
2
|
-
interface VarletImportResolverOptions {
|
|
2
|
+
export interface VarletImportResolverOptions {
|
|
3
3
|
/**
|
|
4
4
|
* compatible with unplugin-auto-import
|
|
5
5
|
*
|
|
@@ -19,12 +19,12 @@ interface VarletImportResolverOptions {
|
|
|
19
19
|
*/
|
|
20
20
|
directives?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare function getResolved(name: string, options: VarletImportResolverOptions): {
|
|
22
|
+
export declare function getResolved(name: string, options: VarletImportResolverOptions): {
|
|
23
23
|
from: string;
|
|
24
24
|
name: string;
|
|
25
25
|
sideEffects: string[];
|
|
26
26
|
};
|
|
27
|
-
declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
27
|
+
export declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
28
28
|
type: "component";
|
|
29
29
|
resolve: (name: string) => {
|
|
30
30
|
from: string;
|
|
@@ -39,5 +39,4 @@ declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
|
39
39
|
sideEffects: string[];
|
|
40
40
|
} | undefined;
|
|
41
41
|
})[];
|
|
42
|
-
//#endregion
|
|
43
|
-
export { VarletImportResolver, VarletImportResolverOptions, getResolved };
|
|
42
|
+
//#endregion
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/index.d.ts
|
|
2
|
-
interface VarletImportResolverOptions {
|
|
2
|
+
export interface VarletImportResolverOptions {
|
|
3
3
|
/**
|
|
4
4
|
* compatible with unplugin-auto-import
|
|
5
5
|
*
|
|
@@ -19,12 +19,12 @@ interface VarletImportResolverOptions {
|
|
|
19
19
|
*/
|
|
20
20
|
directives?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare function getResolved(name: string, options: VarletImportResolverOptions): {
|
|
22
|
+
export declare function getResolved(name: string, options: VarletImportResolverOptions): {
|
|
23
23
|
from: string;
|
|
24
24
|
name: string;
|
|
25
25
|
sideEffects: string[];
|
|
26
26
|
};
|
|
27
|
-
declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
27
|
+
export declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
28
28
|
type: "component";
|
|
29
29
|
resolve: (name: string) => {
|
|
30
30
|
from: string;
|
|
@@ -39,5 +39,4 @@ declare function VarletImportResolver(options?: VarletImportResolverOptions): ({
|
|
|
39
39
|
sideEffects: string[];
|
|
40
40
|
} | undefined;
|
|
41
41
|
})[];
|
|
42
|
-
//#endregion
|
|
43
|
-
export { VarletImportResolver, VarletImportResolverOptions, getResolved };
|
|
42
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/import-resolver",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.8",
|
|
4
4
|
"description": "varlet import resolver for unplugin-vue-components and unplugin-auto-import",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"varlet",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"lib"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@varlet/shared": "3.20.
|
|
38
|
+
"@varlet/shared": "3.20.8"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^
|
|
41
|
+
"@types/node": "^22.18.0",
|
|
42
42
|
"typescript": "5.6.3",
|
|
43
|
-
"vite-plus": "
|
|
43
|
+
"vite-plus": "1.1.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "vp pack",
|