From 76f1b3183d15c54a89c494938fa2cd6751cb0a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Twardziak?= Date: Tue, 15 Oct 2024 20:26:05 +0200 Subject: [PATCH] fix(stencil): show project command on lib generation --- packages/stencil/src/generators/library/generator.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/stencil/src/generators/library/generator.ts b/packages/stencil/src/generators/library/generator.ts index 524d8ca5..daf6aa04 100644 --- a/packages/stencil/src/generators/library/generator.ts +++ b/packages/stencil/src/generators/library/generator.ts @@ -22,6 +22,7 @@ import { } from '@nx/devkit/src/generators/project-name-and-root-utils'; import { assertNotUsingTsSolutionSetup } from '@nx/js/src/utils/typescript/ts-solution-setup'; import { initGenerator as jsInitGenerator } from '@nx/js'; +import { logShowProjectCommand } from '@nx/devkit/src/utils/log-show-project-command'; async function normalizeOptions( host: Tree, @@ -117,7 +118,9 @@ export async function libraryGenerator(host: Tree, schema: RawLibrarySchema) { await formatFiles(host); } - return runTasksInSerial(jsInitTask, initTask); + return runTasksInSerial(jsInitTask, initTask, () => + logShowProjectCommand(options.projectName) + ); } export default libraryGenerator;