Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • When the Unified Agent identifies a package.json file, it tries to determine whether it is an NPM or a yarn project based on the relevant lock file. If a yarn.lock is identified, then the yarn resolution is performed, otherwise, if package-lock.json is identified NPM resolution is performed. Only in the case in which both lock files are found, the Unified Agent will use the npm.yarnProject parameter to determine which resolution to perform.

  • NPM and Yarn configuration are optimized by automatically executing the relevant pre-step (npm install or yarn install) based on the lock file detected (yarn.lock or package-lock.json) when npm.runPreStep = true.

For more information, see the Unified Agent Configuration Parameters page.This page is available at: https://docs.mend.io/bundle/unified_agent/page/npm_and_yarn_integration.html