The CLI package has a postinstall script which validates plug-ins:
|
"postinstall": "node ./scripts/validatePlugins && node ./scripts/printSuccessMessage", |
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 postinstall script, such as adding a check when the CLI launches to see if version has been updated.
The CLI package has a
postinstallscript which validates plug-ins:zowe-cli/packages/cli/package.json
Line 46 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
postinstallscript, such as adding a check when the CLI launches to see if version has been updated.