nova-package-development icon indicating copy to clipboard operation
nova-package-development copied to clipboard

Generating additional tools into a pre-existing package

Open mattstauffer opened this issue 6 years ago • 1 comments

I have a package (nova-google-analytics) with two metrics. I wanted to add a card, so I ran php artisan nova:card tightenco/nova-google-analytics-another-card and then copied the files out of the generated directory into my existing package repo.

Is there a better way to do this? Or is this the best option for now?

mattstauffer avatar Aug 31 '18 19:08 mattstauffer

I feel like an --external or similar would be a very useful thing for the Nova make commands to all support where they would accept a file path to output the files in, so if you are doing an external package you'd be able to have them immediately placed in the external package, and pulled in via Composer using the path repositories type.

alexbowers avatar Sep 01 '18 01:09 alexbowers