Skip to content

feat(sylius-stripe-plugin): Improve vendor file links - #2006

Merged
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
loic425:improve-sylius-stripe-plugin
Jun 26, 2026
Merged

feat(sylius-stripe-plugin): Improve vendor file links#2006
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
loic425:improve-sylius-stripe-plugin

Conversation

@loic425

@loic425 loic425 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) June 26, 2026 12:53
@symfony-recipes-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2006/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2006/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'flux-se/sylius-stripe-plugin:^2.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

flux-se/sylius-stripe-plugin

1.0 vs 2.0
diff --git a/flux-se/sylius-stripe-plugin/2.0/config/routes/sylius_stripe.yaml b/flux-se/sylius-stripe-plugin/2.0/config/routes/sylius_stripe.yaml
new file mode 100644
index 00000000..e644559e
--- /dev/null
+++ b/flux-se/sylius-stripe-plugin/2.0/config/routes/sylius_stripe.yaml
@@ -0,0 +1,2 @@
+sylius_stripe_shop_express_checkout:
+    resource: "@FluxSESyliusStripePlugin/config/routes/shop_express_checkout.yaml"
diff --git a/flux-se/sylius-stripe-plugin/1.0/manifest.json b/flux-se/sylius-stripe-plugin/2.0/manifest.json
index 64c23ce7..2c8c0e2f 100644
--- a/flux-se/sylius-stripe-plugin/1.0/manifest.json
+++ b/flux-se/sylius-stripe-plugin/2.0/manifest.json
@@ -8,13 +8,13 @@
     "add-lines": [
         {
             "file": "assets/admin/entrypoint.js",
-            "content": "import '../../vendor/flux-se/sylius-stripe-plugin/assets/admin/entrypoint';",
+            "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';",
+            "content": "import '@vendor/flux-se/sylius-stripe-plugin/assets/shop/entrypoint';",
             "position": "bottom",
             "warn_if_missing": true
         }

@symfony-recipes-bot
symfony-recipes-bot merged commit 7a93483 into symfony:main Jun 26, 2026
1 of 2 checks passed
@loic425
loic425 deleted the improve-sylius-stripe-plugin branch June 26, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants