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:
Eduan de Bruijne
2023-04-21 08:12:27 +01:00
committed by GitHub
parent 708872f85b
commit 01797b055d
4 changed files with 34 additions and 0 deletions

View File

@@ -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

View File

@@ -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%'

View 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": ""
}
}

View File

@@ -0,0 +1 @@
* <fg=blue>Read</> the Installation Instructions at <comment>https://github.com/eduandebruijne/admin-bundle</>