feat(core): show version number when generating a new workspace (#7570)
This commit is contained in:
parent
738708c11c
commit
cc2aa9feba
@ -128,12 +128,13 @@ if (parsedArgs.help) {
|
|||||||
(async function main() {
|
(async function main() {
|
||||||
const packageManager: PackageManager =
|
const packageManager: PackageManager =
|
||||||
parsedArgs.packageManager || detectInvokedPackageManager();
|
parsedArgs.packageManager || detectInvokedPackageManager();
|
||||||
|
|
||||||
const { name, cli, preset, appName, style, nxCloud } = await getConfiguration(
|
const { name, cli, preset, appName, style, nxCloud } = await getConfiguration(
|
||||||
parsedArgs
|
parsedArgs
|
||||||
);
|
);
|
||||||
|
|
||||||
output.log({
|
output.log({
|
||||||
title: 'Nx is creating your workspace.',
|
title: `Nx is creating your v${cliVersion} workspace.`,
|
||||||
bodyLines: [
|
bodyLines: [
|
||||||
'To make sure the command works reliably in all environments, and that the preset is applied correctly,',
|
'To make sure the command works reliably in all environments, and that the preset is applied correctly,',
|
||||||
`Nx will run "${packageManager} install" several times. Please wait.`,
|
`Nx will run "${packageManager} install" several times. Please wait.`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user