mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
refactor: simplify package manager flags
This commit is contained in:
@@ -27,11 +27,12 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
|
||||
flags.push(chalk.red("--no-git"));
|
||||
}
|
||||
|
||||
// Updated package manager flag handling
|
||||
if (
|
||||
config.packageManager &&
|
||||
config.packageManager !== DEFAULT_CONFIG.packageManager
|
||||
) {
|
||||
flags.push(chalk.magenta(`--package-manager ${config.packageManager}`));
|
||||
flags.push(chalk.magenta(`--${config.packageManager}`));
|
||||
}
|
||||
|
||||
for (const feature of config.features) {
|
||||
|
||||
Reference in New Issue
Block a user