custom-element-flow
Advanced tools
Comparing version 1.0.54 to 1.0.55
@@ -42,5 +42,2 @@ #! /usr/bin/env node | ||
console.log("ALL COMPS", webComponents); | ||
console.log("ALL FILES", files); | ||
await Promise.all( | ||
@@ -50,6 +47,3 @@ files.map(async (filePath) => { | ||
const fileData = JSON.parse(fileJson); | ||
console.log("FILE PATH", filePath); | ||
console.log("FILE JSON", fileJson); | ||
const comp = webComponents.find((e: any) => e.compId === fileData.id); | ||
console.log("COMP", comp); | ||
const settings = comp.compData.webComponentData.gfppSettings.tabs; | ||
@@ -56,0 +50,0 @@ const activeTabs = settings.filter((tab: any) => tab.hidden === false && tab.label !== "Main"); |
@@ -42,11 +42,6 @@ #! /usr/bin/env node | ||
const files = yield glob(`${projectDir}/src/components/**/*/.component.json`); | ||
console.log("ALL COMPS", webComponents); | ||
console.log("ALL FILES", files); | ||
yield Promise.all(files.map((filePath) => __awaiter(void 0, void 0, void 0, function* () { | ||
const fileJson = yield readFile(filePath, 'utf-8'); | ||
const fileData = JSON.parse(fileJson); | ||
console.log("FILE PATH", filePath); | ||
console.log("FILE JSON", fileJson); | ||
const comp = webComponents.find((e) => e.compId === fileData.id); | ||
console.log("COMP", comp); | ||
const settings = comp.compData.webComponentData.gfppSettings.tabs; | ||
@@ -53,0 +48,0 @@ const activeTabs = settings.filter((tab) => tab.hidden === false && tab.label !== "Main"); |
{ | ||
"name": "custom-element-flow", | ||
"version": "1.0.54", | ||
"version": "1.0.55", | ||
"description": "My New Project description.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
53434
1363