diff --git a/RECIPES.md b/RECIPES.md index 40ed3fc0..1c94dfec 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -593,7 +593,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [sylius/customer-reorder-plugin](https://packagist.org/packages/sylius/customer-reorder-plugin) | [1.0](sylius/customer-reorder-plugin/1.0) | | [sylius/invoicing-plugin](https://packagist.org/packages/sylius/invoicing-plugin) | [1.0](sylius/invoicing-plugin/1.0) | | [sylius/paypal-plugin](https://packagist.org/packages/sylius/paypal-plugin) | [2.0](sylius/paypal-plugin/2.0) | -| [sylius/refund-plugin](https://packagist.org/packages/sylius/refund-plugin) | [0.4](sylius/refund-plugin/0.4) | +| [sylius/refund-plugin](https://packagist.org/packages/sylius/refund-plugin) | [2.0](sylius/refund-plugin/2.0) | | [sylius/resource-bundle](https://packagist.org/packages/sylius/resource-bundle) | [1.12](sylius/resource-bundle/1.12) | | [sylius/twig-extra](https://packagist.org/packages/sylius/twig-extra) | [0.4](sylius/twig-extra/0.4) | | [sylius/twig-hooks](https://packagist.org/packages/sylius/twig-hooks) | [0.4](sylius/twig-hooks/0.4) | diff --git a/archived/sylius.refund-plugin/261e0e5e0902aa5f6178b1eac5c0019191c6d5c4.json b/archived/sylius.refund-plugin/261e0e5e0902aa5f6178b1eac5c0019191c6d5c4.json new file mode 100644 index 00000000..5165a9bf --- /dev/null +++ b/archived/sylius.refund-plugin/261e0e5e0902aa5f6178b1eac5c0019191c6d5c4.json @@ -0,0 +1,43 @@ +{ + "manifests": { + "sylius/refund-plugin": { + "manifest": { + "bundles": { + "Sylius\\RefundPlugin\\SyliusRefundPlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "assets/admin/entrypoint.js", + "content": "import '../../vendor/sylius/refund-plugin/assets/entrypoint';", + "position": "bottom", + "warn_if_missing": true + } + ] + }, + "files": { + "config/packages/sylius_refund.yaml": { + "contents": [ + "imports:", + " - { resource: \"@SyliusRefundPlugin/config/config.yaml\" }", + "" + ], + "executable": false + }, + "config/routes/sylius_refund.yaml": { + "contents": [ + "sylius_refund:", + " resource: \"@SyliusRefundPlugin/config/routes.yaml\"", + "" + ], + "executable": false + } + }, + "ref": "261e0e5e0902aa5f6178b1eac5c0019191c6d5c4" + } + } +} diff --git a/index.json b/index.json index ab0f0923..bd5b1797 100644 --- a/index.json +++ b/index.json @@ -1895,7 +1895,8 @@ "2.0" ], "sylius/refund-plugin": [ - "0.4" + "0.4", + "2.0" ], "sylius/resource-bundle": [ "1.6", diff --git a/sylius.refund-plugin.2.0.json b/sylius.refund-plugin.2.0.json new file mode 100644 index 00000000..5165a9bf --- /dev/null +++ b/sylius.refund-plugin.2.0.json @@ -0,0 +1,43 @@ +{ + "manifests": { + "sylius/refund-plugin": { + "manifest": { + "bundles": { + "Sylius\\RefundPlugin\\SyliusRefundPlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "assets/admin/entrypoint.js", + "content": "import '../../vendor/sylius/refund-plugin/assets/entrypoint';", + "position": "bottom", + "warn_if_missing": true + } + ] + }, + "files": { + "config/packages/sylius_refund.yaml": { + "contents": [ + "imports:", + " - { resource: \"@SyliusRefundPlugin/config/config.yaml\" }", + "" + ], + "executable": false + }, + "config/routes/sylius_refund.yaml": { + "contents": [ + "sylius_refund:", + " resource: \"@SyliusRefundPlugin/config/routes.yaml\"", + "" + ], + "executable": false + } + }, + "ref": "261e0e5e0902aa5f6178b1eac5c0019191c6d5c4" + } + } +}