Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add symfonycasts/tailwind-bundle recipe #1383

Merged

Conversation

kbond
Copy link
Member

@kbond kbond commented Mar 4, 2025

Q A
License MIT
Doc issue/PR SymfonyCasts/tailwind-bundle#91

Starting with 0.8, not setting the exact version or path to a binary is deprecated.

Prior to 0.8, the latest tailwind was downloaded if not set explicitly. This was causing v4 to be downloaded on projects that don't support it. The easiest way to fix was to require an exact version be defined to lock the version your app uses.

Copy link

github-actions bot commented Mar 4, 2025

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/flex/pull-1383/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1383/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'symfonycasts/tailwind-bundle:^0.8'
  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.

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) March 4, 2025 15:35
@symfony-recipes-bot symfony-recipes-bot merged commit 2da3aec into symfony:main Mar 4, 2025
1 of 2 checks passed
Kocal added a commit to Kocal/symfony-recipes-contrib that referenced this pull request Mar 22, 2025
I should have done this at the very first, but it's the same than symfony/recipes#1383
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.

4 participants