diff --git a/symfony/framework-bundle/7.4/manifest.json b/symfony/framework-bundle/7.4/manifest.json index 00fae168f..487f36426 100644 --- a/symfony/framework-bundle/7.4/manifest.json +++ b/symfony/framework-bundle/7.4/manifest.json @@ -3,10 +3,11 @@ "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"] }, "copy-from-recipe": { + ".editorconfig": ".editorconfig", + "symfony-cli.yaml": "symfony-cli.yaml", "config/": "%CONFIG_DIR%/", "public/": "%PUBLIC_DIR%/", - "src/": "%SRC_DIR%/", - ".editorconfig": ".editorconfig" + "src/": "%SRC_DIR%/" }, "composer-scripts": { "cache:clear": "symfony-cmd", diff --git a/symfony/framework-bundle/7.4/symfony-cli.yaml b/symfony/framework-bundle/7.4/symfony-cli.yaml new file mode 100644 index 000000000..8c78c5b02 --- /dev/null +++ b/symfony/framework-bundle/7.4/symfony-cli.yaml @@ -0,0 +1,12 @@ +# This configuration file is used by the Symfony CLI tool. +# See https://symfony.com/doc/current/setup/symfony_cli.html for more information. + +# Automatically open the application in the browser after starting the server +open: true + +http: + # Use Gzip compression + use_gzip: true + +# Processes that automatically run with the server (https://symfony.com/doc/current/setup/symfony_cli.html#configuring-workers) +workers: diff --git a/symfony/webpack-encore-bundle/2.0/manifest.json b/symfony/webpack-encore-bundle/2.0/manifest.json index 16f8dcd46..c5b098446 100644 --- a/symfony/webpack-encore-bundle/2.0/manifest.json +++ b/symfony/webpack-encore-bundle/2.0/manifest.json @@ -33,6 +33,13 @@ "position": "after_target", "target": "{% block stylesheets %}", "warn_if_missing": true + }, + { + "file": "symfony-cli.yaml", + "content": " # Watch and build front assets using Webpack Encore\n npm_encore_watch:\n cmd: ['npm', 'run', 'watch']\n # Or instead, run the Webpack Dev Server (https://symfony.com/doc/current/frontend/encore/dev-server.html)\n #npm_encore_dev_server:\n # cmd: ['npm', 'run', 'dev-server']", + "position": "after_target", + "target": "workers:", + "warn_if_missing": false } ] } diff --git a/symfonycasts/sass-bundle/0.5/manifest.json b/symfonycasts/sass-bundle/0.5/manifest.json index 20adf8aaf..4da6a1646 100644 --- a/symfonycasts/sass-bundle/0.5/manifest.json +++ b/symfonycasts/sass-bundle/0.5/manifest.json @@ -18,6 +18,13 @@ "warn_if_missing": true, "target": " missing_import_mode: strict", "content": " excluded_patterns:\n - '**/assets/styles/**/_*.scss'" + }, + { + "file": "symfony-cli.yaml", + "content": " # Watch and build Sass files\n sass:\n cmd: ['symfony', 'console', 'sass:build', '--watch']", + "position": "after_target", + "target": "workers:", + "warn_if_missing": false } ], "conflict": { diff --git a/symfonycasts/tailwind-bundle/0.8/manifest.json b/symfonycasts/tailwind-bundle/0.8/manifest.json index d6d6bdd7e..50dc85dbc 100644 --- a/symfonycasts/tailwind-bundle/0.8/manifest.json +++ b/symfonycasts/tailwind-bundle/0.8/manifest.json @@ -5,5 +5,14 @@ "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, - "aliases": ["tailwind", "tailwindcss"] + "aliases": ["tailwind", "tailwindcss"], + "add-lines": [ + { + "file": "symfony-cli.yaml", + "content": " # Watch and build CSS files using Tailwind CSS\n tailwind:\n cmd: ['symfony', 'console', 'tailwind:build', '--watch']", + "position": "after_target", + "target": "workers:", + "warn_if_missing": false + } + ] }