postcss-cli
postcss-cli copied to clipboard
Incorrect version number from cli?
With postcss-cli 8.3.1 works fine:
$ npm install -D [email protected]
$ npx postcss --version
8.3.1
With postcss-cli 9.0.0+ don't works:
$ npm install -D [email protected]
$ npx postcss --version
1.0.0
Yep, seems to be a known bug with our argument parser in ESM modules: https://github.com/yargs/yargs/issues/1934
PR: https://github.com/postcss/postcss-cli/pull/406
I have the same issue it shows 0.0.0 when it's 10.0.0
Yes, this is a known bug with a dependency we use; if anyone can work on fixing https://github.com/yargs/yargs/issues/1934, it would be appreciated.