A new beginning! #75
Antonio-Laguna
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Welcome! 👋
We've been wanting to share this with you for a long time but things take time! This started as a shy effort from @romainmenke to propose a Mono Repository structure for everything
postcss-preset-env
related. When we worked on making sure the plugin pack was ready for PostCSS 8 we realized we needed a better environment for all of these plugins to co-exist and to be maintained easier.Right after the migration to PostCSS 8, we began to work on this more seriously to get it completed. We've just finished it by moving these 3 plugins into the mono repo:
postcss-color-rebeccapurple
postcss-color-hex-alpha
postcss-custom-properties
This means all of the plugins from CSS Tools that are part of
postcss-preset-env
are now integrated into the mono repo. It also means that all of those repositories are now archived and are pointing to the appropriate folder and this announcement 🎉 .The mono repo works thanks to workspaces, introduced by NPM 7 which makes maintaining this a breeze. We've had our hiccups and adaptations but we hope it's a pleasant experience for everyone that wants to contribute. The main goal was to keep history and contributions intact and @romainmenke has been killing it on that (and many other) fronts.
We've also established a Code of Conduct to be respected, especially important in the now enabled Discussions. We want to welcome everyone to contribute to this and we'll be working on new things as well. We feel we stand on the shoulder of giants and we hope we can keep on building and improving on this ecosystem.
Releases
As part of moving to this new structure, we've also leveraged the opportunity to fix this issue and replaced all of the usages of that plugin with postcss-value-parser which has been more actively maintained. As a result, the new version of
postcss-preset-env
should work now nicely.Other than this issue we've been fixing many other things and tried to gauge the severity of issues reported in all the repositories. We've also made sure that all of the plugins have a working CLI version and that browser packages (where appropriate) work flawlessly now.
Because of the mono repo, we won't be creating release tags anymore but you'll see commits such as this which means that a new version has been published to NPM. We'll do our best to keep the CHANGELOG files up to date so you can keep track of what's going on.
We're very aware of the impact that changing a package version might have, especially when most of the plugins are just leveraged by
postcss-preset-env
. Even when we do a breaking change, we will do our absolute best to keep usage changes to a minimum so we don't have to release a newpostcss-preset-env
major version that needs to handle it. As an example, CSS Prefers Color Scheme has been bumped by a major version due to plugin usage changes but we've made it so the plugin pack handles it for you so it's not actually breaking.What about __?
This is a starting point. We want to keep working on new plugins, improving other plugins and tools. To name a few things that have been in the background of our minds/computers, we're working to get CSSDB updated, less
:is
onpostcss-nesting
, creating a plugin to potentially unwrap:is
so it's more compatible with older browsers, css-color-4 support and even Container Queries to just name a few things that come to mind.Stay tuned!
Final words
We truly want to thank everyone that has contributed and/or will contribute. Special thanks also to @jonathantneal on whose shoulders we stand and that's been providing guidance and counseling throughout this entire process. I don't want to forget either about @ai which not only created PostCSS and Autoprefixer but also has been very friendly and helpful with this migration. We don't want to forget about older contributors such as @Semigradsky , @MoOx , @dargmuesli, or @armano2 to name a few. Thanks all!
We're also on Discord even if we don't publicize as much you can find us there too!
Beta Was this translation helpful? Give feedback.
All reactions