Skip to content

Commit 1bc2419

Browse files
committed
fix(dependencies): get compatible Laravel 12 dependencies
Laravel 12 does not run composer update or npm install so we need to do it manually. That said, there is version conflict with the laravel-discourse-sso package. It is currently not compatible with Laravel 12 and the pull to fix it has not been merged or touched since February. There is however a fork by Laravel Shift that has the fix. As such, we will use that fork in the composer.json file. Reference: spinen/laravel-discourse-sso#52
1 parent 8bc4613 commit 1bc2419

File tree

3 files changed

+629
-665
lines changed

3 files changed

+629
-665
lines changed

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
],
88
"license": "MIT",
99
"type": "project",
10+
"repositories": [
11+
{
12+
"type": "vcs",
13+
"url": "https://github.com/laravel-shift/laravel-discourse-sso",
14+
"reference": "l12-compatibility"
15+
}
16+
],
1017
"require": {
1118
"php": "^8.2",
1219
"addwiki/mediawiki-api": "^3.1.0",
@@ -39,7 +46,7 @@
3946
"spatie/calendar-links": "^1.6",
4047
"spatie/laravel-validation-rules": "^3.4",
4148
"spatie/laravel-html": "^3.12.0",
42-
"spinen/laravel-discourse-sso": "^2.9",
49+
"spinen/laravel-discourse-sso": "dev-l12-compatibility",
4350
"symfony/http-client": "^7.2",
4451
"symfony/http-foundation": "^7.2",
4552
"symfony/mailgun-mailer": "^7.2",

0 commit comments

Comments
 (0)