@datapos/datapos-development 0.3.179 → 0.3.180

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.
@@ -7485,8 +7485,8 @@ const Jc = ["critical", "high", "moderate", "low", "unknown"], ct = gs(vs);
7485
7485
  async function rh() {
7486
7486
  try {
7487
7487
  console.info("🚀 Building configuration...");
7488
- const e = JSON.parse(await F.readFile("package.json", "utf8")), t = JSON.parse(await F.readFile("config.json", "utf8")), i = fs.parse(t);
7489
- console.log(2222, i), e.name != null && (t.id = e.name.replace("@datapos/", "").replace("@data-positioning/", "")), e.version != null && (t.version = e.version), await F.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8"), console.info("✅ Configuration built.");
7488
+ const e = JSON.parse(await F.readFile("package.json", "utf8")), t = JSON.parse(await F.readFile("config.json", "utf8"));
7489
+ e.name != null && (t.id = e.name.replace("@datapos/", "").replace("@data-positioning/", "")), e.version != null && (t.version = e.version), await F.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8"), console.info("✅ Configuration built.");
7490
7490
  } catch (e) {
7491
7491
  console.error("❌ Error building configuration.", e);
7492
7492
  }
@@ -7529,11 +7529,13 @@ async function nh() {
7529
7529
  try {
7530
7530
  console.info("🚀 Building connector configuration...");
7531
7531
  const [e, t, i] = await Promise.all([
7532
- F.readFile("package.json", "utf8").then((u) => JSON.parse(u)),
7533
- F.readFile("config.json", "utf8").then((u) => JSON.parse(u)),
7532
+ F.readFile("package.json", "utf8").then((h) => JSON.parse(h)),
7533
+ F.readFile("config.json", "utf8").then((h) => JSON.parse(h)),
7534
7534
  F.readFile("src/index.ts", "utf8")
7535
- ]), r = Xc(i), n = Qc(r);
7536
- r.operations.length > 0 ? console.info(`â„šī¸ Implements ${r.operations.length} operations.`) : console.warn("âš ī¸ Implements no operations."), n === "unknown" ? console.warn("âš ī¸ No usage identified.") : console.info(`â„šī¸ Supports '${n}' usage.`), t.id = e.name ?? t.id, t.version = e.version ?? t.version, t.operations = r.operations, t.usageId = n, await F.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8"), console.info("✅ Connector configuration built.");
7535
+ ]), r = fs.parse(t);
7536
+ console.log(2222, r);
7537
+ const n = Xc(i), u = Qc(n);
7538
+ n.operations.length > 0 ? console.info(`â„šī¸ Implements ${n.operations.length} operations.`) : console.warn("âš ī¸ Implements no operations."), u === "unknown" ? console.warn("âš ī¸ No usage identified.") : console.info(`â„šī¸ Supports '${u}' usage.`), t.id = e.name ?? t.id, t.version = e.version ?? t.version, t.operations = n.operations, t.usageId = u, await F.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8"), console.info("✅ Connector configuration built.");
7537
7539
  } catch (e) {
7538
7540
  console.error("❌ Error building connector configuration.", e);
7539
7541
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.179",
3
+ "version": "0.3.180",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",