Add base application project yarn release file (#16238)

As title
This commit is contained in:
martmull
2025-12-02 13:10:50 +01:00
committed by GitHub
parent 5d4170d4c3
commit 6ea817dd6c
12 changed files with 352 additions and 97 deletions
@@ -0,0 +1,13 @@
import chalk from 'chalk';
import { promisify } from 'util';
import { exec } from 'child_process';
const execPromise = promisify(exec);
export const install = async (root: string) => {
try {
await execPromise('yarn', { cwd: root });
} catch (error: any) {
console.error(chalk.red('yarn install failed:'), error.stdout);
}
};