@datapos/datapos-development 0.3.228 → 0.3.229
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.
|
@@ -7668,7 +7668,7 @@ async function li(e) {
|
|
|
7668
7668
|
return await $.readFile(e, "utf8");
|
|
7669
7669
|
}
|
|
7670
7670
|
async function Ae(e, t, i = [], s = !1) {
|
|
7671
|
-
return We(`${e}. Spawn command: ${t} ${i.join(" ")}`), new Promise((a, o) => {
|
|
7671
|
+
return We(`${e}. Spawn command: '${t} ${i.join(" ")}'`), new Promise((a, o) => {
|
|
7672
7672
|
Nr(t, i, { stdio: "inherit" }).on("close", (d) => {
|
|
7673
7673
|
d === 0 || s ? a() : o(new Error(`${t} exited with code ${d}`));
|
|
7674
7674
|
});
|
|
@@ -7713,7 +7713,7 @@ async function Zh() {
|
|
|
7713
7713
|
try {
|
|
7714
7714
|
Ne("Synchronise Project with GitHub");
|
|
7715
7715
|
const e = await St("package.json");
|
|
7716
|
-
We("Bump project version"), await _r("1️⃣", e), await _e("", "git", ["add", "."]), await _e("", "git", ["commit", "-m", `"v${e.version}"`]), await _e("", "git", ["push", "origin", "main:main"]), Ve(`Project version ${e.version} synchronised with GitHub.`);
|
|
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
7717
|
} catch (e) {
|
|
7718
7718
|
console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
|
|
7719
7719
|
}
|
package/package.json
CHANGED