@datapos/datapos-development 0.3.386 → 0.3.387
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.
|
@@ -8216,7 +8216,7 @@ async function kl(e, t) {
|
|
|
8216
8216
|
async function _l(e, t) {
|
|
8217
8217
|
se(`${e} Build connector project configuration`);
|
|
8218
8218
|
const [i, r] = await Promise.all([de("config.json"), Qe("src/index.ts")]), n = /* @__PURE__ */ mn($n, i);
|
|
8219
|
-
if (!n.success)
|
|
8219
|
+
if (console.log(7777, n), !n.success)
|
|
8220
8220
|
throw console.error("❌ Configuration is invalid:"), console.table(n.issues), new Error("Configuration is invalid.");
|
|
8221
8221
|
const u = Hi(r), c = Tl(u);
|
|
8222
8222
|
return u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), c === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${c}' usage.`), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, i.usageId = c, await dt("config.json", i), i;
|