mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -124,6 +124,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [symfony/uid](https://packagist.org/packages/symfony/uid) | [6.2](symfony/uid/6.2) | `uid` |
|
||||
| [symfony/ux-autocomplete](https://packagist.org/packages/symfony/ux-autocomplete) | [2.6](symfony/ux-autocomplete/2.6) | `ux-autocomplete`, `uxautocomplete` |
|
||||
| [symfony/ux-live-component](https://packagist.org/packages/symfony/ux-live-component) | [2.6](symfony/ux-live-component/2.6) | `ux-live-component`, `uxlivecomponent` |
|
||||
| [symfony/ux-translator](https://packagist.org/packages/symfony/ux-translator) | [2.7](symfony/ux-translator/2.7) | `ux-translator`, `uxtranslator` |
|
||||
| [symfony/validator](https://packagist.org/packages/symfony/validator) | [5.3](symfony/validator/5.3) | `validation`, `validator` |
|
||||
| [symfony/vonage-notifier](https://packagist.org/packages/symfony/vonage-notifier) | [5.4](symfony/vonage-notifier/5.4) | `vonage-notifier`, `vonagenotifier` |
|
||||
| [symfony/web-profiler-bundle](https://packagist.org/packages/symfony/web-profiler-bundle) | [6.1](symfony/web-profiler-bundle/6.1) | `web-profiler-bundle`, `webprofilerbundle` |
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/ux-translator": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\UX\\Translator\\TranslatorBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"assets/translator.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * This file is part of the Symfony UX Translator package.",
|
||||
" *",
|
||||
" * If folder \"../var/translations\" does not exist, or some translations are missing,",
|
||||
" * you must warmup your Symfony cache to refresh JavaScript translations.",
|
||||
" *",
|
||||
" * If you use TypeScript, you can rename this file to \"translator.ts\" to take advantage of types checking.",
|
||||
" */",
|
||||
"",
|
||||
"import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';",
|
||||
"import { localeFallbacks } from '../var/translations/configuration';",
|
||||
"",
|
||||
"setLocaleFallbacks(localeFallbacks);",
|
||||
"",
|
||||
"export { trans };",
|
||||
"export * from '../var/translations';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/ux_translator.yaml": {
|
||||
"contents": [
|
||||
"ux_translator:",
|
||||
" # The directory where the JavaScript translations are dumped",
|
||||
" dump_directory: '%kernel.project_dir%/var/translations'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "368d87bd6a1888d83b6b028692cdb09c2097f004"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -382,8 +382,10 @@
|
||||
"ux": "symfony/webpack-encore-bundle",
|
||||
"ux-autocomplete": "symfony/ux-autocomplete",
|
||||
"ux-live-component": "symfony/ux-live-component",
|
||||
"ux-translator": "symfony/ux-translator",
|
||||
"uxautocomplete": "symfony/ux-autocomplete",
|
||||
"uxlivecomponent": "symfony/ux-live-component",
|
||||
"uxtranslator": "symfony/ux-translator",
|
||||
"validation": "symfony/validator",
|
||||
"validator": "symfony/validator",
|
||||
"var-dumper": "symfony/var-dumper",
|
||||
@@ -856,6 +858,9 @@
|
||||
"2.0",
|
||||
"2.6"
|
||||
],
|
||||
"symfony/ux-translator": [
|
||||
"2.7"
|
||||
],
|
||||
"symfony/validator": [
|
||||
"4.1",
|
||||
"4.3",
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/ux-translator": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\UX\\Translator\\TranslatorBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"assets/translator.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * This file is part of the Symfony UX Translator package.",
|
||||
" *",
|
||||
" * If folder \"../var/translations\" does not exist, or some translations are missing,",
|
||||
" * you must warmup your Symfony cache to refresh JavaScript translations.",
|
||||
" *",
|
||||
" * If you use TypeScript, you can rename this file to \"translator.ts\" to take advantage of types checking.",
|
||||
" */",
|
||||
"",
|
||||
"import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';",
|
||||
"import { localeFallbacks } from '../var/translations/configuration';",
|
||||
"",
|
||||
"setLocaleFallbacks(localeFallbacks);",
|
||||
"",
|
||||
"export { trans };",
|
||||
"export * from '../var/translations';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/ux_translator.yaml": {
|
||||
"contents": [
|
||||
"ux_translator:",
|
||||
" # The directory where the JavaScript translations are dumped",
|
||||
" dump_directory: '%kernel.project_dir%/var/translations'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "368d87bd6a1888d83b6b028692cdb09c2097f004"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user