diff --git a/composer.json b/composer.json index ce48fc1e..8ed64a73 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,11 @@ { "name": "sonypradana/php-library", "description": "library to build php mvc", - "keywords": ["framework", "php-mvc", "php-library"], + "keywords": [ + "framework", + "php-mvc", + "php-library" + ], "license": "MIT", "authors": [ { @@ -29,11 +33,11 @@ "System\\Support\\": "src/System/Macroable" }, "files": [ - "src/System/Collection/helper.php", - "src/System/Integrate/helper.php", - "src/System/Console/helper.php", - "src/System/Text/helper.php", - "src/System/Time/helper.php" + "src/System/Collection/helper.php", + "src/System/Integrate/helper.php", + "src/System/Console/helper.php", + "src/System/Text/helper.php", + "src/System/Time/helper.php" ] }, "autoload-dev": { @@ -45,29 +49,27 @@ ] }, "replace": { - "savanna-php/collection": "self.version", - "savanna-php/console": "self.version", - "savanna-php/container": "self.version", - "savanna-php/cron": "self.version", - "savanna-php/database": "self.version", - "savanna-php/file": "self.version", - "savanna-php/http": "self.version", - "savanna-php/integrate": "self.version", - "savanna-php/router": "self.version", - "savanna-php/security": "self.version", - "savanna-php/support": "self.version", - "savanna-php/template": "self.version", - "savanna-php/text": "self.version", - "savanna-php/time": "self.version", - "savanna-php/view": "self.version" + "sonypradana/collection": "0.35.0", + "sonypradana/console": "0.35.0", + "sonypradana/container": "0.35.0", + "sonypradana/cron": "0.35.0", + "sonypradana/database": "0.35.0", + "sonypradana/file": "0.35.0", + "sonypradana/http": "0.35.0", + "sonypradana/integrate": "0.35.0", + "sonypradana/router": "0.35.0", + "sonypradana/security": "0.35.0", + "sonypradana/support": "0.35.0", + "sonypradana/template": "0.35.0", + "sonypradana/text": "0.35.0", + "sonypradana/time": "0.35.0", + "sonypradana/view": "0.35.0" }, "extra": { "branch-alias": { "dev-master": "0.x-dev" } }, - "minimum-stability": "dev", - "prefer-stable": true, "scripts": { "refacto": "rector", "lint": "php-cs-fixer fix -v", @@ -87,5 +89,7 @@ "phpstan analyse --ansi --memory-limit=-1", "phpunit --exclude-group database" ] - } + }, + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/monorepo-builder.php b/monorepo-builder.php index 5125d05d..c9c0d529 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -3,26 +3,23 @@ declare(strict_types=1); use Symplify\MonorepoBuilder\Config\MBConfig; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetCurrentMutualDependenciesReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetNextMutualDependenciesReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateBranchAliasReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateReplaceReleaseWorker; return static function (MBConfig $config): void { $config->packageDirectories([__DIR__ . '/src/System']); + $config->disableDefaultWorkers(); $config->workers([ + // update root composer json UpdateReplaceReleaseWorker::class, + // update child composer json SetCurrentMutualDependenciesReleaseWorker::class, - AddTagToChangelogReleaseWorker::class, + // local tag TagVersionReleaseWorker::class, + // push tag PushTagReleaseWorker::class, - // SetNextMutualDependenciesReleaseWorker::class, - // UpdateBranchAliasReleaseWorker::class, - // PushNextDevReleaseWorker::class, ]); }; diff --git a/src/System/Collection/composer.json b/src/System/Collection/composer.json index 9b5c669a..7063ebf7 100644 --- a/src/System/Collection/composer.json +++ b/src/System/Collection/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/collection", + "name": "sonypradana/collection", "description": "part of php-library, manage array using collection", "authors": [ { diff --git a/src/System/Console/composer.json b/src/System/Console/composer.json index 62acddd5..2351d8ad 100644 --- a/src/System/Console/composer.json +++ b/src/System/Console/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/console", + "name": "sonypradana/console", "description": "part of php-library, console", "authors": [ { @@ -10,7 +10,7 @@ "require": { "php": "^8.0", "sonypradana/validator": "^0.8", - "savanna-php/text": "^0.31" + "sonypradana/text": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Container/composer.json b/src/System/Container/composer.json index 809da816..e8d1cd72 100644 --- a/src/System/Container/composer.json +++ b/src/System/Container/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/container", + "name": "sonypradana/container", "description": "part of php-library, dependency injection container", "authors": [ { diff --git a/src/System/Cron/composer.json b/src/System/Cron/composer.json index 6d89d11d..1a53e534 100644 --- a/src/System/Cron/composer.json +++ b/src/System/Cron/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/cron", + "name": "sonypradana/cron", "description": "part of php-library, dependency injection container", "authors": [ { diff --git a/src/System/Database/composer.json b/src/System/Database/composer.json index 5e2bd6c0..a8a7adf9 100644 --- a/src/System/Database/composer.json +++ b/src/System/Database/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/database", + "name": "sonypradana/database", "description": "part of php-library, dependency injection container", "authors": [ { @@ -9,7 +9,7 @@ ], "require": { "php": "^8.0", - "savanna-php/collection": "^0.31" + "sonypradana/collection": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/File/composer.json b/src/System/File/composer.json index 43063afd..3529be58 100644 --- a/src/System/File/composer.json +++ b/src/System/File/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/file", + "name": "sonypradana/file", "description": "part of php-library, file", "authors": [ { diff --git a/src/System/Http/composer.json b/src/System/Http/composer.json index c425d481..07c5fdd4 100644 --- a/src/System/Http/composer.json +++ b/src/System/Http/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/http", + "name": "sonypradana/http", "description": "part of php-library, http", "authors": [ { @@ -10,9 +10,9 @@ "require": { "php": "^8.0", "sonypradana/validator": "^0.8", - "savanna-php/collection": "^0.31", - "savanna-php/macroable": "^0.31", - "savanna-php/text": "^0.31" + "sonypradana/collection": "^0.35", + "sonypradana/macroable": "^0.35", + "sonypradana/text": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Integrate/composer.json b/src/System/Integrate/composer.json index a4112844..f0902726 100644 --- a/src/System/Integrate/composer.json +++ b/src/System/Integrate/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/integrate", + "name": "sonypradana/integrate", "description": "part of php-library, http", "authors": [ { @@ -9,20 +9,22 @@ ], "require": { "php": "^8.0", - "php-di/php-di": "^6.4 || ^7.0", + "php-di/php-di": "^7.0", "sonypradana/validator": "^0.8", - "savanna-php/collection": "^0.31", - "savanna-php/console": "^0.31", - "savanna-php/container": "^0.31", - "savanna-php/cron": "^0.31", - "savanna-php/database": "^0.31", - "savanna-php/file": "^0.31", - "savanna-php/http": "^0.31", - "savanna-php/router": "^0.31", - "savanna-php/support": "^0.31", - "savanna-php/template": "^0.31", - "savanna-php/text": "^0.31", - "savanna-php/time": "^0.31" + "sonypradana/collection": "^0.35", + "sonypradana/console": "^0.35", + "sonypradana/container": "^0.35", + "sonypradana/cron": "^0.35", + "sonypradana/database": "^0.35", + "sonypradana/file": "^0.35", + "sonypradana/http": "^0.35", + "sonypradana/router": "^0.35", + "sonypradana/security": "^0.35", + "sonypradana/support": "^0.35", + "sonypradana/template": "^0.35", + "sonypradana/text": "^0.35", + "sonypradana/time": "^0.35", + "sonypradana/view": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Macroable/composer.json b/src/System/Macroable/composer.json index 2ce5a433..40b9b42b 100644 --- a/src/System/Macroable/composer.json +++ b/src/System/Macroable/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/macroable", + "name": "sonypradana/macroable", "description": "part of php-library, macroable", "authors": [ { diff --git a/src/System/Router/composer.json b/src/System/Router/composer.json index 868ef688..c89b72c6 100644 --- a/src/System/Router/composer.json +++ b/src/System/Router/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/router", + "name": "sonypradana/router", "description": "part of php-library, route", "authors": [ { @@ -9,9 +9,9 @@ ], "require": { "php": "^8.0", - "savanna-php/collection": "^0.31", - "savanna-php/http": "^0.31", - "savanna-php/text": "^0.31" + "sonypradana/collection": "^0.35", + "sonypradana/http": "^0.35", + "sonypradana/text": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Security/composer.json b/src/System/Security/composer.json index 6aa2b953..46580d91 100644 --- a/src/System/Security/composer.json +++ b/src/System/Security/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/security", + "name": "sonypradana/security", "description": "part of php-library, security", "authors": [ { diff --git a/src/System/Support/composer.json b/src/System/Support/composer.json index 92510b73..61bfa87e 100644 --- a/src/System/Support/composer.json +++ b/src/System/Support/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/support", + "name": "sonypradana/support", "description": "part of php-library, support", "authors": [ { @@ -9,8 +9,8 @@ ], "require": { "php": "^8.0", - "savanna-php/integrate": "^0.31", - "savanna-php/macroable": "^0.31" + "sonypradana/integrate": "^0.35", + "sonypradana/macroable": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Template/composer.json b/src/System/Template/composer.json index 27b8e926..e4209b32 100644 --- a/src/System/Template/composer.json +++ b/src/System/Template/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/template", + "name": "sonypradana/template", "description": "part of php-library, template", "authors": [ { diff --git a/src/System/Text/composer.json b/src/System/Text/composer.json index 49b65b2e..f5818171 100644 --- a/src/System/Text/composer.json +++ b/src/System/Text/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/text", + "name": "sonypradana/text", "description": "part of php-library, text", "authors": [ { @@ -10,7 +10,7 @@ "require": { "php": "^8.0", "ext-mbstring": "*", - "savanna-php/macroable": "^0.31" + "sonypradana/macroable": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/Time/composer.json b/src/System/Time/composer.json index e206284a..c8e36c61 100644 --- a/src/System/Time/composer.json +++ b/src/System/Time/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/time", + "name": "sonypradana/time", "description": "part of php-library, time", "authors": [ { @@ -9,9 +9,9 @@ ], "require": { "php": "^8.0", - "savanna-php/collection": "^0.31", - "savanna-php/support": "^0.31", - "savanna-php/text": "^0.31" + "sonypradana/collection": "^0.35", + "sonypradana/support": "^0.35", + "sonypradana/text": "^0.35" }, "autoload": { "psr-4": { diff --git a/src/System/View/composer.json b/src/System/View/composer.json index 5b3a9525..178c6bab 100644 --- a/src/System/View/composer.json +++ b/src/System/View/composer.json @@ -1,5 +1,5 @@ { - "name": "savanna-php/view", + "name": "sonypradana/view", "description": "part of php-library, view", "authors": [ { @@ -9,7 +9,7 @@ ], "require": { "php": "^8.0", - "savanna-php/http": "^0.31" + "sonypradana/http": "^0.35" }, "autoload": { "psr-4": {