Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Oct 18, 2024
1 parent f38b4cd commit f6b28e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/e2e/cli-e2e-original/tooling/original.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@ function verdaccioTargets(): Record<string, TargetConfiguration> {
function npmTargets(
projectConfiguration: ProjectConfiguration & { name: string }
): Record<string, TargetConfiguration> {
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',
Expand Down

0 comments on commit f6b28e1

Please sign in to comment.