From 9e70e5c12ea866e230c242eafdc624dcc3483400 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 15 Jun 2024 11:27:03 +0200 Subject: [PATCH] Suggest 'npm run' instead of 'yarn' to be more generic --- src/bin/add-story.ts | 2 +- src/bin/start-keycloak/start-keycloak.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/add-story.ts b/src/bin/add-story.ts index 05e61867..a4e39aab 100644 --- a/src/bin/add-story.ts +++ b/src/bin/add-story.ts @@ -103,7 +103,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions }) `${chalk.green("✓")} ${chalk.bold( pathJoin(".", pathRelative(process.cwd(), targetFilePath)) )} copy pasted from the Keycloakify source code into your project`, - `You can start storybook with ${chalk.bold("yarn storybook")}` + `You can start storybook with ${chalk.bold("npm run storybook")}` ].join("\n") ); } diff --git a/src/bin/start-keycloak/start-keycloak.ts b/src/bin/start-keycloak/start-keycloak.ts index 4db73c13..43029820 100644 --- a/src/bin/start-keycloak/start-keycloak.ts +++ b/src/bin/start-keycloak/start-keycloak.ts @@ -99,7 +99,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions }) if (!isAppBuildSuccess) { console.log( chalk.red( - `App build failed, exiting. Try running 'yarn build-keycloak-theme' and see what's wrong.` + `App build failed, exiting. Try running 'npm run build-keycloak-theme' and see what's wrong.` ) ); process.exit(1); @@ -113,7 +113,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions }) if (!isKeycloakifyBuildSuccess) { console.log( chalk.red( - `Keycloakify build failed, exiting. Try running 'yarn build-keycloak-theme' and see what's wrong.` + `Keycloakify build failed, exiting. Try running 'npm run build-keycloak-theme' and see what's wrong.` ) ); process.exit(1);