@datapos/datapos-development 0.3.229 → 0.3.232

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/README.md CHANGED
@@ -67,7 +67,6 @@ The OWASP Dependency Check Report identifies known vulnerabilities in project de
67
67
  The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the published library are covered by these checks. If a dependence has no license then it is treated as ????? Used to support development activity and nor released as part of the production release. Check if you clone.
68
68
 
69
69
  <!-- DEPENDENCY_LICENSES_START -->
70
-
71
70
  | Name | Type | Installed | Latest | Latest Modified |
72
71
  | :---------------------- | :----------: | :-------: | :-----: | :----------------------- |
73
72
  | @datapos/datapos-shared | MIT | 0.3.255 | 0.3.255 | 2025-11-29T17:16:07.774Z |
@@ -76,7 +75,6 @@ The following table lists top-level production and peer dependencies. All these
76
75
  | acorn-walk | MIT | 8.3.4 | 8.3.4 | 2024-09-09T08:40:59.131Z |
77
76
  | dotenv | BSD-2-Clause | 17.2.3 | 17.2.3 | 2025-09-29T23:22:21.769Z |
78
77
  | zod | MIT | 4.1.13 | 4.1.13 | 2025-11-24T02:38:31.522Z |
79
-
80
78
  <!-- DEPENDENCY_LICENSES_END -->
81
79
 
82
80
  ### Bundle Analysis Report
@@ -7648,7 +7648,7 @@ async function Nh() {
7648
7648
  We("Load environment variables"), (await import("dotenv")).config();
7649
7649
  }
7650
7650
  function Ne(e) {
7651
- const t = "\x1B[36m", i = "\x1B[0m", s = "─".repeat(e.length + 10);
7651
+ const t = "\x1B[36m", i = "\x1B[0m", s = "─".repeat(Math.max(e.length + 60, 60));
7652
7652
  console.info(`
7653
7653
  ${t}${s}`), console.info(`▶️ ${e}`), console.info(`${s}${i}`);
7654
7654
  }
@@ -7659,7 +7659,8 @@ function Ve(e) {
7659
7659
  }
7660
7660
  function We(e) {
7661
7661
  console.info(`
7662
- ${e}`);
7662
+ ${e}
7663
+ `);
7663
7664
  }
7664
7665
  async function St(e) {
7665
7666
  return JSON.parse(await $.readFile(e, "utf8"));
@@ -7695,7 +7696,7 @@ async function Tr(e, t) {
7695
7696
  }
7696
7697
  async function $h() {
7697
7698
  try {
7698
- Ne("Build Project"), await Ae("", "vite", ["build"]), Ve("Project built.");
7699
+ Ne("Build Project"), await Ae("1️⃣ Bundle project", "vite", ["build"]), Ve("Project built.");
7699
7700
  } catch (e) {
7700
7701
  console.error("❌ Error building project.", e), process.exit(1);
7701
7702
  }
@@ -7704,7 +7705,7 @@ async function Uh(e = !1) {
7704
7705
  try {
7705
7706
  Ne("Release Project");
7706
7707
  const t = await St("package.json");
7707
- await _r("1️⃣", t), await Lh("2️⃣", t), await Ae("3️⃣ Bundle project.", "vite", ["build"]), await _e("", "git", ["add", "."]), await _e("", "git", ["commit", "-m", `"v${t.version}"`]), await _e("", "git", ["push", "origin", "main:main"]), await Ae("", "npm", ["publish", "--access", "public"]), Ve(`Project version ${t.version} released.`);
7708
+ await _r("1️⃣", t), await Lh("2️⃣", t), await Ae("3️⃣ Bundle project", "vite", ["build"]), await _e("4️⃣ Stage changes", "git", ["add", "."]), await _e("5️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await _e("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), await Ae("7️⃣. Publish to npm", "npm", ["publish", "--access", "public"]), Ve(`Project version '${t.version}' released.`);
7708
7709
  } catch (t) {
7709
7710
  console.error("❌ Error releasing project.", t), process.exit(1);
7710
7711
  }
@@ -7713,7 +7714,7 @@ async function Zh() {
7713
7714
  try {
7714
7715
  Ne("Synchronise Project with GitHub");
7715
7716
  const e = await St("package.json");
7716
- We("Bump project version"), await _r("1️⃣", e), await _e("2️⃣ Stage changes", "git", ["add", "."]), await _e("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await _e("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Ve(`Project version ${e.version} synchronised with GitHub.`);
7717
+ We("Bump project version"), await _r("1️⃣", e), await _e("2️⃣ Stage changes", "git", ["add", "."]), await _e("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await _e("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Ve(`Project version '${e.version}' synchronised with GitHub.`);
7717
7718
  } catch (e) {
7718
7719
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
7719
7720
  }
@@ -7734,10 +7735,10 @@ async function Lh(e, t) {
7734
7735
  }
7735
7736
  async function _r(e, t, i = "./") {
7736
7737
  if (We(`${e} Bump project version`), t.version == null)
7737
- t.version = "0.0.001", console.warn(`⚠️ Project version initialised to ${t.version}.`), await di(`${i}package.json`, t);
7738
+ t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await di(`${i}package.json`, t);
7738
7739
  else {
7739
7740
  const s = t.version, a = t.version.split(".");
7740
- t.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, console.info(`✔️ Project version bumped from ${s} to ${t.version}.`), await di(`${i}package.json`, t);
7741
+ t.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, console.info(`✔️ Project version bumped from '${s}' to '${t.version}'.`), await di(`${i}package.json`, t);
7741
7742
  }
7742
7743
  }
7743
7744
  const Oh = ["critical", "high", "moderate", "low", "unknown"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.229",
3
+ "version": "0.3.232",
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>",