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

mark tailwindcss as a peer dependency #14

Merged
merged 2 commits into from
May 24, 2021
Merged

mark tailwindcss as a peer dependency #14

merged 2 commits into from
May 24, 2021

Commits on May 11, 2021

  1. mark tailwindcss as a peer dependency

    This plugin uses tailwindcss internally, but marks it only as a dev dependency rather than a peer dependency, causing errors/undefined behavior in monorepos and Yarn PNP. Correctly adding tailwind as a peer dependency allows for correct resolution to occur while still referencing the *user's* tailwind and not an internal version.
    
    Other official plugins have already corrected this: see tailwindlabs/tailwindcss-forms@8a8671b
    
    This pull request is identical to tailwindlabs/tailwindcss-line-clamp#6. Both other official plugins (forms, typography) already correctly use peer dependencies.
    dominicm00 committed May 11, 2021
    Configuration menu
    Copy the full SHA
    7d77804 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Update package.json

    adamwathan committed May 24, 2021
    Configuration menu
    Copy the full SHA
    bb844fe View commit details
    Browse the repository at this point in the history