@datapos/datapos-development 0.3.246 → 0.3.247

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.
@@ -7728,41 +7728,41 @@ async function Yh() {
7728
7728
  console.error("❌ Error building project.", e), process.exit(1);
7729
7729
  }
7730
7730
  }
7731
- async function ep(e = !1) {
7731
+ async function ep() {
7732
7732
  try {
7733
7733
  Le("Release Project");
7734
- const t = await Ce("package.json"), i = await Ce("config.json");
7735
- await Pr("1️⃣", t);
7736
- const s = Rh(t);
7737
- switch (s) {
7734
+ const e = await Ce("package.json"), t = await Ce("config.json");
7735
+ await Pr("1️⃣", e);
7736
+ const i = Rh(e);
7737
+ switch (i) {
7738
7738
  case "connector":
7739
- await zh("2️⃣", t);
7739
+ await zh("2️⃣", e);
7740
7740
  break;
7741
7741
  case "context":
7742
- await Vh("2️⃣", t);
7742
+ await Vh("2️⃣", e);
7743
7743
  break;
7744
7744
  case "presenter":
7745
- await jh("2️⃣", t);
7745
+ await jh("2️⃣", e);
7746
7746
  break;
7747
7747
  default:
7748
- await Dh("2️⃣", t);
7748
+ await Dh("2️⃣", e);
7749
7749
  }
7750
- await Ee("3️⃣ Bundle project", "vite", ["build"]), await Te("4️⃣ Stage changes", "git", ["add", "."]), await Te("5️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await Te("6️⃣ Push changes", "git", ["push", "origin", "main:main"]);
7751
- const a = Bh(s);
7752
- if (s === "app")
7750
+ await Ee("3️⃣ Bundle project", "vite", ["build"]), await Te("4️⃣ Stage changes", "git", ["add", "."]), await Te("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Te("6️⃣ Push changes", "git", ["push", "origin", "main:main"]);
7751
+ const s = Bh(i);
7752
+ if (i === "app")
7753
7753
  oe("7️⃣ Register module"), await Mh();
7754
- else if (s === "engine")
7754
+ else if (i === "engine")
7755
7755
  oe("7️⃣ Register module"), await ys(), await vs("datapos-engine-eu");
7756
- else if (a === void 0)
7757
- oe("7️⃣ Registration not required.");
7756
+ else if (s === void 0)
7757
+ oe("7️⃣ Registration NOT required.");
7758
7758
  else {
7759
7759
  oe("7️⃣ Register module"), await ys();
7760
- const o = i.id.slice(Math.max(0, i.id.lastIndexOf("-") + 1));
7761
- await vs(`datapos-engine-eu/${a}/${o}`);
7760
+ const a = t.id.slice(Math.max(0, t.id.lastIndexOf("-") + 1));
7761
+ await vs(`datapos-engine-eu/${s}/${a}`);
7762
7762
  }
7763
- await Ee("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]), Fe(`Project version '${t.version}' released.`);
7764
- } catch (t) {
7765
- console.error("❌ Error releasing project.", t), process.exit(1);
7763
+ await Ee("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]), Fe(`Project version '${e.version}' released.`);
7764
+ } catch (e) {
7765
+ console.error("❌ Error releasing project.", e), process.exit(1);
7766
7766
  }
7767
7767
  }
7768
7768
  function Rh(e) {
@@ -7953,7 +7953,7 @@ async function np() {
7953
7953
  }
7954
7954
  async function op() {
7955
7955
  try {
7956
- Le("Lint Code"), await Ee("1️⃣ Lint", "eslint", ["."]), Fe("Code linted.");
7956
+ Le("Lint Code"), await Ee("1️⃣ Lint", "eslint", []), Fe("Code linted.");
7957
7957
  } catch (e) {
7958
7958
  console.error("❌ Error linting code.", e), process.exit(1);
7959
7959
  }
@@ -2,7 +2,7 @@
2
2
  * Manage project operation.
3
3
  */
4
4
  declare function buildProject(): Promise<void>;
5
- declare function releaseProject(sendDeployNotice?: boolean): Promise<void>;
5
+ declare function releaseProject(): Promise<void>;
6
6
  declare function syncProjectWithGitHub(): Promise<void>;
7
7
  declare function testProject(): void;
8
8
  export { buildProject, releaseProject, syncProjectWithGitHub, testProject };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.246",
3
+ "version": "0.3.247",
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>",