@datapos/datapos-development 0.3.378 → 0.3.379

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.
@@ -7829,7 +7829,7 @@ async function vl() {
7829
7829
  if (await Ie("3️⃣ Bundle project", "vite", ["build"]), await Se("4️⃣ Stage changes", "git", ["add", "."]), await Se("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Se("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), i.typeId === "app")
7830
7830
  re("7️⃣ Register module"), await qh();
7831
7831
  else if (i.typeId === "engine")
7832
- re("7️⃣ Register module"), console.log(1111, t), await kr(t), await Sr(e, `datapos-engine-eu/${i.uploadGroupName}`);
7832
+ re("7️⃣ Register module"), await Sr(e, `datapos-engine-eu/${i.uploadGroupName}`), await kr(t);
7833
7833
  else if (i.uploadGroupName === void 0)
7834
7834
  re("7️⃣ Registration NOT required.");
7835
7835
  else {
@@ -7863,8 +7863,8 @@ async function xl() {
7863
7863
  }
7864
7864
  function gl() {
7865
7865
  try {
7866
- Re("Test Project"), console.log(`
7867
- Test project is not implemented. No 'vitest' command.
7866
+ Re("Test Project"), console.error(`
7867
+ No tests implemented.
7868
7868
  `);
7869
7869
  } catch (e) {
7870
7870
  console.error("❌ Error testing project.", e), process.exit(1);
@@ -7879,7 +7879,7 @@ async function Wh(e, t) {
7879
7879
  re(`${e} Build connector project configuration`);
7880
7880
  const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = wc.safeParse(i);
7881
7881
  if (!n.success)
7882
- throw console.log("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7882
+ throw console.error("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7883
7883
  const u = Ri(r), h = Jh(u);
7884
7884
  return u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), h === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${h}' 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 = h, await ct("config.json", i), i;
7885
7885
  }
@@ -7887,7 +7887,7 @@ async function Kh(e, t) {
7887
7887
  re(`${e} Build context project configuration`);
7888
7888
  const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = Lc.safeParse(i);
7889
7889
  if (!n.success)
7890
- throw console.log("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7890
+ throw console.error("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7891
7891
  const u = Ri(r);
7892
7892
  return u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, await ct("config.json", i), i;
7893
7893
  }
@@ -7895,7 +7895,7 @@ async function Xh(e, t) {
7895
7895
  re(`${e} Build presenter project configuration`);
7896
7896
  const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = Bc.safeParse(i);
7897
7897
  if (!n.success)
7898
- throw console.log("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7898
+ throw console.error("❌ Configuration is invalid:"), console.table(n.error.issues), new Error("Configuration is invalid.");
7899
7899
  const u = Ri(r);
7900
7900
  return u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, await ct("config.json", i), i;
7901
7901
  }