From 38d883e2efb130194594d9c1d062d46b08393485 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 12 Nov 2025 08:24:59 +0100 Subject: [PATCH 1/5] [FrameworkBundle] Add `symfony-cli.yaml` file --- symfony/framework-bundle/7.4/.symfony.cli.yaml | 9 +++++++++ symfony/framework-bundle/7.4/manifest.json | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 symfony/framework-bundle/7.4/.symfony.cli.yaml 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..31ff317ad --- /dev/null +++ b/symfony/framework-bundle/7.4/.symfony.cli.yaml @@ -0,0 +1,9 @@ +# This configuration file is used by the Symfony CLI tool. +# See https://symfony.com/doc/current/setup/symfony_cli.html for more information. + +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/framework-bundle/7.4/manifest.json b/symfony/framework-bundle/7.4/manifest.json index 00fae168f..307382587 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", From 1067d684425faf1f23e8322565806695875a2244 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 12 Nov 2025 08:25:13 +0100 Subject: [PATCH 2/5] [WebpackEncoreBundle] Add workers in `symfony-cli.yaml` file --- symfony/webpack-encore-bundle/2.0/manifest.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/symfony/webpack-encore-bundle/2.0/manifest.json b/symfony/webpack-encore-bundle/2.0/manifest.json index 16f8dcd46..972592c05 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 } ] } From 1d44ee944175efd32094731b7119415084fca537 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 12 Nov 2025 08:31:47 +0100 Subject: [PATCH 3/5] [SymfonyCastsSassBundle] Add worker in `symfony-cli.yaml` file --- symfonycasts/sass-bundle/0.5/manifest.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/symfonycasts/sass-bundle/0.5/manifest.json b/symfonycasts/sass-bundle/0.5/manifest.json index 20adf8aaf..ef6d81bd2 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": { From d459cae1e43eefef4e39fd34616bbf420e662c0f Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 12 Nov 2025 08:31:56 +0100 Subject: [PATCH 4/5] [SymfonyCastsTailwindBundle] Add worker in `symfony-cli.yaml` file --- symfonycasts/tailwind-bundle/0.8/manifest.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/symfonycasts/tailwind-bundle/0.8/manifest.json b/symfonycasts/tailwind-bundle/0.8/manifest.json index d6d6bdd7e..640e24eb7 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 + } + ] } From e3c7417b208874725c695a9ad0f19938eecb926d Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Thu, 20 Nov 2025 21:55:21 +0100 Subject: [PATCH 5/5] [TypeScriptBundle] Add recipe --- sensiolabs/typescript-bundle/0.2/manifest.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sensiolabs/typescript-bundle/0.2/manifest.json diff --git a/sensiolabs/typescript-bundle/0.2/manifest.json b/sensiolabs/typescript-bundle/0.2/manifest.json new file mode 100644 index 000000000..db98021b5 --- /dev/null +++ b/sensiolabs/typescript-bundle/0.2/manifest.json @@ -0,0 +1,18 @@ +{ + "bundles": { + "Sensiolabs\\TypeScriptBundle\\SensiolabsTypeScriptBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["typescript"], + "add-lines": [ + { + "file": ".symfony.cli.yaml", + "content": " # Watch and build TypeScript files\n typescript:\n cmd: ['symfony', 'console', 'typescript:build', '--watch']", + "position": "after_target", + "target": "workers:", + "warn_if_missing": false + } + ] +}