.github
.storybook
scripts
build
shared
cacheDirPath.ts
downloadKeycloakDefaultTheme.ts
run.ts
startRebuildOnSrcChange.ts
build-storybook.ts
dump-keycloak-realm.ts
generate-i18n-messages.ts
link-in-app.ts
link-in-starter.ts
start-storybook.ts
src
stories
test
.all-contributorsrc
.gitattributes
.gitignore
.prettierignore
.prettierrc.json
CONTRIBUTING.md
LICENSE
README.md
package.json
renovate.json
tsproject.json
vitest.config.ts
yarn.lock
9 lines
261 B
TypeScript
9 lines
261 B
TypeScript
import * as child_process from "child_process";
|
|
import chalk from "chalk";
|
|
|
|
export function run(command: string, options?: { cwd: string }) {
|
|
console.log(chalk.grey(`$ ${command}`));
|
|
|
|
child_process.execSync(command, { stdio: "inherit", ...options });
|
|
}
|