feat: matching plugin type to output

Signed-off-by: Alper Altay <alper.altay@lego.com>
This commit is contained in:
Alper Altay
2024-06-24 12:59:04 +02:00
parent 0c5aa5a007
commit b8230e4753
2 changed files with 2 additions and 2 deletions
@@ -67,7 +67,7 @@ describe('pluginCommon factory', () => {
expect(modified).toBe(true);
expectLogsToMatch(output, [
'Creating backend plugin backstage-plugin-test-common',
'Creating common plugin package backstage-plugin-test-common',
'Checking Prerequisites:',
`availability plugins${sep}test-common`,
'creating temp dir',
@@ -46,7 +46,7 @@ export const pluginCommon = createFactory<Options>({
});
Task.log();
Task.log(`Creating backend plugin ${chalk.cyan(name)}`);
Task.log(`Creating common plugin package ${chalk.cyan(name)}`);
const targetDir = ctx.isMonoRepo
? paths.resolveTargetRoot('plugins', suffix)