-
-
Notifications
You must be signed in to change notification settings - Fork 188
★ Convergence with PostCSS (make cssnext a preset, a la Babel 6.0) #208
Comments
😢 Reading this makes me sad, but as long as there is a neat and (fairly) easy way to convert existing cssnext sites to whatever is next for the project, then I'm up for it. |
As a preset, would cssnext become something like postcss-cssnext? |
Be reassured, I won't kill the baby. Whatever solution is choosen, this will be easy to do for everyone, with a clear CHANGELOG on what to do.
That said, I think the most important thing will be to kill cssnext wrappers (gulp, grunt etc) and encourage postcss wrapper with the use of postcss-cssnext. It's not nice to have to maintain 2 similar things. |
In short, you should be happy that we will work on something better for everyone ;) |
That's good to hear. I still really love the ideas behind cssnext, so I'm glad there are the beginnings of a plan. |
I think the idea of babel is interesting. It remains modular, eco-system is consistent and everything goes in the right direction. I like the idea. 👍 |
Just a question. cssnext is not just a wrapper module, there is still a sense. How all this can be found in this version of postcss-cssnext? |
Something like postcss-cssnext will just be a bundle of cssnext "features" (no options). Some details about my idea here #202 (comment) |
Maybe because this idea is more philosophical. Currently cssnext works very well and make a awesome job. It is easy to install (npm) and to use (webpack, grunt, gulp). The subtlety of what you want to do isn't necessarily pertinante at beginning. |
postcss-cssnext is almost ready. That will help. |
Good work @MoOx, looking forward to it on npm |
@MoOx Awesome. 👍 |
+1 We are running into a situation where we have cssnext running with a few other plugins and it looks like postcss-cssnext could help make our config a bit neater. FWIW, the cssnext CLI has helped when debugging in the past, but it doesn't seem like a necessity. .postcssrc is interesting, because it could mean configuring css for a static site generator much like babel is configured, without the generator being opinionated beyond "processed with postcss". |
I plan to deprecate (and not update to cssnext v2) all runners:
We should
Not sure if it's necessary if the things about the org is necessary, but I found it would be stupid to keep a useless org, merging with postcss seems a better idea. poke @ai and @cssnext/owners: sounds good to you? Any objection/comment ? |
I move depreacted repos to my account to clean org https://github.com/ai/autoprefixer-core |
I think cssnext org is great for cssnext plugins |
There is not such thing as cssnext plugin and I plan to deprecate runners, so the org will be empty (just one repo) |
Sounds good to me. |
SGTM go 👍 |
@MoOx in this case we can remove org :) |
Nice design 👍 |
Yeah sounds good to me too! |
I will wait for each runner owners to say "yes, I am ok, let's do this". |
Yep. Just check the differences in postcss-cssnext readme. |
I just want cssNext to be to Sass/Less/Stylus what babel is to CoffeeScript/TypeScript/... |
@felixbecker this issue has been raised because babel (in 6.0) is becoming an engine like postcss that will do nothing by default (no transformation if no plugins added). If we want to follow babel footstep we should make cssnext a postcss preset (like babel-preset-es2015). That's why I mentionned a possible chane for the name. I still want mire input from cssnext users about that. |
Imo you must keep the name cssnext. Babel may be switching to a module approach, but they keep the name and everyone knows it stands for using next ES's features. CssNext has this association too. PostCSS doesnt. |
No that my point. Babel won't focus on ES future in it's core. That's a fact (just look at babel development branch atm). |
FYI, work is in progress to make official the deprecation of cssnext in favor of postcss-cssnext. |
After that all cssnext runners and interface will be deprecated on npm with a link in the deprecation message to point to the related (incoming) doc. |
Subscribers => #230 (comment) |
Currently deprecating all runners I can and giving repo back to their owners. |
I can successfully deprecate the following:
But I wasn't able for this packages
@bucaran or @DrKraken, please run this command @Swatinem, please run this command @ByteMuse, please run this command |
I make transfert request to all original creators of the packages. Tell if I made something wrong. |
Hi @MoOx The amount of information is massive, do you have a FAQ or link to see a summary of what happened? Thanks! |
It's very simple: http://cssnext.io/postcss/ |
Thanks, the JavaScript scene is so exciting 😆 |
It's alive. |
Following the move of Babel 6.0, we should thinking to:
The text was updated successfully, but these errors were encountered: