Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Update postcss-cli to the latest version 🚀 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Mar 16, 2017

Version 3.0.0 of postcss-cli just got published.

Dependency postcss-cli
Current Version 2.6.0
Type devDependency

The version 3.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of postcss-cli.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v3.0.0

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

Commits

The new version differs by 103 commits .

  • 4e82b21 3.0.0
  • 942d171 Update CHANGELOG
  • 1e1dce4 Update docs
  • 55466e2 BREAKING: Error out if to or from options is passed in config
  • 3905396 Merge pull request #109 from michael-ciniawsky/fixes
  • b180d76 chore(package): add files, update deps
  • af2f200 docs(README): fix typo, small refactor
  • eddcb06 test(error): better error handling (process.stdout)
  • 2c79338 fix(index): better error handling (process.stdout)
  • d12a122 BREAKING: Add --poll option (#108)
  • 3df9572 Fix CHANGELOG
  • a4fba99 BREAKING: Don't exit on CssSyntaxError in watch mode (v2 compat)
  • ce75575 Fix broken link
  • c33ae87 Update CHANGELOG
  • a817740 Fix syntax error in docs (#103)

There are 103 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 4, 2017

Version 3.1.0 just got published.

Update to this version instead 🚀

Release Notes v3.1.0
  • 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.
Commits

The new version differs by 7 commits .

  • 0681c8d 3.1.0
  • ea94fef Update CHANGELOG
  • b7840e6 Update Badges
  • b44a1b7 Update fs-promise
  • 3daccc1 Set from option for stdin to process.cwd() + 'stdin' (#115)
  • 097f37a Improve incremental rebuild; use absolute paths internally (#113)
  • ffc3b30 Use read-cache to cache file reads for performance

See the full diff.

@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 4, 2017

Version 3.1.1 just got published.

Update to this version instead 🚀

Release Notes v3.1.1
  • Fixed files property in package.json; lib/ folder wasn't included in v3.1.0
Commits

The new version differs by 3 commits .

See the full diff.

@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 21, 2017

Version 3.2.0 just got published.

Update to this version instead 🚀

Release Notes v3.2.0
  • Added --base CLI option for keeping directory structure
Commits

The new version differs by 3 commits0.

  • 1dac9bc 3.2.0
  • 11a32a2 Update CHANGELOG
  • 5c9729a implement --base option for keeping nested directory structures (#121)

false

See the full diff

greenkeeper bot added a commit that referenced this pull request May 9, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented May 9, 2017

Version 4.0.0 just got published.

Update to this version instead 🚀

Release Notes v4.0.0
  • BREAKING: Upgrade postcss to v6.x
Commits

The new version differs by 8 commits0.

false

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 10, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 10, 2017

Version 4.1.0 just got published.

Update to this version instead 🚀

Release Notes v4.1.0
  • Can now pass a number to --poll to set poll interval
  • Updated postcss-reporter dependency to v4.0.0
Commits

The new version differs by 7 commits.

  • 1dd6408 4.1.0
  • e7023d2 Update CHANGELOG
  • 71a8aff Update devDeps
  • 6a1d7af Upgrade postcss-reporter to ^4.0.0
  • f8c3227 Fix lint error
  • 78cf600 Allow passing a number to --poll to set poll interval
  • cc78d46 Add a glob pattern as an input example (#133)

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 8, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 8, 2017

Version 4.1.1 just got published.

Update to this version instead 🚀

Release Notes v4.1.1
  • Fixed bug with --config
  • Upgraded dependencies
Commits

The new version differs by 10 commits.

  • 0ac612c 4.1.1
  • 37bf3d1 4.1.1
  • 6f4ca1d Update dependencies and ava devDep
  • 8455220 Prevent cosmiconfig from reading from process.argv
  • 2322cb8 Move args parsing to seperate file
  • adb1acd Modify npm scripts
  • d07e9f7 Switch from standard to eslint + prettier
  • d0f8069 Use pretty-hrtime for time formatting
  • dc03d51 Fix syntax error in docs (#141)
  • 3c90a48 Fix flags table --poll documentation (#138)

See the full diff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants