Skip to content

Commit 76d4f0a

Browse files
author
Damian D'amico
authored
odiseoteam/sylius-vendor-plugin remove old version and add 1.3 and 1.4 versions (#1163)
* remove old version and add 1.3 and 1.4 versions * keep 1.2 and add 1.4 and 1.6 versions
1 parent 66581a9 commit 76d4f0a

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
imports:
2+
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/config.yaml" }
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
odiseo_sylius_vendor_plugin_admin:
2+
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/admin.yaml"
3+
prefix: /admin
4+
5+
odiseo_sylius_vendor_plugin_shop:
6+
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/shop.yaml"
7+
prefix: /{_locale}/vendors
8+
requirements:
9+
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
10+
11+
odiseo_sylius_vendor_plugin_api:
12+
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/api.yaml"
13+
prefix: /api
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Odiseo\\SyliusVendorPlugin\\OdiseoSyliusVendorPlugin": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
imports:
2+
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/config.yaml" }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
odiseo_sylius_vendor_plugin_admin:
2+
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/admin.yaml"
3+
prefix: /admin
4+
5+
odiseo_sylius_vendor_plugin_shop:
6+
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/shop.yaml"
7+
prefix: /{_locale}/vendors
8+
requirements:
9+
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Odiseo\\SyliusVendorPlugin\\OdiseoSyliusVendorPlugin": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}

0 commit comments

Comments
 (0)