From f6b28e103b32e9e78b5eaec39ab7a4e49639a8d7 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 18 Oct 2024 20:29:36 +0200 Subject: [PATCH] wip --- examples/e2e/cli-e2e-original/tooling/original.plugin.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/e2e/cli-e2e-original/tooling/original.plugin.ts b/examples/e2e/cli-e2e-original/tooling/original.plugin.ts index 57ba1518..f79125e4 100644 --- a/examples/e2e/cli-e2e-original/tooling/original.plugin.ts +++ b/examples/e2e/cli-e2e-original/tooling/original.plugin.ts @@ -54,12 +54,16 @@ function verdaccioTargets(): Record { function npmTargets( projectConfiguration: ProjectConfiguration & { name: string } ): Record { - const { root } = projectConfiguration; + const { root, name, tags } = projectConfiguration; const outputPath = getBuildOutputPathFromBuildTarget(projectConfiguration); const { name: packageName, version: pkgVersion } = readJsonFile( join(root, 'package.json') ); + // + if(!tags.some(i => i === 'type:example')) { + return {}; + } return { 'original-npm-publish': { command: 'npm publish',