@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.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
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
|
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
|
});
|