@builder.io/dev-tools 0.2.30 → 0.2.31

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.
@@ -4,6 +4,7 @@ export declare function normalizePathSlash(path: string): string;
4
4
  export declare function getComponentImportNameFilePath(sys: DevToolsSys, filePath: string): string;
5
5
  export declare function getComponentImportName(str: string): string;
6
6
  export declare function getComponentDisplayNameFromFilePath(sys: DevToolsSys, filePath: string): string;
7
+ export declare function getComponentImportPath(sys: DevToolsSys, absFilePath: string): string;
7
8
  export declare function getDisplayFilePath(sys: DevToolsSys, filePath: string): string;
8
9
  export declare function getComponentDisplayName(str: string): string;
9
10
  export declare function sortComponents(cmps: ComponentInfo[]): ComponentInfo[];
package/types/types.d.ts CHANGED
@@ -276,6 +276,7 @@ export interface ComponentInfo {
276
276
  id: string;
277
277
  filePath: string;
278
278
  relFilePath: string;
279
+ importPath: string;
279
280
  name: string;
280
281
  image?: string;
281
282
  description?: string;