@xano/cli 0.0.92 → 0.0.94
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/commands/workspace/push/index.js +2 -1
- package/oclif.manifest.json +1793 -1793
- package/package.json +1 -1
|
@@ -336,7 +336,8 @@ Push functions but exclude test files
|
|
|
336
336
|
.filter((d) => /^table\s+/m.test(d.content) && /\bitems\s*=\s*\[/m.test(d.content))
|
|
337
337
|
.map((d) => {
|
|
338
338
|
const nameMatch = d.content.match(/^table\s+(\S+)/m);
|
|
339
|
-
const
|
|
339
|
+
const itemsMatch = d.content.match(/\bitems\s*=\s*\[([\s\S]*?)\n\s*\]/);
|
|
340
|
+
const itemCount = itemsMatch ? (itemsMatch[1].match(/^\s*\{/gm) || []).length : 0;
|
|
340
341
|
return { name: nameMatch ? nameMatch[1] : 'unknown', records: itemCount };
|
|
341
342
|
})
|
|
342
343
|
: [];
|