repowisestage 0.0.42 → 0.0.43

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.
@@ -3103,11 +3103,13 @@ async function resolveNpmCommand() {
3103
3103
  }
3104
3104
  async function runNpmInstall(cwd, pkg2) {
3105
3105
  const npmCmd = await resolveNpmCommand();
3106
+ const nodeDir = dirname5(process.execPath);
3107
+ const augmentedPath = process.env.PATH ? `${nodeDir}:${process.env.PATH}` : nodeDir;
3106
3108
  return new Promise((resolve4, reject) => {
3107
3109
  const child = spawn3(npmCmd, ["install", "--no-audit", "--no-fund", "--silent", pkg2], {
3108
3110
  cwd,
3109
3111
  stdio: ["ignore", "pipe", "pipe"],
3110
- env: { ...process.env }
3112
+ env: { ...process.env, PATH: augmentedPath }
3111
3113
  });
3112
3114
  let stderr = "";
3113
3115
  child.stderr.on("data", (chunk) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repowisestage",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "type": "module",
5
5
  "description": "AI-optimized codebase context generator",
6
6
  "bin": {