📚 **Docs & 🛠️ Config:**

- **Docs:** Added new test enforcement guidelines to `.junie/guidelines.md` and `AGENTS.md` for improved code quality.
- **Config:** Updated `vite.config.js` to ignore view cache changes and ensure faster reloads under `server.watch`.
- **Dependencies:** Upgraded multiple Yarn dependencies including updates to `@emnapi`, `@shikijs`, `@tailwindcss`, and more for better performance and stability.
This commit is contained in:
BT
2026-05-03 15:21:01 +02:00
parent d46c0161fe
commit cf330016a3
5 changed files with 487 additions and 485 deletions
+7
View File
@@ -170,6 +170,13 @@ protected function isAccessible(User $user, ?string $path = null): bool
## Enums ## Enums
- Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`. - Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`.
=== tests rules ===
## Test Enforcement
- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass.
- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test --compact` with a specific filename or filter.
=== laravel/core rules === === laravel/core rules ===
## Do Things the Laravel Way ## Do Things the Laravel Way
+7
View File
@@ -111,6 +111,13 @@ protected function isAccessible(User $user, ?string $path = null): bool
## Enums ## Enums
- Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`. - Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`.
=== tests rules ===
## Test Enforcement
- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass.
- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test --compact` with a specific filename or filter.
=== laravel/core rules === === laravel/core rules ===
## Do Things the Laravel Way ## Do Things the Laravel Way
+7
View File
@@ -111,6 +111,13 @@ protected function isAccessible(User $user, ?string $path = null): bool
## Enums ## Enums
- Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`. - Typically, keys in an Enum should be TitleCase. For example: `FavoritePerson`, `BestLake`, `Monthly`.
=== tests rules ===
## Test Enforcement
- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass.
- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test --compact` with a specific filename or filter.
=== laravel/core rules === === laravel/core rules ===
## Do Things the Laravel Way ## Do Things the Laravel Way
+6 -1
View File
@@ -1,4 +1,6 @@
import {defineConfig} from 'vite'; import {
defineConfig
} from 'vite';
import laravel from 'laravel-vite-plugin'; import laravel from 'laravel-vite-plugin';
import tailwindcss from "@tailwindcss/vite"; import tailwindcss from "@tailwindcss/vite";
@@ -12,5 +14,8 @@ export default defineConfig({
], ],
server: { server: {
cors: true, cors: true,
watch: {
ignored: ['**/storage/framework/views/**'],
},
}, },
}); });
+460 -484
View File
File diff suppressed because it is too large Load Diff