@kelceyp/caw 1.0.7 → 1.0.9
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/caw.js +5 -2
- package/package.json +1 -1
package/dist/caw.js
CHANGED
|
@@ -10644,7 +10644,10 @@ function isProcessAlive(pid) {
|
|
|
10644
10644
|
}
|
|
10645
10645
|
}
|
|
10646
10646
|
function getPm2Name(envDir) {
|
|
10647
|
-
|
|
10647
|
+
const base = path3.basename(envDir).replace(/^\./, "");
|
|
10648
|
+
if (base === "caw")
|
|
10649
|
+
return "caw";
|
|
10650
|
+
return `caw-${base}`;
|
|
10648
10651
|
}
|
|
10649
10652
|
function isPm2Installed() {
|
|
10650
10653
|
try {
|
|
@@ -11618,6 +11621,6 @@ if (!globalCheck.ok) {
|
|
|
11618
11621
|
console.error(globalCheck.message);
|
|
11619
11622
|
process.exit(1);
|
|
11620
11623
|
}
|
|
11621
|
-
var LAUNCHER_VERSION = "1.0.
|
|
11624
|
+
var LAUNCHER_VERSION = "1.0.8";
|
|
11622
11625
|
var app = create().name("caw").version(LAUNCHER_VERSION).command(start_default.create()).command(stop_default.create()).command(status_default.create()).command(logs_default.create()).command(upgrade_default.create());
|
|
11623
11626
|
await app.run(process.argv.slice(2));
|