The Secrets SDK package has an install script which checks for prebuilds and falls back to building from source if they are missing:
|
"install": "node scripts/prebuildCheck.js || npm run rebuild", |
In npm 12, lifecycle scripts will be disabled by default and controlled by the allowScripts option:
Install scripts are off by default. preinstall, install, and postinstall from dependencies won't run unless explicitly allowed.
Source: https://github.com/orgs/community/discussions/198547
Consider alternatives for the install script - in most cases it may not be needed if prebuilds are valid.
The Secrets SDK package has an
installscript which checks for prebuilds and falls back to building from source if they are missing:zowe-cli/packages/secrets/package.json
Line 42 in 71e5573
In npm 12, lifecycle scripts will be disabled by default and controlled by the
allowScriptsoption:Source: https://github.com/orgs/community/discussions/198547
Consider alternatives for the
installscript - in most cases it may not be needed if prebuilds are valid.