Skip to content

Commit

Permalink
refactor: removed Yarn option from package manager selection
Browse files Browse the repository at this point in the history
- The 'Yarn' option has been removed until its configuration is added.
  • Loading branch information
RaulCatalinas committed May 3, 2024
1 parent 459350b commit 72b3c64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils/package-managers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export async function getPackageManger(): Promise<PackageManager> {
try {
const { packageManager } = await inquirer.prompt({
type: 'rawlist',
choices: PACKAGE_MANGERS,
choices: PACKAGE_MANGERS.filter(
packageManager => packageManager !== 'yarn'
),
message: 'Which package manager do you wanna use?',
name: 'packageManager'
})
Expand All @@ -26,3 +28,5 @@ export async function getPackageManger(): Promise<PackageManager> {
process.exit(1)
}
}

await getPackageManger()

0 comments on commit 72b3c64

Please sign in to comment.