@c6fc/spellcraft 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "name": "@c6fc/spellcraft",
9
9
  "description": "Extensible JSonnet CLI platform",
10
- "version": "0.0.3",
10
+ "version": "0.0.4",
11
11
  "main": "src/index.js",
12
12
  "directories": {
13
13
  "lib": "lib"
package/src/index.js CHANGED
@@ -320,7 +320,7 @@ exports.SpellFrame = class SpellFrame {
320
320
  console.log(`[+] Attempting to install ${npmPackage}...`);
321
321
  // Note: `spawnSync` is blocking. For a CLI tool, this might be acceptable.
322
322
  // Consider an async alternative if this needs to be non-blocking.
323
- const install = spawnSync(`npm`, ['install', '--save-dev', npmPackage], { // Using --save-dev for local project context
323
+ const install = spawnSync(`npm`, ['install', '--save', npmPackage], { // Using --save-dev for local project context
324
324
  cwd: baseDir, // Install in the project's node_modules, not renderPath
325
325
  stdio: 'inherit' // Show npm output directly
326
326
  });