mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
revert(astro): move projects into a language
This reverts commit f5803212e5
.
This commit is contained in:
parent
f5803212e5
commit
9c450a850e
|
@ -28,9 +28,9 @@ final class CreateListOfFilesToGenerate
|
||||||
switch (strtolower($configurationDataDto->type)) {
|
switch (strtolower($configurationDataDto->type)) {
|
||||||
case (strtolower(ProjectType::Astro->name)):
|
case (strtolower(ProjectType::Astro->name)):
|
||||||
$filesToGenerate = collect([
|
$filesToGenerate = collect([
|
||||||
['astro/typescript/.envrc', '.envrc'],
|
['astro/.envrc', '.envrc'],
|
||||||
['astro/typescript/flake.nix', 'flake.nix'],
|
['astro/flake.nix', 'flake.nix'],
|
||||||
['astro/typescript/tsconfig.json', 'tsconfig.json'],
|
['astro/tsconfig.json', 'tsconfig.json'],
|
||||||
])->map(function (array $file) {
|
])->map(function (array $file) {
|
||||||
return new TemplateFile(
|
return new TemplateFile(
|
||||||
data: $file[0],
|
data: $file[0],
|
||||||
|
|
Loading…
Reference in a new issue