@naseej/blox 0.1.14 → 0.1.15
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/dist/run.js +3 -3
- package/package.json +1 -1
package/dist/run.js
CHANGED
|
@@ -31,7 +31,7 @@ var option = (flags, description) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
// package.json
|
|
34
|
-
var version = "0.1.
|
|
34
|
+
var version = "0.1.15";
|
|
35
35
|
|
|
36
36
|
// src/commands/add/index.ts
|
|
37
37
|
var import_fs_extra6 = __toESM(require("fs-extra"));
|
|
@@ -77,7 +77,7 @@ var logWarningSection = (title, content) => {
|
|
|
77
77
|
|
|
78
78
|
// src/services/shell.ts
|
|
79
79
|
var $ = async (bin, options = [], { cwd, onStdout } = {}) => {
|
|
80
|
-
debug(`Command executed: ${bin} ${options.join(" ")}
|
|
80
|
+
debug(`Command executed: "${bin} ${options.join(" ")}" with cwd = ${cwd}`);
|
|
81
81
|
return new Promise(function(resolve, reject) {
|
|
82
82
|
const child = (0, import_node_child_process.spawn)(bin, options, { cwd, shell: true, stdio: ["pipe", "pipe", "pipe"] });
|
|
83
83
|
let error2 = "";
|
|
@@ -185,9 +185,9 @@ var unInit = (cwd) => {
|
|
|
185
185
|
var init = async (cwd) => {
|
|
186
186
|
debug("Init");
|
|
187
187
|
await $("git", ["init"], { cwd });
|
|
188
|
-
await $("git", ["branch", "-m", "main"], { cwd });
|
|
189
188
|
await $("git", ["add", "."], { cwd });
|
|
190
189
|
await $("git", ["commit", "-m", "init"], { cwd });
|
|
190
|
+
await $("git", ["branch", "-m", "main"], { cwd });
|
|
191
191
|
};
|
|
192
192
|
var git = {
|
|
193
193
|
clone,
|