Suggest 'npm run' instead of 'yarn' to be more generic

This commit is contained in:
Joseph Garrone
2024-06-15 11:27:03 +02:00
parent 69d9b64468
commit 9e70e5c12e
2 changed files with 3 additions and 3 deletions

View File

@ -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")
);
}

View File

@ -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);