Fix #18524 - add instruction to install deps when run with --skip-install

Signed-off-by: Ant Weiss <anton@stagecentral.io>
This commit is contained in:
Ant Weiss
2023-07-03 12:02:51 +03:00
committed by Ant Weiss
parent b5344d21db
commit 76b83a4422
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Post-create message - added instruction to run `yarn install` when app was created with `--skip-install`
+7
View File
@@ -129,6 +129,13 @@ export default async (opts: OptionValues): Promise<void> => {
);
Task.log();
Task.section('All set! Now you might want to');
if (!opts.skipInstall) {
Task.log(
` Install the dependencies: ${chalk.cyan(
`cd ${answers.name} && yarn install`,
)}`,
);
}
Task.log(` Run the app: ${chalk.cyan(`cd ${answers.name} && yarn dev`)}`);
Task.log(
' Set up the software catalog: https://backstage.io/docs/features/software-catalog/configuration',