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 yarn.lock is identified, the yarn resolution is performed. In addition, if the npm.runPreStep is set, thethen yarn installis executed.
If package-lock.json is identified, the NPM resolution is performed. In addition, if the npm.runPreStep is set, then npm installis executed.

...

For more information, see the Unified Agent Configuration Parameters page.

NOTE: Before you begin, make sure that the relevant package managers are installed. For details, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/1140852201/Getting+Started+with+the+Unified+Agent#Prerequisites.