From 7dac5186d5168f5965f4ced6e79951d378264862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Hennes?= Date: Mon, 6 Nov 2023 21:43:14 +0100 Subject: [PATCH] Move require to dev --- .github/build.sh | 2 +- changelog.txt | 1 + composer.json | 8 ++++---- composer.lock | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 changelog.txt diff --git a/.github/build.sh b/.github/build.sh index 8c62890..cc9626e 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -5,7 +5,7 @@ cd $buildDir rm -rf $moduleName git clone git@github.com:nenes25/${moduleName}.git $moduleName cd $moduleName -php7.4 `which composer2` install +php7.4 `which composer2` install --no-dev rm -rf .git/ rm -rf .github/ rm -rf .gitignore diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..8bfb83a --- /dev/null +++ b/changelog.txt @@ -0,0 +1 @@ +V 0.2.0 2023-11-06 : First public release of the module \ No newline at end of file diff --git a/composer.json b/composer.json index 58d1e17..1940c42 100644 --- a/composer.json +++ b/composer.json @@ -13,9 +13,6 @@ "Hhennes\\ModulesManager\\": "src/" } }, - "require": { - "prestashop/php-dev-tools": "^4.3" - }, "config": { "prepend-autoloader": false }, @@ -27,5 +24,8 @@ "vendor/bin/php-cs-fixer fix --config tests/php/.php-cs-fixer.dist.php" ] }, - "type": "prestashop-module" + "type": "prestashop-module", + "require-dev": { + "prestashop/php-dev-tools": "^4.3" + } } diff --git a/composer.lock b/composer.lock index 16d7ddc..6979a73 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,9 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4b3b89c4739da622dc85b4a8c49af711", - "packages": [ + "content-hash": "f63c0b3a2a648d1f82a0ff2be0a1c3c0", + "packages": [], + "packages-dev": [ { "name": "composer/pcre", "version": "1.0.1", @@ -2412,7 +2413,6 @@ "time": "2023-09-13T11:47:41+00:00" } ], - "packages-dev": [], "aliases": [], "minimum-stability": "stable", "stability-flags": [],