create-merlin-brain 3.0.3 → 3.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/bin/install.cjs +5 -1
- package/files/merlin/VERSION +1 -1
- package/package.json +1 -1
package/bin/install.cjs
CHANGED
|
@@ -769,7 +769,11 @@ async function install() {
|
|
|
769
769
|
|
|
770
770
|
if (needsInstall) {
|
|
771
771
|
const localVersion = require('../package.json').version;
|
|
772
|
-
|
|
772
|
+
// --ignore-scripts prevents recursive postinstall: when running via npx,
|
|
773
|
+
// the inner global install would trigger its own postinstall, whose
|
|
774
|
+
// cleanupLegacy() deletes the outer npx cache dir (since ownDir is now
|
|
775
|
+
// the global path, not the npx path), causing npm ENOENT on finalize.
|
|
776
|
+
execSync(`npm install -g create-merlin-brain@${localVersion} --ignore-scripts`, { stdio: 'pipe' });
|
|
773
777
|
logSuccess('Installed merlin-brain globally');
|
|
774
778
|
logSuccess('All terminals now share the same fast binary');
|
|
775
779
|
}
|
package/files/merlin/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.4
|
package/package.json
CHANGED