diff --git a/cmd/npmExecuteScripts_generated.go b/cmd/npmExecuteScripts_generated.go index 5fb1554d2a..1688d7174c 100644 --- a/cmd/npmExecuteScripts_generated.go +++ b/cmd/npmExecuteScripts_generated.go @@ -128,7 +128,7 @@ func NpmExecuteScriptsCommand() *cobra.Command { Long: `### Lock file detection: - If ` + "`" + `package-lock.json` + "`" + ` is found → runs ` + "`" + `npm ci` + "`" + ` - - If ` + "`" + `yarn.lock.json` + "`" + ` is found → runs ` + "`" + `yarn install --frozen-lockfile` + "`" + ` + - If ` + "`" + `yarn.lock` + "`" + ` is found → runs ` + "`" + `yarn install --frozen-lockfile` + "`" + ` - If ` + "`" + `pnpm-lock.yaml` + "`" + ` is found → runs ` + "`" + `pnpm install --frozen-lockfile` + "`" + ` - If no lock file is found → defaults to ` + "`" + `npm install` + "`" + ` and continues execution diff --git a/resources/metadata/npmExecuteScripts.yaml b/resources/metadata/npmExecuteScripts.yaml index 0bdd04939e..6ea6654533 100644 --- a/resources/metadata/npmExecuteScripts.yaml +++ b/resources/metadata/npmExecuteScripts.yaml @@ -7,7 +7,7 @@ metadata: ### Lock file detection: - If `package-lock.json` is found → runs `npm ci` - - If `yarn.lock.json` is found → runs `yarn install --frozen-lockfile` + - If `yarn.lock` is found → runs `yarn install --frozen-lockfile` - If `pnpm-lock.yaml` is found → runs `pnpm install --frozen-lockfile` - If no lock file is found → defaults to `npm install` and continues execution