mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-23 16:22:19 +01:00
eduandebruijne/admin-bundle recipe (#1430)
* Add recipe for eduandebruijne/admin-bundle v9 * Add blank lines at EOF * Fix codestyle * Adjust recipe for 9.0.0 * Rename route config key * Add new environment variables for bundle version 9.1.0 * Make bundle version 9.1.0 minimum for recipe * Cleanup * Fix URL for icons in admin * Use latest bundle version, add post-install text and update ENV vars * Change ~ to null in bundle config * Remove PHP classes, they don't belong in a recipe * Bump bundle version to 11 because removing the PHP classes is not BC * Add dev-main recipe for testing * Remove dev-main version because it doesn't work that way * Update post-install text * Fix version directory * Indent post install text
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
edb_admin:
|
||||
admin_icon: "code" # See https://fontawesome.com/v5/search?s=solid
|
||||
admin_title: "Admin"
|
||||
source_prefix: "media_source"
|
||||
cache_prefix: "media_cache"
|
||||
media_class: null
|
||||
user_class: null
|
||||
@@ -0,0 +1,8 @@
|
||||
edb_dynamic:
|
||||
resource: .
|
||||
type: admin
|
||||
prefix: '%edb_admin_path%'
|
||||
|
||||
edb_admin:
|
||||
resource: '@EDBAdminBundle/Resources/config/routes.yaml'
|
||||
prefix: '%edb_admin_path%'
|
||||
18
eduandebruijne/admin-bundle/11.0/manifest.json
Normal file
18
eduandebruijne/admin-bundle/11.0/manifest.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EDB\\AdminBundle\\EDBAdminBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"assets:install %PUBLIC_DIR%": "symfony-cmd",
|
||||
"cache:clear": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"EDB_ADMIN_PATH": "admin",
|
||||
"EDB_MEDIA_PATH": "/",
|
||||
"EDB_GOOGLE_CLIENT_ID": "",
|
||||
"EDB_GOOGLE_CLIENT_SECRET": ""
|
||||
}
|
||||
}
|
||||
1
eduandebruijne/admin-bundle/11.0/post-install.txt
Normal file
1
eduandebruijne/admin-bundle/11.0/post-install.txt
Normal file
@@ -0,0 +1 @@
|
||||
* <fg=blue>Read</> the Installation Instructions at <comment>https://github.com/eduandebruijne/admin-bundle</>
|
||||
Reference in New Issue
Block a user