diff --git a/archived/symfony.routing/eea306491b6e4872accd20caa9a428b1e468f082.json b/archived/symfony.routing/eea306491b6e4872accd20caa9a428b1e468f082.json new file mode 100644 index 00000000..ab08e4f7 --- /dev/null +++ b/archived/symfony.routing/eea306491b6e4872accd20caa9a428b1e468f082.json @@ -0,0 +1,52 @@ +{ + "manifests": { + "symfony/routing": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "conflict": { + "symfony/framework-bundle": "<7.0" + }, + "env": { + "#1": "Configure how to generate URLs in non-HTTP contexts, such as CLI commands.", + "#2": "See https://symfony.com/doc/current/routing.html#generating-urls-in-commands", + "DEFAULT_URI": "http://localhost" + } + }, + "files": { + "config/packages/routing.yaml": { + "contents": [ + "framework:", + " router:", + " # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.", + " # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands", + " default_uri: '%env(DEFAULT_URI)%'", + "", + "when@prod:", + " framework:", + " router:", + " strict_requirements: null", + "" + ], + "executable": false + }, + "config/routes.yaml": { + "contents": [ + "# yaml-language-server: $schema=../vendor/symfony/routing/Loader/schema/routing.schema.json", + "", + "# To list all registered routes, run the following command:", + "# bin/console debug:router", + "", + "controllers:", + " resource: attributes", + " type: tagged_services", + "" + ], + "executable": false + } + }, + "ref": "eea306491b6e4872accd20caa9a428b1e468f082" + } + } +} diff --git a/symfony.routing.7.4.json b/symfony.routing.7.4.json index 392473c7..ab08e4f7 100644 --- a/symfony.routing.7.4.json +++ b/symfony.routing.7.4.json @@ -7,6 +7,11 @@ }, "conflict": { "symfony/framework-bundle": "<7.0" + }, + "env": { + "#1": "Configure how to generate URLs in non-HTTP contexts, such as CLI commands.", + "#2": "See https://symfony.com/doc/current/routing.html#generating-urls-in-commands", + "DEFAULT_URI": "http://localhost" } }, "files": { @@ -16,7 +21,7 @@ " router:", " # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.", " # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands", - " #default_uri: http://localhost", + " default_uri: '%env(DEFAULT_URI)%'", "", "when@prod:", " framework:", @@ -41,7 +46,7 @@ "executable": false } }, - "ref": "65f24290a4c5b4613fd79c394e2f3db61d46c22a" + "ref": "eea306491b6e4872accd20caa9a428b1e468f082" } } }