From dd82024ed1b591fd11af6a50f48bb8a251a183b3 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Sep 2024 19:15:38 +0300 Subject: [PATCH] remove logs --- e2e-examples/cli-e2e-graph/tooling/graph.plugin.ts | 5 +---- e2e-examples/cli-e2e-pretarget/tooling/pretarget.plugin.ts | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/e2e-examples/cli-e2e-graph/tooling/graph.plugin.ts b/e2e-examples/cli-e2e-graph/tooling/graph.plugin.ts index f879d8b4..4e993528 100644 --- a/e2e-examples/cli-e2e-graph/tooling/graph.plugin.ts +++ b/e2e-examples/cli-e2e-graph/tooling/graph.plugin.ts @@ -25,10 +25,7 @@ export const createNodes: CreateNodes = [ const tags = projectConfiguration?.tags ?? []; const isPublishable = tags.some((target) => target === 'publishable'); const isNpmEnv = tags.some((target) => target === 'npm-env'); - if (isNpmEnv) { - console.info('verdaccioTargets' + projectConfiguration.name); - } - isPublishable && console.info('npmTargets' + projectConfiguration.name); + return { projects: { [root]: { diff --git a/e2e-examples/cli-e2e-pretarget/tooling/pretarget.plugin.ts b/e2e-examples/cli-e2e-pretarget/tooling/pretarget.plugin.ts index 9bf61021..11988afa 100644 --- a/e2e-examples/cli-e2e-pretarget/tooling/pretarget.plugin.ts +++ b/e2e-examples/cli-e2e-pretarget/tooling/pretarget.plugin.ts @@ -25,10 +25,7 @@ export const createNodes: CreateNodes = [ const tags = projectConfiguration?.tags ?? []; const isPublishable = tags.some((target) => target === 'publishable'); const isNpmEnv = tags.some((target) => target === 'npm-env'); - if (isNpmEnv) { - console.info('verdaccioTargets' + projectName); - } - isPublishable && console.info('npmTargets' + projectName); + return { projects: { [root]: {