🔧 Update dependencies (composer.lock) and adjust project configuration files for compatibility with updated packages.

- 📝 Adjust `.junie/guidelines.md` to reflect updated dependencies and formatting rules.
- 🛠 Refactor `views` to utilize Livewire's `wire:model.live` binding.
- 🚀 Upgrade Laravel, Livewire, and related packages to latest versions.
This commit is contained in:
HolgerHatGarKeineNode
2026-03-23 17:26:43 +00:00
parent aee4d96af3
commit 7097ef216b
6 changed files with 580 additions and 568 deletions

View File

@@ -8,7 +8,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
## Foundational Context
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
- php - 8.4.17
- php - 8.4.19
- laravel/framework (LARAVEL) - v12
- laravel/nightwatch (NIGHTWATCH) - v1
- laravel/prompts (PROMPTS) - v0
@@ -383,8 +383,8 @@ $delete = fn(Product $product) => $product->delete();
## Laravel Pint Code Formatter
- You must run `vendor/bin/pint --dirty` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test`, simply run `vendor/bin/pint` to fix any formatting issues.
- You must run `vendor/bin/pint --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test --format agent`, simply run `vendor/bin/pint --format agent` to fix any formatting issues.
=== pest/core rules ===

View File

@@ -8,7 +8,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
## Foundational Context
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
- php - 8.4.17
- php - 8.4.19
- laravel/framework (LARAVEL) - v12
- laravel/nightwatch (NIGHTWATCH) - v1
- laravel/prompts (PROMPTS) - v0
@@ -383,8 +383,8 @@ $delete = fn(Product $product) => $product->delete();
## Laravel Pint Code Formatter
- You must run `vendor/bin/pint --dirty` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test`, simply run `vendor/bin/pint` to fix any formatting issues.
- You must run `vendor/bin/pint --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test --format agent`, simply run `vendor/bin/pint --format agent` to fix any formatting issues.
=== pest/core rules ===

View File

@@ -8,7 +8,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
## Foundational Context
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
- php - 8.4.17
- php - 8.4.19
- laravel/framework (LARAVEL) - v12
- laravel/nightwatch (NIGHTWATCH) - v1
- laravel/prompts (PROMPTS) - v0
@@ -383,8 +383,8 @@ $delete = fn(Product $product) => $product->delete();
## Laravel Pint Code Formatter
- You must run `vendor/bin/pint --dirty` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test`, simply run `vendor/bin/pint` to fix any formatting issues.
- You must run `vendor/bin/pint --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style.
- Do not run `vendor/bin/pint --test --format agent`, simply run `vendor/bin/pint --format agent` to fix any formatting issues.
=== pest/core rules ===

1118
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -154,11 +154,11 @@ class extends Component
<div class="space-y-3 mt-3">
<flux:field>
<flux:label>Akzeptiert</flux:label>
<flux:switch wire:model="form.accepted" />
<flux:switch wire:model.live="form.accepted" />
</flux:field>
<flux:field>
<flux:label>Sats bezahlt</flux:label>
<flux:input type="number" wire:model="form.sats_paid" />
<flux:input type="number" wire:model.live="form.sats_paid" />
</flux:field>
</div>
@endif

View File

@@ -35,9 +35,9 @@ class extends Component
#[Locked]
public bool $isAdmin = false;
public function mount($projectProposal): void
public function mount(ProjectProposal $projectProposal): void
{
$this->project = ProjectProposal::query()->where('slug', $projectProposal)->firstOrFail();
$this->project = $projectProposal;
if (NostrAuth::check()) {
$currentPubkey = NostrAuth::pubkey();
@@ -204,11 +204,11 @@ class extends Component
<div class="space-y-3 mt-3">
<flux:field>
<flux:label>Akzeptiert</flux:label>
<flux:switch wire:model="form.accepted" />
<flux:switch wire:model.live="form.accepted" />
</flux:field>
<flux:field>
<flux:label>Sats bezahlt</flux:label>
<flux:input type="number" wire:model="form.sats_paid" />
<flux:input type="number" wire:model.live="form.sats_paid" />
</flux:field>
</div>
@endif