From 5d5d42c37e3a30a70957e1ba68208ee1e513af3b Mon Sep 17 00:00:00 2001 From: donaldinou Date: Wed, 25 Sep 2024 11:10:45 +0200 Subject: [PATCH] fix(chore) : composer intra packages --- composer.json | 10 ++++++++-- composer.lock | 11 ++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 534edfe..e4d94e5 100755 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "require": { "php": ">=7.4", "ext-json": "*", - "ducks-project/spl-types-subpackage-replace": "self.version", + "ducks-project/spl-types-subpackage-replace": "^1.0", "symfony/polyfill-php80": "^1.31" }, "require-dev": { @@ -50,7 +50,13 @@ "repositories": [ { "type": "path", - "url": "packages/replace" + "url": "./packages/replace", + "options": { + "reference": "none", + "versions": { + "ducks-project/spl-types-subpackage-replace": "1.0.0" + } + } } ], "autoload": { diff --git a/composer.lock b/composer.lock index 6478a70..093f662 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,14 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1b497eaf28f4b3d0356997e476f45958", + "content-hash": "707cf3566cd0f1c054edc629947fd22e", "packages": [ { "name": "ducks-project/spl-types-subpackage-replace", - "version": "7.x-dev", + "version": "1.0.0", "dist": { "type": "path", - "url": "packages/replace", - "reference": "cde5b6044e97b55195e6cc60cd73f7e58c864a38" + "url": "./packages/replace" }, "replace": { "symfony/polyfill-php54": "*", @@ -6183,9 +6182,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "ducks-project/spl-types-subpackage-replace": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": {