Skip to content

Commit

Permalink
fix(stencil): show project command on lib generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-twardziak authored and DominikPieper committed Oct 16, 2024
1 parent f476ef8 commit 76f1b31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/stencil/src/generators/library/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;

0 comments on commit 76f1b31

Please sign in to comment.