mirror of
https://github.com/projectsend/projectsend.git
synced 2026-09-23 20:06:20 +00:00
d32562e75c
projectsend/v1-migration-tool is published now, and tagged, so `composer require projectsend/v1-migration-tool` resolves on its own — on any installation, new or existing, with nothing added to composer.json. That is what the guide always claimed and what a customer's Debian install proved it was not. The vcs entry has to go, not just stop being necessary. Repositories declared in composer.json are canonical and outrank packagist.org, so leaving it would keep serving dev-main off the default branch and silently shadow every release ever tagged. No error, no warning, just the wrong code indefinitely — the failure mode you find months later. So the manual fallback goes too, from the guide and from the teardown note that told people to keep the entry. Neither describes anything that exists any more, and instructions for a state the reader is not in are how the last round of this went wrong: the note about a private repository outlived the repository being private, and got skipped for looking inapplicable while still being required. The changelog entry is rewritten rather than added to. It described shipping a pointer, which was the previous fix and lasted a day; what landed is that the tool is published and versioned, and an installation can finally say which version of it ran. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
97 lines
3.1 KiB
JSON
97 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://getcomposer.org/schema.json",
|
|
"name": "projectsend/projectsend",
|
|
"type": "project",
|
|
"description": "ProjectSend \u2014 client file sharing, self-hosted and cloud, from one codebase.",
|
|
"keywords": [
|
|
"laravel",
|
|
"framework"
|
|
],
|
|
"license": "GPL-2.0-or-later",
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "https://github.com/projectsend/community-modules"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.4",
|
|
"bacon/bacon-qr-code": "^3.1",
|
|
"claviska/simpleimage": "^3",
|
|
"dedoc/scramble": "^0.13.39",
|
|
"directorytree/ldaprecord": "^3",
|
|
"inertiajs/inertia-laravel": "^2.0",
|
|
"laravel/framework": "^12.0",
|
|
"laravel/sanctum": "^4.3",
|
|
"laravel/socialite": "^5.29",
|
|
"laravel/tinker": "^2.10.1",
|
|
"league/flysystem-aws-s3-v3": "^3.29",
|
|
"pragmarx/google2fa": "^9.0",
|
|
"projectsend/community-modules": "*",
|
|
"stevebauman/purify": "^6.3",
|
|
"tightenco/ziggy": "^2.4"
|
|
},
|
|
"require-dev": {
|
|
"fakerphp/faker": "^1.23",
|
|
"larastan/larastan": "^3.10",
|
|
"laravel-lang/common": "^6.8",
|
|
"laravel/pail": "^1.2.2",
|
|
"laravel/pint": "^1.18",
|
|
"laravel/sail": "^1.41",
|
|
"mockery/mockery": "^1.6",
|
|
"nunomaduro/collision": "^8.6",
|
|
"pestphp/pest": "^3.8",
|
|
"pestphp/pest-plugin-laravel": "^3.2",
|
|
"phpunit/phpunit": "^11.5.3"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi",
|
|
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
|
|
"@php artisan migrate --graceful --ansi"
|
|
],
|
|
"dev": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true,
|
|
"php-http/discovery": true
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|