@enonic/cli-test
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "@enonic/cli-test", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Command-line interface for Enonic XP", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"scripts": { | ||
"postinstall": "node postinstall.js install --foreground-scripts --loglevel verbose", | ||
"postinstall": "node postinstall.js install", | ||
"preuninstall": "node postinstall.js uninstall" | ||
@@ -11,0 +11,0 @@ }, |
@@ -146,3 +146,6 @@ #!/usr/bin/env node | ||
var shellCommand = ''; | ||
var src = `./dist/enonic_${PLATFORM_MAPPING[process.platform]}_${ARCH_MAPPING[process.arch]}/${opts.binName}`; | ||
var target = `./bin/${opts.binName}`; | ||
await fs.copyFile(src, target); | ||
/* | ||
if (process.platform === "win32") { | ||
@@ -155,2 +158,3 @@ shellCommand = `xcopy .\\dist\\enonic_${PLATFORM_MAPPING[process.platform]}_${ARCH_MAPPING[process.arch]}\\${opts.binName} .\\bin\\ /I /Y`; | ||
await execShellCommand(shellCommand); | ||
*/ | ||
await verifyAndPlaceBinary(opts.binName, opts.binPath, callback); | ||
@@ -157,0 +161,0 @@ } |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
200990678
196