@datapos/datapos-development 0.3.245 → 0.3.246
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.
|
@@ -7750,17 +7750,17 @@ async function ep(e = !1) {
|
|
|
7750
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
7751
|
const a = Bh(s);
|
|
7752
7752
|
if (s === "app")
|
|
7753
|
-
oe("7️⃣
|
|
7753
|
+
oe("7️⃣ Register module"), await Mh();
|
|
7754
7754
|
else if (s === "engine")
|
|
7755
|
-
oe("7️⃣
|
|
7755
|
+
oe("7️⃣ Register module"), await ys(), await vs("datapos-engine-eu");
|
|
7756
7756
|
else if (a === void 0)
|
|
7757
|
-
oe("7️⃣
|
|
7757
|
+
oe("7️⃣ Registration not required.");
|
|
7758
7758
|
else {
|
|
7759
|
-
oe("7️⃣
|
|
7759
|
+
oe("7️⃣ Register module"), await ys();
|
|
7760
7760
|
const o = i.id.slice(Math.max(0, i.id.lastIndexOf("-") + 1));
|
|
7761
7761
|
await vs(`datapos-engine-eu/${a}/${o}`);
|
|
7762
7762
|
}
|
|
7763
|
-
await Ee("8️⃣
|
|
7763
|
+
await Ee("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]), Fe(`Project version '${t.version}' released.`);
|
|
7764
7764
|
} catch (t) {
|
|
7765
7765
|
console.error("❌ Error releasing project.", t), process.exit(1);
|
|
7766
7766
|
}
|
package/package.json
CHANGED