AspireCloud/composer.json

100 lines
3.3 KiB
JSON
Raw Normal View History

2022-11-22 15:19:13 -05:00
{
"name": "aspirepress/aspirecloud",
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"type": "project",
"description": "AspirePress API server implementation",
"keywords": ["aspirepress", "wordpress", "wp"],
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"license": "MIT",
2022-11-22 15:19:13 -05:00
"require": {
"php": "^8.3",
"ext-mbstring": "*",
"dshafik/bag": "^2.5",
"inertiajs/inertia-laravel": "^2.0.1",
"laravel/framework": "^12.4.1",
"laravel/jetstream": "^5.3.5",
"laravel/sanctum": "^4.0.8",
"laravel/telescope": "^5.6.0",
"laravel/tinker": "^2.10.1",
"league/flysystem-aws-s3-v3": "^3.29",
"predis/predis": "^2.3.0",
"spatie/laravel-permission": "^6.16.0",
"symfony/http-client": "^7.2.4",
"symfony/mailgun-mailer": "^7.2",
"thecodingmachine/safe": "^3.0.2",
"tightenco/ziggy": "^2.5.2"
2022-11-22 15:19:13 -05:00
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^3.5.5",
"fakerphp/faker": "^1.24.1",
"larastan/larastan": "^3.2",
"laravel/pail": "^1.2.2",
"laravel/pint": "^1.21.2",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.7",
"pestphp/pest": "^3.8.0",
"pestphp/pest-plugin-laravel": "^3.1",
"phpstan/phpstan": "^2.1.11",
2024-10-19 11:33:15 -06:00
"roave/security-advisories": "dev-latest",
"spatie/laravel-web-tinker": "^1.10.1",
"thecodingmachine/phpstan-safe-rule": "^1.4"
2022-11-22 15:19:13 -05:00
},
"autoload": {
"psr-4": {
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
2022-11-22 15:19:13 -05:00
}
},
"autoload-dev": {
"psr-4": {
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"Tests\\": "tests/"
2022-11-22 15:19:13 -05:00
}
},
"scripts": {
"check": [
"@format:check",
"@lint"
],
"format": "@pint",
"format:check": "@pint --test",
"lint": "@phpstan",
"phpstan": "phpstan --memory-limit=2G --verbose",
"pint": "pint",
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan storage:link --quiet --force"
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
2022-11-22 15:19:13 -05:00
],
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"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"
2022-11-22 15:19:13 -05:00
],
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
"dev": [
"Composer\\Config::disableProcessTimeout",
2025-03-15 13:40:34 -06:00
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail\" \"yarn run dev\" --names=server,queue,logs,vite"
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
Merging Laravel into main (#27) * refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 09:32:17 -04:00
}
},
"minimum-stability": "stable",
"prefer-stable": true
2022-11-22 15:19:13 -05:00
}