diff --git a/symfony/framework-bundle/8.1/.symfony.local.yaml b/symfony/framework-bundle/8.1/.symfony.local.yaml new file mode 100644 index 000000000..9d4280c19 --- /dev/null +++ b/symfony/framework-bundle/8.1/.symfony.local.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. + +http: + use_gzip: true + +# Processes that automatically run with the server (https://symfony.com/doc/current/setup/symfony_cli.html#configuring-workers) +workers: + # For example, to configure a Messenger consumer with file watching + #messenger_consume_async: + # cmd: ['symfony', 'console', 'messenger:consume', 'async'] + # watch: ['config', 'src', 'templates', 'vendor/composer/installed.json'] diff --git a/symfony/framework-bundle/8.1/manifest.json b/symfony/framework-bundle/8.1/manifest.json index 227c94052..8bc66f301 100644 --- a/symfony/framework-bundle/8.1/manifest.json +++ b/symfony/framework-bundle/8.1/manifest.json @@ -6,7 +6,8 @@ "config/": "%CONFIG_DIR%/", "public/": "%PUBLIC_DIR%/", "src/": "%SRC_DIR%/", - ".editorconfig": ".editorconfig" + ".editorconfig": ".editorconfig", + ".symfony.local.yaml": ".symfony.local.yaml" }, "composer-scripts": { "cache:clear": "symfony-cmd", diff --git a/symfony/webpack-encore-bundle/2.1/manifest.json b/symfony/webpack-encore-bundle/2.1/manifest.json index 086ced836..213f2fe60 100644 --- a/symfony/webpack-encore-bundle/2.1/manifest.json +++ b/symfony/webpack-encore-bundle/2.1/manifest.json @@ -37,6 +37,20 @@ "position": "after_target", "target": "{% block stylesheets %}", "warn_if_missing": true + }, + { + "file": ".symfony.local.yaml", + "content": [ + " # Watch and build front assets using Webpack Encore", + " npm_encore_watch:", + " cmd: ['npm', 'run', 'watch']", + " # Or instead, run the Webpack Dev Server (https://symfony.com/doc/current/frontend/encore/dev-server.html)", + " #npm_encore_dev_server:", + " # cmd: ['npm', 'run', 'dev-server']" + ], + "position": "after_target", + "target": "workers:", + "warn_if_missing": true } ] } diff --git a/symfonycasts/sass-bundle/0.6/assets/styles/app.scss b/symfonycasts/sass-bundle/0.6/assets/styles/app.scss new file mode 100644 index 000000000..0fa0a5a58 --- /dev/null +++ b/symfonycasts/sass-bundle/0.6/assets/styles/app.scss @@ -0,0 +1 @@ +// add your SASS styles in this file diff --git a/symfonycasts/sass-bundle/0.6/config/packages/symfonycasts_sass.yaml b/symfonycasts/sass-bundle/0.6/config/packages/symfonycasts_sass.yaml new file mode 100644 index 000000000..74e437503 --- /dev/null +++ b/symfonycasts/sass-bundle/0.6/config/packages/symfonycasts_sass.yaml @@ -0,0 +1,3 @@ +symfonycasts_sass: + root_sass: + - 'assets/styles/app.scss' diff --git a/symfonycasts/sass-bundle/0.6/manifest.json b/symfonycasts/sass-bundle/0.6/manifest.json new file mode 100644 index 000000000..4c04ab8fe --- /dev/null +++ b/symfonycasts/sass-bundle/0.6/manifest.json @@ -0,0 +1,40 @@ +{ + "bundles": { + "Symfonycasts\\SassBundle\\SymfonycastsSassBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "assets/": "assets/" + }, + "aliases": ["symfonycasts_sass"], + "gitignore": [ + "/%PUBLIC_DIR%/assets/" + ], + "add-lines": [ + { + "requires": "symfony/asset-mapper", + "file": "config/packages/asset_mapper.yaml", + "position": "after_target", + "warn_if_missing": true, + "target": " missing_import_mode: strict", + "content": [ + " excluded_patterns:", + " - '*/assets/styles/**/_*.scss'" + ] + }, + { + "file": ".symfony.local.yaml", + "content": [ + " # Watch and build Sass files", + " sass:", + " cmd: ['symfony', 'console', 'sass:build', '--watch']" + ], + "position": "after_target", + "target": "workers:", + "warn_if_missing": true + } + ], + "conflict": { + "symfony/asset-mapper": "<6.3" + } +} diff --git a/symfonycasts/tailwind-bundle/0.9/config/packages/symfonycasts_tailwind.yaml b/symfonycasts/tailwind-bundle/0.9/config/packages/symfonycasts_tailwind.yaml new file mode 100644 index 000000000..89c2253a4 --- /dev/null +++ b/symfonycasts/tailwind-bundle/0.9/config/packages/symfonycasts_tailwind.yaml @@ -0,0 +1,6 @@ +symfonycasts_tailwind: + # Specify the EXACT version of Tailwind CSS you want to use + binary_version: 'v4.1.18' + + # Alternatively, you can specify the path to the binary that you manage yourself + #binary: 'node_modules/.bin/tailwindcss' diff --git a/symfonycasts/tailwind-bundle/0.9/manifest.json b/symfonycasts/tailwind-bundle/0.9/manifest.json new file mode 100644 index 000000000..16cafeb70 --- /dev/null +++ b/symfonycasts/tailwind-bundle/0.9/manifest.json @@ -0,0 +1,22 @@ +{ + "bundles": { + "Symfonycasts\\TailwindBundle\\SymfonycastsTailwindBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["tailwind", "tailwindcss"], + "add-lines": [ + { + "file": ".symfony.local.yaml", + "content": [ + " # Watch and build CSS files using Tailwind CSS", + " tailwind:", + " cmd: ['symfony', 'console', 'tailwind:build', '--watch']" + ], + "position": "after_target", + "target": "workers:", + "warn_if_missing": true + } + ] +}