Skip to content

Commit

Permalink
🎡 ci: update
Browse files Browse the repository at this point in the history
- Python language:

* Remove Hatch (project manager) option

* Provide some common Python Web Frameworks

* Additional frameworks' addons install in new project

- Common: Create more structured table of project's detail when first initialize a project
  • Loading branch information
jacquindev committed Dec 20, 2024
1 parent 135e9e4 commit 580fb90
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dotposh/Modules/New-Project.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@ function Initialize-ProjectPerLangNode {
Write-Host "-----------------------------------------------------------------------------------" -ForegroundColor DarkGray
$tableHeading = (gum style --bold --italic --border="rounded" --padding="0 4" --align="center" --foreground="#cba6f7" --border-foreground="#89b4fa" "PROJECT'S PER LANGUAGE SETTINGS CONFIGURATION")
$tableHeading
[void]$table.Rows.Add("Server Routing", "$serverRouting")
[void]$table.Rows.Add("SSR and SSG", "$ssr")
[void]$table.Rows.Add("File Styling", "$style")
[void]$table.Rows.Add("Encapsulation View", "$view")
$table | Format-Table -AutoSize -Wrap

Write-Host "For more information, see https://angular.dev/overview" -ForegroundColor Blue
Expand Down Expand Up @@ -622,7 +626,7 @@ function Initialize-ProjectPerLangNode {
Default { return }
}

$cmd += " --no-interaction"
$cmd += " --quiet --no-interaction"
Invoke-Expression $cmd
Remove-Variable cmd

Expand Down Expand Up @@ -698,7 +702,7 @@ function Initialize-ProjectPerLangNode {

$getSail = $(Write-Host "Install Sail Into Your Current Application? (y/n) " -NoNewline -ForegroundColor Cyan; Read-Host)
if ($getSail.ToUpper() -eq 'Y') {
composer require laravel/sail --dev
composer require laravel/sail --dev --quiet
php artisan sail:install --devcontainer --quiet
}

Expand All @@ -722,7 +726,7 @@ function Initialize-ProjectPerLangNode {
Default { return }
}
foreach ($service in $services) {
php artisan sail:add $service --silent --no-interaction
php artisan sail:add $service --silent --no-interaction --quiet
}
}

Expand Down

0 comments on commit 580fb90

Please sign in to comment.