postcss-cli

CLI for postcss

OTHER License

Downloads
2.9M
Stars
814
Committers
52

Bot releases are hidden (Show)

postcss-cli - 8.0.0 / 2020-09-21 Latest Release

Published by RyanZim about 4 years ago

  • BREAKING: Support postcss v8 (#344, #349)
  • BREAKING: postcss is now a peerDependency, you must install it seperately (#344, #349)
  • Upgrade dependencies (#340)
postcss-cli - 7.0.0 / 2020-01-07

Published by RyanZim almost 5 years ago

postcss-cli - 6.1.0

Published by RyanZim almost 6 years ago

  • Add --include-dotfiles flag to allow globs to match dotfiles. (#254)
  • Only log warning messages. This has always been intended behavior, but it wasn't working as expected. (#244)
postcss-cli - 6.0.0

Published by RyanZim about 6 years ago

postcss-cli - 5.0.0

Published by RyanZim over 6 years ago

  • Now allows passing a directory as the input (all files in the directory will be processed)
  • The CLI is now silent by default; added --verbose flag for if you want noisy logs
  • Doesn't exit watch mode when there's an error in the plugin chain
  • Removed non-obvious shorthand arguments (-x, -p, -s, -t, -e, -b, & -c). Also removed -v as an alias for --version.
  • Prevent stupid option combinations like --dir & -o, and --watch & --replace
  • Doesn't allow --watch when writing to STDOUT
postcss-cli - v4.1.1

Published by RyanZim about 7 years ago

  • Fixed bug with --config
  • Upgraded dependencies
postcss-cli - v4.1.0

Published by RyanZim over 7 years ago

  • Can now pass a number to --poll to set poll interval
  • Updated postcss-reporter dependency to v4.0.0
postcss-cli - v4.0.0

Published by RyanZim over 7 years ago

  • BREAKING: Upgrade postcss to v6.x
postcss-cli - v3.2.0

Published by RyanZim over 7 years ago

  • Added --base CLI option for keeping directory structure
postcss-cli - v3.1.1

Published by RyanZim over 7 years ago

  • Fixed files property in package.json; lib/ folder wasn't included in v3.1.0
postcss-cli - BROKEN: v3.1.0

Published by RyanZim over 7 years ago

This release is broken and deprecated, use v3.1.1 instead.

  • Improved incremental rebuilds for better performance in watch mode.
  • Switched to read-cache for file reading for better performance.
  • Set a dummy filename when reading from stdin to help plugins like autoprefixer find config files.
  • Updated fs-promise dependency.
postcss-cli - v3.0.0

Published by RyanZim over 7 years ago

Changes since 3.0.0-beta

Breaking Changes

  • Don't exit on CssSyntaxError in watch mode. v2 behaved this way, but v3.0.0-beta didn't.
  • Error out if from or to options are set in the config file. Use command line arguments instead.

New Features

  • Add --poll option. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2.

Bugfixes

  • Set from option for correct sourcemaps
  • Fix --watch's glob handling
  • Fix error handling

Changes since v2.6.0

Breaking Changes

  • Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format.
  • Can't set input files in config file; pass input files on the command line instead.
  • --use accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.
  • Can't pass options to plugins via --plugin.key=value anymore, use a config file.
  • Changed usage of the --map option; use --map for external sourcemaps, --no-map to disable all maps. Inline sourcemaps are default.
  • Removed --log flag; this behavior is now default.
  • Removed the --local-plugins flag; same result can be achieved with postcss.config.js.
  • Removed the global watchCSS handler, plugins that import/rely on other files should use a dependency message instead.
  • Changed behavior of the --poll option; no longer accepts an integer interval.

New Features

  • --ext (-x) option allows you to set the file extensions for your output files when using --dir.
  • --env allows you to set NODE_ENV in a cross-platform manner.

Migration guide for upgrading from v2: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3

postcss-cli - v3.0.0-beta

Published by RyanZim over 7 years ago

Breaking Changes

  • Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format.
  • Can't set input files in config file; pass input files on the command line instead.
  • --use accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.
  • Can't pass options to plugins via --plugin.key=value anymore, use a config file.
  • Changed usage of the --map option; use --map for external sourcemaps, --no-map to disable all maps. Inline sourcemaps are default.
  • Removed --log flag; this behavior is now default.
  • Removed the --local-plugins flag; same result can be achieved with postcss.config.js.
  • Removed the global watchCSS handler, plugins that import/rely on other files should use a dependency message instead.

New Features

  • --ext (-x) option allows you to set the file extensions for your output files when using --dir.
  • --env allows you to set NODE_ENV in a cross-platform manner.

Please test this beta release and report any bugs you find.

Migration guide: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3

postcss-cli - 2.6.0

Published by watilde about 8 years ago

2.6.0 - 2016-08-30

Added

Fixed

postcss-cli - 2.5.2

Published by watilde over 8 years ago

2.5.2 - 2016-04-18

Added

Fixed