Skip to content

update to postcss v8#34

Merged
MoOx merged 2 commits into
mainfrom
update
Jun 2, 2026
Merged

update to postcss v8#34
MoOx merged 2 commits into
mainfrom
update

Conversation

@MoOx
Copy link
Copy Markdown
Collaborator

@MoOx MoOx commented Jun 2, 2026

This required a big change to work with v8.

Closes #25

Copilot AI review requested due to automatic review settings June 2, 2026 19:59
@MoOx MoOx merged commit 927f907 into main Jun 2, 2026
9 checks passed
@MoOx MoOx deleted the update branch June 2, 2026 20:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes postcss-filter-plugins to work with PostCSS v8 and aligns dependency management with the request in #25 by making PostCSS a peer dependency, while also updating the project’s build/test/tooling to a simpler Node-based setup.

Changes:

  • Migrates the plugin implementation to the PostCSS 8 plugin API (postcssPlugin + prepare).
  • Moves PostCSS to peerDependencies (and keeps it in devDependencies for local development/testing).
  • Replaces AVA-based tests with Node’s built-in test runner and refreshes repository metadata/docs.

Reviewed changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/index.js Rewrites the plugin implementation for PostCSS 8 (new plugin API + duplicate filtering logic).
src/index.test.js Adds a new Node node:test suite covering duplicate filtering behavior.
src/tests/index.js Removes the previous AVA-based test suite.
README.md Updates README formatting and examples (but still contains legacy PostCSS plugin API usage).
package.json Switches to peerDependency for PostCSS, updates scripts/tooling, and changes published entry point to src/.
LICENSE Adds MIT license text as LICENSE.
CHANGELOG.md Normalizes markdown list formatting.
.node-version Pins a Node major version for development.
.gitignore Removes dist ignore since dist/ is no longer produced/used.
.editorconfig Removes EditorConfig configuration.
.babelrc Removes Babel configuration (no longer building dist/).
.all-contributorsrc Removes all-contributors configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.js
Comment thread README.md
Comment thread package.json
Comment thread package.json
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.

Update postcss dependency and make it a peerDependency

2 participants