@rnbsolucoes/axion-code 0.1.50 → 0.1.52

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/npm/bin/axion.mjs CHANGED
@@ -312,9 +312,11 @@ async function updateCommandHandler(args) {
312
312
  }
313
313
  const source = info.source === packageJSON.name ? packageJSON.name : updateSource;
314
314
  console.log(`Updating Axion Code from ${source}...`);
315
+ // shell:true so Windows resolves npm.cmd (spawning bare "npm" with shell:false
316
+ // fails with ENOENT there). Args are fixed constants, so no injection risk.
315
317
  const result = spawnSync("npm", ["install", "-g", source], {
316
318
  stdio: "inherit",
317
- shell: false
319
+ shell: true
318
320
  });
319
321
  if (result.error) {
320
322
  console.error(result.error.message);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnbsolucoes/axion-code",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "description": "Axion Code CLI harness for the Axion ecosystem.",
5
5
  "type": "module",
6
6
  "repository": {