From f8ac5485ed1cc0e53c0432189ac7bf0d68a918a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Poirier=20Th=C3=A9or=C3=AAt?= Date: Tue, 24 Oct 2023 21:41:30 -0400 Subject: [PATCH] finalize entity migrator --- .github/workflows/after_spliting_test.yaml | 1 + packages/entity-migrator/.gitignore | 8 +++++ packages/entity-migrator/composer.json | 35 ++++++++++++++++++++++ packages/entity-migrator/phpunit.xml.dist | 9 ++++++ 4 files changed, 53 insertions(+) create mode 100644 packages/entity-migrator/.gitignore create mode 100644 packages/entity-migrator/composer.json create mode 100644 packages/entity-migrator/phpunit.xml.dist diff --git a/.github/workflows/after_spliting_test.yaml b/.github/workflows/after_spliting_test.yaml index 1600212c6..19543bc2d 100644 --- a/.github/workflows/after_spliting_test.yaml +++ b/.github/workflows/after_spliting_test.yaml @@ -19,6 +19,7 @@ jobs: - console - core - doctrine-extra + - entity-migrator - fixer - framework-extra-bundle - log diff --git a/packages/entity-migrator/.gitignore b/packages/entity-migrator/.gitignore new file mode 100644 index 000000000..3cd4cac91 --- /dev/null +++ b/packages/entity-migrator/.gitignore @@ -0,0 +1,8 @@ +/vendor/ +/.idea/ +composer.lock + +###> phpunit/phpunit ### +/phpunit.xml +.phpunit.result.cache +###< phpunit/phpunit ### \ No newline at end of file diff --git a/packages/entity-migrator/composer.json b/packages/entity-migrator/composer.json new file mode 100644 index 000000000..bfcf820ab --- /dev/null +++ b/packages/entity-migrator/composer.json @@ -0,0 +1,35 @@ +{ + "name": "draw/entity-migrator", + "license": "MIT", + "type": "library", + "keywords": ["draw", "migration", "symfony", "doctrine"], + "authors": [ + { + "name": "Martin Poirier Theoret", + "email": "mpoiriert@gmail.com" + } + ], + "require": { + "draw/messenger": "^0.10", + "symfony/console": "^5.4.3", + "symfony/event-dispatcher": "^5.4.3", + "symfony/messenger": "^5.4.3", + "symfony/workflow": "^5.4.3" + }, + "require-dev": { + "draw/tester": "^0.10", + "phpunit/phpunit": "^9.0 || ^10.0" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-4": { + "Draw\\Component\\EntityMigrator\\": "" + } + }, + "extra": { + "branch-alias": { + "dev-master": "0.10-dev" + } + } +} diff --git a/packages/entity-migrator/phpunit.xml.dist b/packages/entity-migrator/phpunit.xml.dist new file mode 100644 index 000000000..c23e36d05 --- /dev/null +++ b/packages/entity-migrator/phpunit.xml.dist @@ -0,0 +1,9 @@ + + + + ./Tests + + + \ No newline at end of file