From d6e5e2ef87ca3fdf4b037ee2de4958c64f3c5007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Wed, 22 Feb 2023 15:42:38 +0100 Subject: [PATCH] Ensure composer dist archive contains only usefull files --- composer.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/composer.json b/composer.json index 75aa507..dd4f042 100644 --- a/composer.json +++ b/composer.json @@ -44,5 +44,20 @@ "test": [ "XDEBUG_MODE=coverage phpunit" ] + }, + "archive": { + "exclude": [ + "/.github/", + "/demo/", + "/docs/", + "/tests/", + "/testsDependency/", + "/.gitignore", + "/logo.png", + "/multifactorauthforeveryone.png", + "/phpunit.xml", + "/TwoFactorAuth.phpproj", + "/TwoFactorAuth.sln" + ] } }