Comments (4)
I've think about that too.
But I don't like the idea of a cssnext-core
name.
What about a cssnext-cli
than get the cli bin ?
from postcss-cssnext.
yeah that was my first thought too - example of that approach would the karma and grunt projects
from postcss-cssnext.
Ok I've prepared something, but after thinking about it I'm unsure if it's nice to do that, mainly for maintenance. For example to test cli, I've to duplicate some fixtures in the cssnext-cli repo.
From what I remember when I checked grunt-cli (I've already made something similar in the past for another project), the "thing"-cli doesn't contains the cli logic, it's just a wrapper to the cli.
Confirmed by this
https://github.com/gruntjs/grunt-cli/blob/6b9c34abbb08bd945fb52e9ae98c999377a44fd2/bin/grunt#L44-L45
And this
https://github.com/gruntjs/grunt/blob/master/lib/grunt/cli.js
So I'm unsure if it worth it. Grunt did that because it's mainly a cli tool & it helps to use different versions, but for example cssnext will mainly be used via nodejs directly & only occasionally run using cli or for testing purpose like you do it with suit preprocessor https://github.com/suitcss/components-grid/blob/master/package.json#L18-L19 & like I do with my poor cssrecipes.
We only have a simple bin, not a big deal don't you think ?
ps: autoprefixer did that because I were asking for a postcss-autoprefixer plugin only, & after a weird discussion, autoprefixer-core came out 💃
fyi
from postcss-cssnext.
sgtm
from postcss-cssnext.
Related Issues (20)
- Errors When Running Jest Unit Tests HOT 3
- Using variable in rgba is not interpolated correctly HOT 2
- Preserving css variables HOT 1
- no such file or directory @std/esm/esm.js.gz HOT 2
- 4.0 => deprecation + alias to postcss-preset-env ? HOT 23
- How to get rid of the source of modern CSS? HOT 1
- -
- Complex calc function simplifying incorrectly HOT 2
- Autoprefixer update HOT 3
- Using `env` (previously `constant`) in a `calc` HOT 5
- Module build failed: BrowserslistError: Unknown browser major HOT 3
- postcss-nesting version to old for jest inside vue-cli / vue-test-utils HOT 6
- Logical properties support HOT 2
- calc(..) adds space between my unit and the resulting integer. HOT 3
- How to disable autoprefixer? HOT 1
- deprecation warning messages link may happen broken HOT 1
- Can I disable compilation of css-variables to string? HOT 2
- Support for CSS Shadow Parts ? ::part and ::theme HOT 1
- [feature request] provide support for string-set and other paged media HOT 1
- TypeError: dest.on is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcss-cssnext.