export const PROJECT_TYPES = [
  { value: '', label: 'Auto-detect' },
  { value: 'php', label: 'PHP (generic)' },
  { value: 'wordpress', label: 'WordPress' },
  { value: 'drupal', label: 'Drupal' },
  { value: 'laravel', label: 'Laravel' },
  { value: 'backdrop', label: 'Backdrop' },
  { value: 'craftcms', label: 'Craft CMS' },
  { value: 'magento2', label: 'Magento 2' },
  { value: 'shopware6', label: 'Shopware 6' },
  { value: 'symfony', label: 'Symfony' },
  { value: 'typo3', label: 'TYPO3' }
]

export function getTypeLabel(projectType: string): string {
  const found = PROJECT_TYPES.find((t) => t.value === projectType)
  return found?.value ? found.label : 'project'
}
