publish tags

Hi. I'm looking a way to publish filament language files for only one language. I could not find where in the vendor/filament folder are the tags defined (--tag=filament-translations). The only piece(s) of code where something is published seems to be
public function packageBooted(): void
{
if ($this->app->runningInConsole()) {
foreach (app(Filesystem::class)->files(__DIR__ . '/../stubs/') as $file) {
$this->publishes([
$file->getRealPath() => base_path("stubs/filament/{$file->getFilename()}"),
], 'filament-stubs');
}
}

Testable::mixin(new TestsActions);
}
public function packageBooted(): void
{
if ($this->app->runningInConsole()) {
foreach (app(Filesystem::class)->files(__DIR__ . '/../stubs/') as $file) {
$this->publishes([
$file->getRealPath() => base_path("stubs/filament/{$file->getFilename()}"),
], 'filament-stubs');
}
}

Testable::mixin(new TestsActions);
}
I also could not find these stubs/filament/ folders. What else to do?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server