@mono-labs/cli 0.0.132 → 0.0.134

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.
@@ -33,7 +33,8 @@ export function runBackground(
33
33
  const child = spawn(outCmd, {
34
34
  shell: true,
35
35
  stdio: attached ? 'inherit' : 'ignore',
36
- env: { ...process.env, ...expandedEnv, PATH },
36
+ //env: { ...process.env, ...expandedEnv, PATH },
37
+ env: { ...process.env, ...expandedEnv },
37
38
  detached: !attached && !isWin,
38
39
  windowsHide: !attached && isWin,
39
40
  });
@@ -24,7 +24,8 @@ export function runForeground(cmd, envObj = {}, options = {}) {
24
24
 
25
25
  const child = spawn(newCmd, {
26
26
  shell: true,
27
- env: { ...newEnv, PATH },
27
+ //env: { ...newEnv, PATH },
28
+ env: { ...newEnv },
28
29
  stdio: ['inherit', 'pipe', 'pipe'],
29
30
  });
30
31
 
@@ -20,15 +20,12 @@ export function filterUnwantedEnvVars(env) {
20
20
  'LOGONSERVER',
21
21
  'NUMBER_OF_PROCESSORS',
22
22
  'OS',
23
- 'Path',
24
23
  'COREPACK',
25
24
  'PATHEXT',
26
25
  'PROCESSOR',
27
26
  'Program',
28
27
  'PSModule',
29
28
  'PUBLIC',
30
- 'SystemDrive',
31
- 'SystemRoot',
32
29
  'TEMP',
33
30
  'TMP',
34
31
  'USERDOMAIN',
@@ -54,7 +51,6 @@ export function filterUnwantedEnvVars(env) {
54
51
  'LANG',
55
52
  'OneDrive',
56
53
  'ORIGINAL_XDG_CURRENT_DESKTOP',
57
- 'PATH',
58
54
  'PROJECT_CWD',
59
55
  'PROMPT',
60
56
  'PWD',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mono-labs/cli",
3
- "version": "0.0.132",
3
+ "version": "0.0.134",
4
4
  "description": "A CLI tool for building and deploying projects",
5
5
  "type": "module",
6
6
  "main": "index.js",