chore(deps): esbuild-plugin-postcss 0.4.0 - #100
Merged
Conversation
0.4.0 makes less, sass, and stylus optional — they are no longer dependencies of the plugin, so they leave the graph of everything that consumes it. The example and the tailwindcss template only ever imported `postCSSPlugin`, so the breaking half of that release needs no code change here; both keep building. Removes the less/sass/stylus subtree from this repo's lockfile. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
🎉 This PR is included in version 0.9.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Picks up
@udibo/esbuild-plugin-postcss@0.4.0(udibo/esbuild-plugin-postcss#8), which makesless,sass, andstylusoptional rather than hard dependencies of the plugin.JSR resolves a package's dependencies as one flat set across every export, so those three were installed by everything that consumed the plugin — including builds that only ever import
postCSSPlugin, which is all this repo does.Changes
example/deno.jsonandtemplates/tailwindcss/deno.json:0.3.0/^0.3.0→^0.4.0.grep -cE '"(less|sass|stylus)@' deno.lock→ 0).No code change needed. 0.4.0's breaking half is the preprocessor signatures, which now take the module as their first argument. Nothing here calls a preprocessor — only
postCSSPlugin— so both the example and the template are untouched.Anyone starting from the tailwindcss template gets a smaller dependency graph and is unaffected by the API change unless they add a preprocessor, at which point they add
less/sass/stylusto their own deps and pass it in.Testing
deno task checkclean (226 + 278 files). Full suite green — 19 passed, 266 steps, 0 failed.🤖 Generated with Claude Code