Skip to content

Commit

Permalink
Update nova files generators
Browse files Browse the repository at this point in the history
  • Loading branch information
omides327 committed Aug 15, 2022
1 parent 6092af8 commit b21dbf6
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 12 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ composer require idel/laravel-modular

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

``` bash
php artisan vendor:publish --provider="Idel\Modular\ServiceProvider"
```

## Pages Link

Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
}
}
},
"post-update-cmd": [
"@php artisan vendor:publish --provider=Idel\Modular\ServiceProvider
],
"config": {
"minimum-stability": "dev",
"preferred-install": "dist",
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeActionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaAction.stub';
return __DIR__.'/../../../../stubs/nova/novaAction.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeCardCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaCard.stub';
return __DIR__.'/../../../../stubs/nova/novaCard.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeDashboardCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaDashboard.stub';
return __DIR__.'/../../../../stubs/nova/novaDashboard.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeFieldCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaField.stub';
return __DIR__.'/../../../../stubs/nova/novaField.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeFilterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaFilter.stub';
return __DIR__.'/../../../../stubs/nova/novaFilter.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeLensCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaLens.stub';
return __DIR__.'/../../../../stubs/nova/novaLens.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakePartitionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaPartition.stub';
return __DIR__.'/../../../../stubs/nova/novaPartition.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeResourceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaResource.stub';
return __DIR__.'/../../../../stubs/nova/novaResource.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Generators/Nova/MakeValueCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../../stubs/nova/novaValue.stub';
return __DIR__.'/../../../../stubs/nova/novaValue.stub';
}

/**
Expand Down

0 comments on commit b21dbf6

Please sign in to comment.