diff --git a/archived/zenstruck.foundry/7fc98f546dfeaa83cc2110634f8ff078d070b965.json b/archived/zenstruck.foundry/7fc98f546dfeaa83cc2110634f8ff078d070b965.json new file mode 100644 index 00000000..00deb34f --- /dev/null +++ b/archived/zenstruck.foundry/7fc98f546dfeaa83cc2110634f8ff078d070b965.json @@ -0,0 +1,93 @@ +{ + "manifests": { + "zenstruck/foundry": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "bundles": { + "Zenstruck\\Foundry\\ZenstruckFoundryBundle": [ + "dev", + "test" + ] + }, + "conflict": { + "doctrine/persistence": "<2.0", + "symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0", + "symfony/framework-bundle": "<6.4" + }, + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:>=10", + "warn_if_missing": false + }, + { + "file": "config/packages/zenstruck_foundry.yaml", + "content": " enable_auto_refresh_with_lazy_objects: true", + "position": "after_target", + "target": "zenstruck_foundry:", + "requires": "php:>=8.4", + "warn_if_missing": false + } + ], + "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()`", + " flush_once: true", + "", + " # If you use the `make:factory --test` command, you may need to uncomment the following.", + " # See https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#generate", + " #services:", + " # App\\Tests\\Factory\\:", + " # resource: '%kernel.project_dir%/tests/Factory/'", + " # autowire: true", + " # autoconfigure: true", + "", + "when@test: *dev", + "" + ], + "executable": false + }, + "src/Story/AppStory.php": { + "contents": [ + "