Suggest 'npm run' instead of 'yarn' to be more generic
This commit is contained in:
@ -103,7 +103,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
`${chalk.green("✓")} ${chalk.bold(
|
`${chalk.green("✓")} ${chalk.bold(
|
||||||
pathJoin(".", pathRelative(process.cwd(), targetFilePath))
|
pathJoin(".", pathRelative(process.cwd(), targetFilePath))
|
||||||
)} copy pasted from the Keycloakify source code into your project`,
|
)} 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")
|
].join("\n")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -99,7 +99,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
if (!isAppBuildSuccess) {
|
if (!isAppBuildSuccess) {
|
||||||
console.log(
|
console.log(
|
||||||
chalk.red(
|
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);
|
process.exit(1);
|
||||||
@ -113,7 +113,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
if (!isKeycloakifyBuildSuccess) {
|
if (!isKeycloakifyBuildSuccess) {
|
||||||
console.log(
|
console.log(
|
||||||
chalk.red(
|
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);
|
process.exit(1);
|
||||||
|
Reference in New Issue
Block a user