Skip to content

Make @tailwindcss/node a required peer dependency#4

Merged
zipper merged 1 commit into
mainfrom
refactor/require-tailwindcss-node
Apr 2, 2026
Merged

Make @tailwindcss/node a required peer dependency#4
zipper merged 1 commit into
mainfrom
refactor/require-tailwindcss-node

Conversation

@zipper
Copy link
Copy Markdown
Owner

@zipper zipper commented Apr 2, 2026

Summary

  • Move @tailwindcss/node from optional to required peer dependency
  • The plugin does not function without it — class sorting is its sole purpose
  • Update documentation to reflect the requirement

Changes

  • package.json: add to peerDependencies, remove peerDependenciesMeta
  • src/tailwind.ts: update warning message to mention required dependency
  • README.md, docs/options.md: update peer dependency documentation

Note

Depends on #3 (merge that first) — this branch is based on top of it.

@zipper zipper force-pushed the refactor/require-tailwindcss-node branch from 5f62646 to 0776d46 Compare April 2, 2026 08:13
The plugin does not function without it — class sorting is its
sole purpose. Removes optional flag from peerDependenciesMeta and
updates documentation accordingly.
@zipper zipper force-pushed the refactor/require-tailwindcss-node branch from 0776d46 to c16510d Compare April 2, 2026 08:15
@zipper zipper merged commit 9efeafd into main Apr 2, 2026
1 check passed
@zipper zipper deleted the refactor/require-tailwindcss-node branch April 2, 2026 08:16
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.

1 participant