Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions symfony/framework-bundle/8.1/.symfony.local.yaml
Original file line number Diff line number Diff line change
@@ -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)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make we can show an example of message:consume configured for best DX?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make we can show an example of message:consume configured for best DX?

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']
3 changes: 2 additions & 1 deletion symfony/framework-bundle/8.1/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions symfony/webpack-encore-bundle/2.1/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
1 change: 1 addition & 0 deletions symfonycasts/sass-bundle/0.6/assets/styles/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// add your SASS styles in this file
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
symfonycasts_sass:
root_sass:
- 'assets/styles/app.scss'
40 changes: 40 additions & 0 deletions symfonycasts/sass-bundle/0.6/manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -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'
22 changes: 22 additions & 0 deletions symfonycasts/tailwind-bundle/0.9/manifest.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Loading