staklink 0.3.0 → 0.3.5
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/proxy-server.cjs +80303 -202
- package/dist/staklink-cli.cjs +11 -2
- package/package.json +1 -1
package/dist/staklink-cli.cjs
CHANGED
|
@@ -3693,7 +3693,16 @@ var PM2Manager = class {
|
|
|
3693
3693
|
async execCommand(command, env) {
|
|
3694
3694
|
const execOpts = {
|
|
3695
3695
|
cwd: this.cwd,
|
|
3696
|
-
|
|
3696
|
+
shell: "/bin/bash",
|
|
3697
|
+
// Use bash explicitly since /bin/sh might have issues
|
|
3698
|
+
env: {
|
|
3699
|
+
...process.env,
|
|
3700
|
+
// Important: inherit ALL environment
|
|
3701
|
+
PATH: process.env.PATH || "/usr/local/bin:/usr/bin:/bin",
|
|
3702
|
+
HOME: process.env.HOME || "/root",
|
|
3703
|
+
...env
|
|
3704
|
+
// Then override with custom env
|
|
3705
|
+
}
|
|
3697
3706
|
};
|
|
3698
3707
|
const { stdout, stderr } = await exec2(command, execOpts);
|
|
3699
3708
|
return stdout || stderr;
|
|
@@ -10896,7 +10905,7 @@ var glob = Object.assign(glob_, {
|
|
|
10896
10905
|
glob.glob = glob;
|
|
10897
10906
|
|
|
10898
10907
|
// src/proxy/version.ts
|
|
10899
|
-
var VERSION = "0.3.
|
|
10908
|
+
var VERSION = "0.3.5";
|
|
10900
10909
|
|
|
10901
10910
|
// src/cli.ts
|
|
10902
10911
|
var STAKLINK_PROXY = "staklink-proxy";
|