Compare commits

...

2 Commits

Author SHA1 Message Date
6b6010ccc0 chore: bump composer 2023-10-12 23:10:02 +11:00
12893399c8 feat: backmerge 2023-10-12 22:58:39 +11:00
4 changed files with 231 additions and 103 deletions

33
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: deploy
on:
push:
tags:
- 'v*'
concurrency: production_environment
jobs:
production:
runs-on: ubuntu-latest
environment: Production
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer
extensions: bcmath, ctype, fileinfo, json, odbc, mbstring, openssl, pdo, pdo_mysql, pdo_odbc tokenizer, xml, soap, redis, igbinary
php-version: "8.2"
- name: Install dependencies
run: composer install --no-interaction --no-scripts --prefer-dist
- name: Deploy
uses: deployphp/action@v1
with:
private-key: ${{ secrets.DEPLOY_KEY }}
dep: deploy production

View File

@ -16,6 +16,7 @@
}, },
"require-dev": { "require-dev": {
"barryvdh/laravel-ide-helper": "^2.13", "barryvdh/laravel-ide-helper": "^2.13",
"deployer/deployer": "^7.3",
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.24", "laravel/breeze": "^1.24",
"laravel/pint": "^1.0", "laravel/pint": "^1.0",

252
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "da777baec27a8032a972c70cc19d114a", "content-hash": "e30e72a75870b7f76938f6dd2adff20c",
"packages": [ "packages": [
{ {
"name": "brick/math", "name": "brick/math",
@ -434,21 +434,21 @@
}, },
{ {
"name": "fruitcake/php-cors", "name": "fruitcake/php-cors",
"version": "v1.2.0", "version": "v1.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fruitcake/php-cors.git", "url": "https://github.com/fruitcake/php-cors.git",
"reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e" "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fruitcake/php-cors/zipball/58571acbaa5f9f462c9c77e911700ac66f446d4e", "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b",
"reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e", "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.4|^8.0", "php": "^7.4|^8.0",
"symfony/http-foundation": "^4.4|^5.4|^6" "symfony/http-foundation": "^4.4|^5.4|^6|^7"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^1.4", "phpstan/phpstan": "^1.4",
@ -458,7 +458,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "1.1-dev" "dev-master": "1.2-dev"
} }
}, },
"autoload": { "autoload": {
@ -489,7 +489,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/fruitcake/php-cors/issues", "issues": "https://github.com/fruitcake/php-cors/issues",
"source": "https://github.com/fruitcake/php-cors/tree/v1.2.0" "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0"
}, },
"funding": [ "funding": [
{ {
@ -501,7 +501,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-02-20T15:07:15+00:00" "time": "2023-10-12T05:21:21+00:00"
}, },
{ {
"name": "graham-campbell/result-type", "name": "graham-campbell/result-type",
@ -972,16 +972,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.26.2", "version": "v10.28.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "6e5440f7c518f26b4495e5d7e4796ec239e26df9" "reference": "09137f50f715c1efc649788a26092dcb1ec4ab6e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/6e5440f7c518f26b4495e5d7e4796ec239e26df9", "url": "https://api.github.com/repos/laravel/framework/zipball/09137f50f715c1efc649788a26092dcb1ec4ab6e",
"reference": "6e5440f7c518f26b4495e5d7e4796ec239e26df9", "reference": "09137f50f715c1efc649788a26092dcb1ec4ab6e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1168,7 +1168,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2023-10-03T14:24:20+00:00" "time": "2023-10-10T13:01:37+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
@ -1818,16 +1818,16 @@
}, },
{ {
"name": "livewire/livewire", "name": "livewire/livewire",
"version": "v3.0.5", "version": "v3.0.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/livewire/livewire.git", "url": "https://github.com/livewire/livewire.git",
"reference": "37f11583c61a75d51b2146c2fe38f506ad36014b" "reference": "6f62019a0e821894f701ca463210c01d7369c929"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/37f11583c61a75d51b2146c2fe38f506ad36014b", "url": "https://api.github.com/repos/livewire/livewire/zipball/6f62019a0e821894f701ca463210c01d7369c929",
"reference": "37f11583c61a75d51b2146c2fe38f506ad36014b", "reference": "6f62019a0e821894f701ca463210c01d7369c929",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1836,15 +1836,15 @@
"illuminate/validation": "^10.0", "illuminate/validation": "^10.0",
"league/mime-type-detection": "^1.9", "league/mime-type-detection": "^1.9",
"php": "^8.1", "php": "^8.1",
"symfony/http-kernel": "^5.0|^6.0" "symfony/http-kernel": "^6.2"
}, },
"require-dev": { "require-dev": {
"calebporzio/sushi": "^2.1", "calebporzio/sushi": "^2.1",
"laravel/framework": "^10.0", "laravel/framework": "^10.0",
"laravel/prompts": "^0.1.6", "laravel/prompts": "^0.1.6",
"mockery/mockery": "^1.3.1", "mockery/mockery": "^1.3.1",
"orchestra/testbench": "^7.0|^8.0", "orchestra/testbench": "^8.0",
"orchestra/testbench-dusk": "^7.0|^8.0", "orchestra/testbench-dusk": "^8.0",
"phpunit/phpunit": "^9.0", "phpunit/phpunit": "^9.0",
"psy/psysh": "@stable" "psy/psysh": "@stable"
}, },
@ -1880,7 +1880,7 @@
"description": "A front-end framework for Laravel.", "description": "A front-end framework for Laravel.",
"support": { "support": {
"issues": "https://github.com/livewire/livewire/issues", "issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v3.0.5" "source": "https://github.com/livewire/livewire/tree/v3.0.8"
}, },
"funding": [ "funding": [
{ {
@ -1888,7 +1888,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-16T11:51:32+00:00" "time": "2023-10-10T20:44:46+00:00"
}, },
{ {
"name": "livewire/volt", "name": "livewire/volt",
@ -6072,16 +6072,16 @@
}, },
{ {
"name": "brianium/paratest", "name": "brianium/paratest",
"version": "v7.2.9", "version": "v7.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paratestphp/paratest.git", "url": "https://github.com/paratestphp/paratest.git",
"reference": "1f9e41c0779be4540654d92a9314016713f5e62c" "reference": "2951d3f773ea91451c7440f48122287778634b0d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paratestphp/paratest/zipball/1f9e41c0779be4540654d92a9314016713f5e62c", "url": "https://api.github.com/repos/paratestphp/paratest/zipball/2951d3f773ea91451c7440f48122287778634b0d",
"reference": "1f9e41c0779be4540654d92a9314016713f5e62c", "reference": "2951d3f773ea91451c7440f48122287778634b0d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6095,22 +6095,22 @@
"phpunit/php-code-coverage": "^10.1.7", "phpunit/php-code-coverage": "^10.1.7",
"phpunit/php-file-iterator": "^4.1.0", "phpunit/php-file-iterator": "^4.1.0",
"phpunit/php-timer": "^6.0", "phpunit/php-timer": "^6.0",
"phpunit/phpunit": "^10.4.0", "phpunit/phpunit": "^10.4.1",
"sebastian/environment": "^6.0.1", "sebastian/environment": "^6.0.1",
"symfony/console": "^6.3.4", "symfony/console": "^6.3.4 || ^7.0.0",
"symfony/process": "^6.3.4" "symfony/process": "^6.3.4 || ^7.0.0"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0.0", "doctrine/coding-standard": "^12.0.0",
"ext-pcov": "*", "ext-pcov": "*",
"ext-posix": "*", "ext-posix": "*",
"infection/infection": "^0.27.3", "infection/infection": "^0.27.4",
"phpstan/phpstan": "^1.10.37", "phpstan/phpstan": "^1.10.38",
"phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.14", "phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.1", "phpstan/phpstan-strict-rules": "^1.5.1",
"squizlabs/php_codesniffer": "^3.7.2", "squizlabs/php_codesniffer": "^3.7.2",
"symfony/filesystem": "^6.3.1" "symfony/filesystem": "^6.3.1 || ^7.0.0"
}, },
"bin": [ "bin": [
"bin/paratest", "bin/paratest",
@ -6151,7 +6151,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/paratestphp/paratest/issues", "issues": "https://github.com/paratestphp/paratest/issues",
"source": "https://github.com/paratestphp/paratest/tree/v7.2.9" "source": "https://github.com/paratestphp/paratest/tree/v7.3.0"
}, },
"funding": [ "funding": [
{ {
@ -6163,7 +6163,7 @@
"type": "paypal" "type": "paypal"
} }
], ],
"time": "2023-10-06T07:53:04+00:00" "time": "2023-10-10T15:11:25+00:00"
}, },
{ {
"name": "composer/class-map-generator", "name": "composer/class-map-generator",
@ -6240,16 +6240,16 @@
}, },
{ {
"name": "composer/pcre", "name": "composer/pcre",
"version": "3.1.0", "version": "3.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/pcre.git", "url": "https://github.com/composer/pcre.git",
"reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9",
"reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6291,7 +6291,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/composer/pcre/issues", "issues": "https://github.com/composer/pcre/issues",
"source": "https://github.com/composer/pcre/tree/3.1.0" "source": "https://github.com/composer/pcre/tree/3.1.1"
}, },
"funding": [ "funding": [
{ {
@ -6307,7 +6307,50 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-17T09:50:14+00:00" "time": "2023-10-11T07:11:09+00:00"
},
{
"name": "deployer/deployer",
"version": "v7.3.1",
"source": {
"type": "git",
"url": "https://github.com/deployphp/deployer.git",
"reference": "c5c5e79d4e57445918ed24a9cdd3d85b0f261de3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/deployphp/deployer/zipball/c5c5e79d4e57445918ed24a9cdd3d85b0f261de3",
"reference": "c5c5e79d4e57445918ed24a9cdd3d85b0f261de3",
"shasum": ""
},
"bin": [
"dep"
],
"type": "library",
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Anton Medvedev",
"email": "anton@medv.io"
}
],
"description": "Deployment Tool",
"homepage": "https://deployer.org",
"support": {
"docs": "https://deployer.org/docs",
"issues": "https://github.com/deployphp/deployer/issues",
"source": "https://github.com/deployphp/deployer"
},
"funding": [
{
"url": "https://github.com/sponsors/antonmedv",
"type": "github"
}
],
"time": "2023-04-05T09:24:30+00:00"
}, },
{ {
"name": "doctrine/cache", "name": "doctrine/cache",
@ -6404,16 +6447,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.7.0", "version": "3.7.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf" "reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/00d03067f07482f025d41ab55e4ba0db5eca2cdf", "url": "https://api.github.com/repos/doctrine/dbal/zipball/5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf", "reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6497,7 +6540,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.7.0" "source": "https://github.com/doctrine/dbal/tree/3.7.1"
}, },
"funding": [ "funding": [
{ {
@ -6513,7 +6556,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-26T20:56:55+00:00" "time": "2023-10-06T05:06:20+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
@ -6965,16 +7008,16 @@
}, },
{ {
"name": "laravel/breeze", "name": "laravel/breeze",
"version": "v1.24.1", "version": "v1.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/breeze.git", "url": "https://github.com/laravel/breeze.git",
"reference": "15c8866a19a5469c34748586162a238efa27fa51" "reference": "d62371252246d45417d077ca8019b6abd679343c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/breeze/zipball/15c8866a19a5469c34748586162a238efa27fa51", "url": "https://api.github.com/repos/laravel/breeze/zipball/d62371252246d45417d077ca8019b6abd679343c",
"reference": "15c8866a19a5469c34748586162a238efa27fa51", "reference": "d62371252246d45417d077ca8019b6abd679343c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7023,20 +7066,20 @@
"issues": "https://github.com/laravel/breeze/issues", "issues": "https://github.com/laravel/breeze/issues",
"source": "https://github.com/laravel/breeze" "source": "https://github.com/laravel/breeze"
}, },
"time": "2023-10-04T01:03:14+00:00" "time": "2023-10-06T13:24:19+00:00"
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.13.2", "version": "v1.13.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "bbb13460d7f8c5c0cd9a58109beedd79cd7331ff" "reference": "93b2d0d49719bc6e444ba21cd4dbbccec935413d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/bbb13460d7f8c5c0cd9a58109beedd79cd7331ff", "url": "https://api.github.com/repos/laravel/pint/zipball/93b2d0d49719bc6e444ba21cd4dbbccec935413d",
"reference": "bbb13460d7f8c5c0cd9a58109beedd79cd7331ff", "reference": "93b2d0d49719bc6e444ba21cd4dbbccec935413d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7047,7 +7090,7 @@
"php": "^8.1.0" "php": "^8.1.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.26.1", "friendsofphp/php-cs-fixer": "^3.34.1",
"illuminate/view": "^10.23.1", "illuminate/view": "^10.23.1",
"laravel-zero/framework": "^10.1.2", "laravel-zero/framework": "^10.1.2",
"mockery/mockery": "^1.6.6", "mockery/mockery": "^1.6.6",
@ -7089,7 +7132,7 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2023-09-19T15:55:02+00:00" "time": "2023-10-10T15:39:09+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
@ -7302,16 +7345,16 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v7.9.0", "version": "v7.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "296d0cf9fe462837ac0da8a568b56fc026b132da" "reference": "49ec67fa7b002712da8526678abd651c09f375b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/296d0cf9fe462837ac0da8a568b56fc026b132da", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/49ec67fa7b002712da8526678abd651c09f375b2",
"reference": "296d0cf9fe462837ac0da8a568b56fc026b132da", "reference": "49ec67fa7b002712da8526678abd651c09f375b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7320,19 +7363,22 @@
"php": "^8.1.0", "php": "^8.1.0",
"symfony/console": "^6.3.4" "symfony/console": "^6.3.4"
}, },
"conflict": {
"laravel/framework": ">=11.0.0"
},
"require-dev": { "require-dev": {
"brianium/paratest": "^7.2.7", "brianium/paratest": "^7.3.0",
"laravel/framework": "^10.23.1", "laravel/framework": "^10.28.0",
"laravel/pint": "^1.13.1", "laravel/pint": "^1.13.3",
"laravel/sail": "^1.25.0", "laravel/sail": "^1.25.0",
"laravel/sanctum": "^3.3.1", "laravel/sanctum": "^3.3.1",
"laravel/tinker": "^2.8.2", "laravel/tinker": "^2.8.2",
"nunomaduro/larastan": "^2.6.4", "nunomaduro/larastan": "^2.6.4",
"orchestra/testbench-core": "^8.11.0", "orchestra/testbench-core": "^8.13.0",
"pestphp/pest": "^2.19.1", "pestphp/pest": "^2.23.2",
"phpunit/phpunit": "^10.3.5", "phpunit/phpunit": "^10.4.1",
"sebastian/environment": "^6.0.1", "sebastian/environment": "^6.0.1",
"spatie/laravel-ignition": "^2.3.0" "spatie/laravel-ignition": "^2.3.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -7391,33 +7437,33 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2023-09-19T10:45:09+00:00" "time": "2023-10-11T15:45:01+00:00"
}, },
{ {
"name": "pestphp/pest", "name": "pestphp/pest",
"version": "v2.21.0", "version": "v2.23.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest.git", "url": "https://github.com/pestphp/pest.git",
"reference": "2ffafd445d42c8b7b7e1874bde1c29945767a49d" "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest/zipball/2ffafd445d42c8b7b7e1874bde1c29945767a49d", "url": "https://api.github.com/repos/pestphp/pest/zipball/b126e8e6e4afd6562e80c5dafcc2a973f17a09b3",
"reference": "2ffafd445d42c8b7b7e1874bde1c29945767a49d", "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brianium/paratest": "^7.2.9", "brianium/paratest": "^7.3.0",
"nunomaduro/collision": "^7.9.0", "nunomaduro/collision": "^7.9.0|^8.0.0",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1|^2.0.0",
"pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.3.3", "pestphp/pest-plugin-arch": "^2.4.0",
"php": "^8.1.0", "php": "^8.1.0",
"phpunit/phpunit": "^10.4.0" "phpunit/phpunit": "^10.4.1"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": ">10.4.0", "phpunit/phpunit": ">10.4.1",
"sebastian/exporter": "<5.1.0", "sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
@ -7482,7 +7528,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/pestphp/pest/issues", "issues": "https://github.com/pestphp/pest/issues",
"source": "https://github.com/pestphp/pest/tree/v2.21.0" "source": "https://github.com/pestphp/pest/tree/v2.23.2"
}, },
"funding": [ "funding": [
{ {
@ -7494,7 +7540,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-10-06T12:33:39+00:00" "time": "2023-10-10T15:40:34+00:00"
}, },
{ {
"name": "pestphp/pest-plugin", "name": "pestphp/pest-plugin",
@ -7568,26 +7614,26 @@
}, },
{ {
"name": "pestphp/pest-plugin-arch", "name": "pestphp/pest-plugin-arch",
"version": "v2.3.3", "version": "v2.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest-plugin-arch.git", "url": "https://github.com/pestphp/pest-plugin-arch.git",
"reference": "b758990e83f89daba3c45672398579cf8692213f" "reference": "b315c03bbb7e620d7b57a670816e9bf5f3dbc7f7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/b758990e83f89daba3c45672398579cf8692213f", "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/b315c03bbb7e620d7b57a670816e9bf5f3dbc7f7",
"reference": "b758990e83f89daba3c45672398579cf8692213f", "reference": "b315c03bbb7e620d7b57a670816e9bf5f3dbc7f7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nunomaduro/collision": "^7.8.1", "nunomaduro/collision": "^7.9.0|^8.0.0",
"pestphp/pest-plugin": "^2.0.1", "pestphp/pest-plugin": "^2.1.1",
"php": "^8.1", "php": "^8.1",
"ta-tikoma/phpunit-architecture-test": "^0.7.4" "ta-tikoma/phpunit-architecture-test": "^0.7.4"
}, },
"require-dev": { "require-dev": {
"pestphp/pest": "^2.16.0", "pestphp/pest": "^2.22.0",
"pestphp/pest-dev-tools": "^2.16.0" "pestphp/pest-dev-tools": "^2.16.0"
}, },
"type": "library", "type": "library",
@ -7616,7 +7662,7 @@
"unit" "unit"
], ],
"support": { "support": {
"source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.3.3" "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.4.0"
}, },
"funding": [ "funding": [
{ {
@ -7628,7 +7674,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-21T16:06:30+00:00" "time": "2023-10-10T14:44:21+00:00"
}, },
{ {
"name": "pestphp/pest-plugin-laravel", "name": "pestphp/pest-plugin-laravel",
@ -8348,16 +8394,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.4.0", "version": "10.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "9784e877e3700de37475545bdbdce8383ff53d25" "reference": "62bd7af13d282deeb95650077d28ba3600ca321c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9784e877e3700de37475545bdbdce8383ff53d25", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/62bd7af13d282deeb95650077d28ba3600ca321c",
"reference": "9784e877e3700de37475545bdbdce8383ff53d25", "reference": "62bd7af13d282deeb95650077d28ba3600ca321c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8429,7 +8475,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.0" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.1"
}, },
"funding": [ "funding": [
{ {
@ -8445,7 +8491,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-06T03:41:22+00:00" "time": "2023-10-08T05:01:11+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@ -9628,16 +9674,16 @@
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",
"version": "2.3.0", "version": "2.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-ignition.git", "url": "https://github.com/spatie/laravel-ignition.git",
"reference": "4ed813d16edb5a1ab0d7f4b1d116c37ee8cdf3c0" "reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/4ed813d16edb5a1ab0d7f4b1d116c37ee8cdf3c0", "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/bf21cd15aa47fa4ec5d73bbc932005c70261efc8",
"reference": "4ed813d16edb5a1ab0d7f4b1d116c37ee8cdf3c0", "reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -9716,7 +9762,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-23T06:24:34+00:00" "time": "2023-10-09T12:55:26+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",

48
deploy.php Normal file
View File

@ -0,0 +1,48 @@
<?php
namespace Deployer;
require 'recipe/laravel.php';
require 'contrib/npm.php';
// Config
set('git_ssh_command', 'ssh');
set('repository', 'ssh://git@ssh.git.lovelynet.net:9001/PriceyBot/PriceyBotPanel.git');
add('shared_files', []);
add('shared_dirs', []);
add('writable_dirs', []);
set('http_user', 'nginx');
set('http_group', 'nginx');
set('writable_mode', 'chmod');
// Hosts
host('production')
->set('hostname', 'vps.benjamyn.love')
->set('port', '22')
->set('remote_user', 'root')
->set('deploy_path', '/opt/PriceyBotPanel');
// Tasks
task('npm:build', function () {
$command = match (get('alias')) {
'production' => 'production',
'staging' => 'development',
default => 'production'
};
run("cd {{release_path}} && {{bin/npm}} run {$command}");
});
task('perm:fix', function () {
run("chown -R nginx:nginx /opt/PriceyBotPanel");
});
// Hooks
after('deploy:vendors', 'npm:install');
after('npm:install', 'npm:build');
after('npm:build', 'perm:fix');
after('deploy:failed', 'deploy:unlock');