From bf46f1654d77200ff7d2d3240d5424bbaf622502 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 26 Jun 2026 12:53:53 +0000 Subject: [PATCH] Create Flex endpoint --- flux-se.sylius-stripe-plugin.1.0.json | 41 ++++++++++++++++++++++ flux-se.sylius-stripe-plugin.2.0.json | 49 +++++++++++++++++++++++++++ index.json | 21 ++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 flux-se.sylius-stripe-plugin.1.0.json create mode 100644 flux-se.sylius-stripe-plugin.2.0.json create mode 100644 index.json diff --git a/flux-se.sylius-stripe-plugin.1.0.json b/flux-se.sylius-stripe-plugin.1.0.json new file mode 100644 index 00000000..6a49197e --- /dev/null +++ b/flux-se.sylius-stripe-plugin.1.0.json @@ -0,0 +1,41 @@ +{ + "manifests": { + "flux-se/sylius-stripe-plugin": { + "manifest": { + "bundles": { + "FluxSE\\SyliusStripePlugin\\FluxSESyliusStripePlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "assets/admin/entrypoint.js", + "content": "import '../../vendor/flux-se/sylius-stripe-plugin/assets/admin/entrypoint';", + "position": "bottom", + "warn_if_missing": true + }, + { + "file": "assets/shop/entrypoint.js", + "content": "import '../../vendor/flux-se/sylius-stripe-plugin/assets/shop/entrypoint';", + "position": "bottom", + "warn_if_missing": true + } + ] + }, + "files": { + "config/packages/sylius_stripe.yaml": { + "contents": [ + "imports:", + " - { resource: \"@FluxSESyliusStripePlugin/config/config.yaml\" }", + "" + ], + "executable": false + } + }, + "ref": "2dd2498b504978c9ade500bc07f9603bc023af9d" + } + } +} diff --git a/flux-se.sylius-stripe-plugin.2.0.json b/flux-se.sylius-stripe-plugin.2.0.json new file mode 100644 index 00000000..fe38b269 --- /dev/null +++ b/flux-se.sylius-stripe-plugin.2.0.json @@ -0,0 +1,49 @@ +{ + "manifests": { + "flux-se/sylius-stripe-plugin": { + "manifest": { + "bundles": { + "FluxSE\\SyliusStripePlugin\\FluxSESyliusStripePlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "assets/admin/entrypoint.js", + "content": "import '@vendor/flux-se/sylius-stripe-plugin/assets/admin/entrypoint';", + "position": "bottom", + "warn_if_missing": true + }, + { + "file": "assets/shop/entrypoint.js", + "content": "import '@vendor/flux-se/sylius-stripe-plugin/assets/shop/entrypoint';", + "position": "bottom", + "warn_if_missing": true + } + ] + }, + "files": { + "config/packages/sylius_stripe.yaml": { + "contents": [ + "imports:", + " - { resource: \"@FluxSESyliusStripePlugin/config/config.yaml\" }", + "" + ], + "executable": false + }, + "config/routes/sylius_stripe.yaml": { + "contents": [ + "sylius_stripe_shop_express_checkout:", + " resource: \"@FluxSESyliusStripePlugin/config/routes/shop_express_checkout.yaml\"", + "" + ], + "executable": false + } + }, + "ref": "1f4886c87aa941815a8b382af97e4110ce08fe3a" + } + } +} diff --git a/index.json b/index.json new file mode 100644 index 00000000..b9d29fe1 --- /dev/null +++ b/index.json @@ -0,0 +1,21 @@ +{ + "aliases": [], + "recipes": { + "flux-se/sylius-stripe-plugin": [ + "1.0", + "2.0" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2006/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2006/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +}