Skip to content

Commit 71521ee

Browse files
chore: fix docs deploy, patch advisories, support Laravel 13 (#167)
Deploy Docs has failed on every push to 4.x since better-sqlite3 was bumped to 13.0.3 (#162). docus 5.12.3 declares a `better-sqlite3: 12.x` peer, so `npm ci` died on ERESOLVE and the docs never deployed. Pinned back to ^12.11.1, which is the range docus actually supports. Patched the two open advisories the lockfile carried, via overrides because both come from transitive deps: - esbuild <0.28.1, arbitrary file read via the dev server (dependabot #143) - sharp <0.35.0, inherited libvips CVEs (hoisted copy was 0.34.5) `npm audit --omit=dev` now reports zero vulnerabilities, and `npm ci` plus `npm run generate` both complete locally. Both open issue reports on this package ran Laravel 13, which the dev constraints did not allow. Widened testbench and Pest to accept 11.x/5.x alongside 10.x/4.x, and added a Laravel 13 job to the test matrix. The suite passes on both: 161 tests on L12.67 with Pest 4, and on L13.26 with Pest 5.
1 parent 424a446 commit 71521ee

4 files changed

Lines changed: 10054 additions & 11932 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest]
1717
php: [8.3, 8.4]
18-
laravel: [12.*]
18+
laravel: [12.*, 13.*]
1919
stability: [prefer-stable]
2020
include:
2121
- laravel: 12.*
2222
testbench: 10.*
23+
- laravel: 13.*
24+
testbench: 11.*
2325

2426
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2527

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"larastan/larastan": "^3.0",
3838
"laravel/pint": "^1.0",
3939
"nunomaduro/collision": "^8.0",
40-
"orchestra/testbench": "^10.0",
41-
"pestphp/pest": "^4.0",
42-
"pestphp/pest-plugin-arch": "^4.0",
43-
"pestphp/pest-plugin-laravel": "^4.0",
40+
"orchestra/testbench": "^10.11|^11.0",
41+
"pestphp/pest": "^4.0|^5.0",
42+
"pestphp/pest-plugin-arch": "^4.0|^5.0",
43+
"pestphp/pest-plugin-laravel": "^4.0|^5.0",
4444
"phpstan/extension-installer": "^1.4",
4545
"phpstan/phpstan-deprecation-rules": "^2.0",
4646
"phpstan/phpstan-phpunit": "^2.0",

0 commit comments

Comments
 (0)