@datapos/datapos-development 0.3.262 → 0.3.263
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.
|
@@ -7748,7 +7748,18 @@ async function ip() {
|
|
|
7748
7748
|
}
|
|
7749
7749
|
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"]);
|
|
7750
7750
|
const s = Bh(i);
|
|
7751
|
-
|
|
7751
|
+
if (i === "app")
|
|
7752
|
+
se("7️⃣ Register module"), await Rh();
|
|
7753
|
+
else if (i === "engine")
|
|
7754
|
+
se("7️⃣ Register module"), await ys(), await vs(`datapos-engine-eu/${s}`);
|
|
7755
|
+
else if (s === void 0)
|
|
7756
|
+
se("7️⃣ Registration NOT required.");
|
|
7757
|
+
else {
|
|
7758
|
+
se("7️⃣ Register module"), await ys();
|
|
7759
|
+
const a = t.id.split("-").slice(2).join("-");
|
|
7760
|
+
await vs(`datapos-engine-eu/${s}/${a}`);
|
|
7761
|
+
}
|
|
7762
|
+
i === "connector" || i === "context" || i === "dev" || i === "presenter" || i === "shared" || i === "tool" ? await Ee("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]) : se(`8️⃣ Publishing NOT required for package with type identifier of '${i}'.`), Fe(`Project version '${e.version}' released.`);
|
|
7752
7763
|
} catch (e) {
|
|
7753
7764
|
console.error("❌ Error releasing project.", e), process.exit(1);
|
|
7754
7765
|
}
|
package/package.json
CHANGED