h4sh5 / npm-auto-scanner

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

@truffle/compile-solidity 6.0.79 has 1 guarddog issues #145481

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

{"npm-install-script":[{"code":" \"prepare\": \"yarn build\"","location":"package/package.json:19","message":"The package.json has a script automatically running when the package is installed"}]}

Gracing47 commented 1 year ago

The "prepare" script in the package.json file is designed to automatically run yarn build whenever the package is installed. This ensures that the package is always built correctly during installation.

If you want to keep this behavior and ensure that your package is built consistently, you can leave the "prepare" script as it is.

However, if you prefer to remove the "prepare" script, you can simply delete it from your package.json file. Just keep in mind that this means the build process won't run automatically during package installation unless someone manually runs the build command.

Please make sure that your build process (yarn build) is configured correctly and doesn't produce any unexpected errors.