From 30cf248eadfbe3ad26b3072a485df0ea03d26184 Mon Sep 17 00:00:00 2001 From: Eran Turgeman <81029514+eranturgeman@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:40:25 +0200 Subject: [PATCH] Additions to support Pnpm in frogbot (#1150) --- utils/coreutils/techutils.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/utils/coreutils/techutils.go b/utils/coreutils/techutils.go index ca63dc653..fa12fc2b2 100644 --- a/utils/coreutils/techutils.go +++ b/utils/coreutils/techutils.go @@ -87,11 +87,12 @@ var technologiesData = map[Technology]TechData{ applicabilityScannable: true, }, Pnpm: { - indicators: []string{"pnpm-lock.yaml"}, - exclude: []string{".yarnrc.yml", "yarn.lock", ".yarn"}, - packageDescriptors: []string{"package.json"}, - packageVersionOperator: "@", - applicabilityScannable: true, + indicators: []string{"pnpm-lock.yaml"}, + exclude: []string{".yarnrc.yml", "yarn.lock", ".yarn"}, + packageDescriptors: []string{"package.json"}, + packageVersionOperator: "@", + packageInstallationCommand: "update", + applicabilityScannable: true, }, Yarn: { indicators: []string{".yarnrc.yml", "yarn.lock", ".yarn", ".yarnrc"},