This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Resources\Components; | |
use Filament\Forms\Components; | |
use Filament\Forms\Components\Grid; | |
use Filament\Forms\Components\Group; | |
use Filament\Forms\Components\TextInput; | |
use Filament\Forms\Set; | |
use Illuminate\Support\Str; | |
use LiveWire\Component as Livewire; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If has not commited changes - stopr script | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Please commit your changes before deploying" | |
exit 1 | |
fi | |
# If has no node_modules - install it | |
if [ ! -d "node_modules" ]; then | |
bun install | |
fi |