Skip to content

Commit

Permalink
Merge pull request #178 from Elivandro/main
Browse files Browse the repository at this point in the history
fix: npm install command added to makefile
  • Loading branch information
icarojobs authored Aug 27, 2024
2 parents d967af9 + 9985855 commit 34f5693
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default: env prepare up key-generate populate
default: env prepare up npm key-generate populate
@echo "--> Your environment is ready to use! Access http://laravel.test and enjoy it!"

.PHONY: env
Expand All @@ -17,6 +17,11 @@ up:
@./vendor/bin/sail up --force-recreate -d
@./vendor/bin/sail art storage:link

.PHONY: npm
npm:
@echo "--> Installing NPM dependencies......"
@./vendor/bin/sail npm install

.PHONY: key-generate
key-generate:
@echo "--> Generating new laravel key..."
Expand All @@ -37,4 +42,4 @@ restart: down up

.PHONY: play
play:
@./vendor/bin/sail art play
@./vendor/bin/sail art play
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Enums\ProductTransactionTypeEnum;
use App\Filament\Resources\ProductTransactionResource;
use App\Models\Product;
use Filament\Actions\Action;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\CreateRecord;
use Illuminate\Support\Facades\Auth;
Expand Down

0 comments on commit 34f5693

Please sign in to comment.