@uniformdev/transformer 1.1.26 → 1.1.27
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/dist/cli/index.js +21 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1269,8 +1269,16 @@ var PropertyPropagatorService = class {
|
|
|
1269
1269
|
const sourceComponents = [];
|
|
1270
1270
|
for (const sourceType of compositionTypes) {
|
|
1271
1271
|
this.logger.info(`Loading component: ${sourceType}`);
|
|
1272
|
-
|
|
1273
|
-
|
|
1272
|
+
try {
|
|
1273
|
+
const { component: sourceComponent, filePath: sourceFilePath } = await this.componentService.loadComponent(fullComponentsDir, sourceType, findOptions);
|
|
1274
|
+
sourceComponents.push({ sourceType, sourceFilePath, sourceComponent });
|
|
1275
|
+
} catch (error) {
|
|
1276
|
+
if (error instanceof ComponentNotFoundError) {
|
|
1277
|
+
this.logger.warn(`Component not found: ${sourceType} (searched: ${fullComponentsDir})`);
|
|
1278
|
+
continue;
|
|
1279
|
+
}
|
|
1280
|
+
throw error;
|
|
1281
|
+
}
|
|
1274
1282
|
}
|
|
1275
1283
|
this.logger.info(`Loading component: ${targetComponentType}`);
|
|
1276
1284
|
const { component: targetComponent, filePath: targetFilePath } = await this.componentService.loadComponent(fullComponentsDir, targetComponentType, findOptions);
|