From 0aaebd23d008a229afce61b9981b12ff7e8f8c1e Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 5 May 2025 06:35:15 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...7196cdf00b07750ca1ec9042f28d5b7f598d1.json | 44 +++++++++++++++++++ index.json | 7 ++- zenstruck.foundry.2.5.json | 44 +++++++++++++++++++ 4 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 archived/zenstruck.foundry/7687196cdf00b07750ca1ec9042f28d5b7f598d1.json create mode 100644 zenstruck.foundry.2.5.json diff --git a/RECIPES.md b/RECIPES.md index 1bef192b..b2c58a53 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -194,5 +194,5 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [twig/markdown-extension](https://packagist.org/packages/twig/markdown-extension) | [1.0](twig/markdown-extension/1.0) | | | [willdurand/js-translation-bundle](https://packagist.org/packages/willdurand/js-translation-bundle) | [2.0](willdurand/js-translation-bundle/2.0) | `js-translation`, `js-translator`, `jstranslation`, `jstranslator` | | [zenstruck/browser](https://packagist.org/packages/zenstruck/browser) | [1.9](zenstruck/browser/1.9) | `browser` | -| [zenstruck/foundry](https://packagist.org/packages/zenstruck/foundry) | [2.0](zenstruck/foundry/2.0) | `foundry` | +| [zenstruck/foundry](https://packagist.org/packages/zenstruck/foundry) | [2.5](zenstruck/foundry/2.5) | `foundry` | | [zenstruck/messenger-test](https://packagist.org/packages/zenstruck/messenger-test) | [1.7](zenstruck/messenger-test/1.7) | `messenger-test`, `messengertest` | \ No newline at end of file diff --git a/archived/zenstruck.foundry/7687196cdf00b07750ca1ec9042f28d5b7f598d1.json b/archived/zenstruck.foundry/7687196cdf00b07750ca1ec9042f28d5b7f598d1.json new file mode 100644 index 00000000..e89aa6c1 --- /dev/null +++ b/archived/zenstruck.foundry/7687196cdf00b07750ca1ec9042f28d5b7f598d1.json @@ -0,0 +1,44 @@ +{ + "manifests": { + "zenstruck/foundry": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "bundles": { + "Zenstruck\\Foundry\\ZenstruckFoundryBundle": [ + "dev", + "test" + ] + }, + "conflict": { + "doctrine/persistence": "<2.0", + "symfony/framework-bundle": "<6.4" + }, + "post-install-output": [ + " * You're ready to use zenstruck/foundry. Create your first factory with", + " bin/console make:factory.", + "", + " * Read the documentation at https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html" + ] + }, + "files": { + "config/packages/zenstruck_foundry.yaml": { + "contents": [ + "when@dev: &dev", + " # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration", + " zenstruck_foundry:", + " persistence:", + " # Flush only once per call of `PersistentObjectFactory::create()` in userland", + " flush_once: true", + "", + "when@test: *dev", + "" + ], + "executable": false + } + }, + "ref": "7687196cdf00b07750ca1ec9042f28d5b7f598d1" + } + } +} diff --git a/index.json b/index.json index cedb2373..abcb00c8 100644 --- a/index.json +++ b/index.json @@ -1222,7 +1222,8 @@ "zenstruck/foundry": [ "1.9", "1.10", - "2.0" + "2.0", + "2.5" ], "zenstruck/messenger-test": [ "1.7" @@ -1467,6 +1468,10 @@ }, "2.0": { "symfony/framework-bundle": "<5.3" + }, + "2.5": { + "doctrine/persistence": "<2.0", + "symfony/framework-bundle": "<6.4" } } }, diff --git a/zenstruck.foundry.2.5.json b/zenstruck.foundry.2.5.json new file mode 100644 index 00000000..e89aa6c1 --- /dev/null +++ b/zenstruck.foundry.2.5.json @@ -0,0 +1,44 @@ +{ + "manifests": { + "zenstruck/foundry": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "bundles": { + "Zenstruck\\Foundry\\ZenstruckFoundryBundle": [ + "dev", + "test" + ] + }, + "conflict": { + "doctrine/persistence": "<2.0", + "symfony/framework-bundle": "<6.4" + }, + "post-install-output": [ + " * You're ready to use zenstruck/foundry. Create your first factory with", + " bin/console make:factory.", + "", + " * Read the documentation at https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html" + ] + }, + "files": { + "config/packages/zenstruck_foundry.yaml": { + "contents": [ + "when@dev: &dev", + " # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration", + " zenstruck_foundry:", + " persistence:", + " # Flush only once per call of `PersistentObjectFactory::create()` in userland", + " flush_once: true", + "", + "when@test: *dev", + "" + ], + "executable": false + } + }, + "ref": "7687196cdf00b07750ca1ec9042f28d5b7f598d1" + } + } +}