Skip to content

Commit

Permalink
Improves console output of install command (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Jul 20, 2022
1 parent 172d398 commit 0568bd2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
],
"require": {
"php": "^8.0.2",
"illuminate/filesystem": "^9.0",
"illuminate/support": "^9.0",
"illuminate/validation": "^9.0"
"illuminate/console": "^9.21",
"illuminate/filesystem": "^9.21",
"illuminate/support": "^9.21",
"illuminate/validation": "^9.21"
},
"conflict": {
"laravel/framework": "<9.19.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Console/InstallsApiStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function installApiStack()
// Cleaning...
$this->removeScaffoldingUnnecessaryForApis();

$this->info('Breeze scaffolding installed successfully.');
$this->components->info('Breeze scaffolding installed successfully.');
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Console/InstallsBladeStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function installBladeStack()
copy(__DIR__.'/../../stubs/default/resources/css/app.css', resource_path('css/app.css'));
copy(__DIR__.'/../../stubs/default/resources/js/app.js', resource_path('js/app.js'));

$this->info('Breeze scaffolding installed successfully.');
$this->comment('Please execute the "npm install" && "npm run dev" commands to build your assets.');
$this->components->info('Breeze scaffolding installed successfully.');
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
}
}
8 changes: 4 additions & 4 deletions src/Console/InstallsInertiaStacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ protected function installInertiaVueStack()
$this->installInertiaVueSsrStack();
}

$this->info('Breeze scaffolding installed successfully.');
$this->comment('Please execute the "npm install" && "npm run dev" commands to build your assets.');
$this->components->info('Breeze scaffolding installed successfully.');
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
}

/**
Expand Down Expand Up @@ -197,8 +197,8 @@ protected function installInertiaReactStack()
$this->installInertiaReactSsrStack();
}

$this->info('Breeze scaffolding installed successfully.');
$this->comment('Please execute the "npm install" && "npm run dev" commands to build your assets.');
$this->components->info('Breeze scaffolding installed successfully.');
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
}

/**
Expand Down

0 comments on commit 0568bd2

Please sign in to comment.