mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +00:00
feat(config): add vuejs as a type
This commit is contained in:
parent
22e5e7aed5
commit
b3f61a43da
|
@ -26,7 +26,7 @@ final class ValidateConfigurationData
|
|||
if (0 < $violations->count()) {
|
||||
throw new \RuntimeException('Configuration is invalid.');
|
||||
}
|
||||
|
||||
|
||||
return $next([$configurationData, $configurationDataDto]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ final class Config
|
|||
#[Assert\NotBlank]
|
||||
public string $name;
|
||||
|
||||
#[Assert\Choice(choices: ['drupal-project', 'fractal', 'laravel', 'php-library'])]
|
||||
#[Assert\Choice(choices: ['drupal-project', 'fractal', 'laravel', 'php-library', 'vuejs'])]
|
||||
#[Assert\NotBlank]
|
||||
public string $type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue