@datapos/datapos-development 0.3.373 → 0.3.376
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
|
@@ -7766,12 +7766,13 @@ async function qh() {
|
|
|
7766
7766
|
if (!i.ok) throw new Error(await i.text());
|
|
7767
7767
|
}
|
|
7768
7768
|
async function kr(e) {
|
|
7769
|
+
console.log(2222, e);
|
|
7769
7770
|
const t = e.id, i = {
|
|
7770
7771
|
body: JSON.stringify(e),
|
|
7771
7772
|
headers: { "Content-Type": "application/json" },
|
|
7772
7773
|
method: "PUT"
|
|
7773
7774
|
}, r = await fetch(`https://api.datapos.app/states/${t}`, i);
|
|
7774
|
-
if (!r.ok) throw new Error(await r.text());
|
|
7775
|
+
if (console.log(3333, r), !r.ok) throw new Error(await r.text());
|
|
7775
7776
|
}
|
|
7776
7777
|
async function Sr(e, t) {
|
|
7777
7778
|
const i = `v${e.version}`;
|
|
@@ -7828,7 +7829,7 @@ async function vl() {
|
|
|
7828
7829
|
if (await Ie("3️⃣ Bundle project", "vite", ["build"]), await Se("4️⃣ Stage changes", "git", ["add", "."]), await Se("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Se("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), i.typeId === "app")
|
|
7829
7830
|
re("7️⃣ Register module"), await qh();
|
|
7830
7831
|
else if (i.typeId === "engine")
|
|
7831
|
-
re("7️⃣ Register module"), await kr(t), await Sr(e, `datapos-engine-eu/${i.uploadGroupName}`);
|
|
7832
|
+
re("7️⃣ Register module"), console.log(1111, t), await kr(t), await Sr(e, `datapos-engine-eu/${i.uploadGroupName}`);
|
|
7832
7833
|
else if (i.uploadGroupName === void 0)
|
|
7833
7834
|
re("7️⃣ Registration NOT required.");
|
|
7834
7835
|
else {
|