Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update postcss-cli to the latest version 🚀 #1

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 22, 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

greenkeeper bot added a commit that referenced this pull request Feb 6, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 6, 2018

Version 5.0.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 31 commits.

  • 1bf8822 5.0.0
  • dc5df26 Rename authors to contributors in package.json to comply with spec
  • 916c9b8 Don't mutate global config object
  • 205a83b Changes to prettier config
  • b570fee Upgrade chokidar to v2.0.0
  • 908817a Update CI configs
  • aa0088d BREAKING: Remove -v alias for --version
  • 06aa6ee BREAKING: Be silent, add --verbose, change logging format
  • f16d0d4 BREAKING: Don't exit watch mode when a plugin errors
  • 72557a9 Update fs-extra to version 5.0.0 (#183)
  • 1fa3574 Update prettier to version 1.9.2 (#184)
  • fecf832 BREAKING: Update globby to version 7.1.1; expand directories
  • 4b2421b User-friendly error message when --watch and writing to STDOUT
  • cc3f696 BREAKING: Revamp args parsing
  • f0af2e4 postcss should exit with code 1 when there's an error; even with --watch (#178)

There are 31 commits in total.

See the full diff

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

greenkeeper bot commented Jun 18, 2018

Version 5.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 13 commits.

  • 095ac7d 5.0.1
  • cde8a2e Add awaitWriteFinish to chokidar options (#221)
  • a6bce74 Updated readme.me to include information about glob-patterns (#211)
  • eb9aea9 Shallow copy options object (#218)
  • d71fda9 Update prettier to version 1.13.0 (#216)
  • 39d8dbd Update prettier to version 1.12.1 (#208)
  • 74119f4 Update prettier to version 1.12.0 (#206)
  • 60d2157 Update get-stdin to version 6.0.0 (#202)
  • 7769de5 Update prettier to version 1.11.0 (#200)
  • 92296be Fix test
  • 52e6834 Update globby to version 8.0.0 (#197)
  • 9a6bdb1 Fix tests on Windows (#196)
  • 97627f5 Remove unused devDeps

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 18, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 18, 2018

Version 6.0.0 just got published.

Update to this version instead 🚀

Release Notes 6.0.0
Commits

The new version differs by 12 commits.

  • 52bce09 6.0.0
  • 89a8340 Use some more modern JS features
  • 1213eeb Remove gemnasium badge
  • a9db6d2 Update postcss-load-config to version 2.0.0 (#226)
  • 38970dd Update eslint to version 5.0.0 (#223)
  • 3b6b176 Update yargs to version 12.0.1 (#224)
  • a29d244 Unpin prettier version to allow patch upgrades
  • 85445ad Update fs-extra to version 7.0.0 (#231)
  • 66c150b Update eslint-config-problems to version 1.0.0 (#230)
  • 6c1826e Update postcss to version 7.0.0 (#229)
  • 5e0305a BREAKING: Drop Node 4 support
  • 39abad6 Update CHANGELOG.md

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 18, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 18, 2018

  • The devDependency postcss-cli was updated from 2.6.0 to 6.0.1.

Update to this version instead 🚀

Commits

The new version differs by 10 commits.

  • 46b7c10 6.0.1
  • 4db795f Clarify docs for --config flag
  • f1f3056 Update nyc to v13.1.0
  • 99ac19a Throw better errors for failing (not missing) plugins (#243)
  • 85d4cc9 Update postcss-reporter to version 6.0.0 (#238)
  • 79840b6 Update sugarss to version 2.0.0 (#237)
  • c9d0959 i.e. to e.g. (#236)
  • d768037 Update postcss-import to version 12.0.0 (#235)
  • 5397879 Update prettier to version 1.14.0 (#234)
  • 3ec9b6e Update eslint-config-problems to version 1.1.0 (#232)

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 20, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 20, 2018

  • The devDependency postcss-cli was updated from 2.6.0 to 6.1.0.

Update to this version instead 🚀

Release Notes for 6.1.0
  • 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)
Commits

The new version differs by 8 commits.

  • afdc65f 6.1.0
  • cd6014b Add --include-dotfiles option to allow glob to match files/dirs that begin with '.' (#254)
  • ca69641 Fix prettier script; need to quote arguments
  • 9ab9a2f Only log warnings (#244)
  • 54cdf3a Update ava to the latest version 🚀 (#255)
  • 488e4e7 Update dependency-graph to version 0.8.0 (#253)
  • 2373251 Update eslint-config-problems to version 2.0.0 (#251)
  • b0112a6 Update prettier to version 1.15.0 (#248)

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 22, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 22, 2019

  • The devDependency postcss-cli was updated from 2.6.0 to 6.1.2.

Update to this version instead 🚀

Commits

The new version differs by 9 commits.

  • 8fd79b0 6.1.2
  • 72376fc Upgrade prettier to ~1.16.4
  • 87a7286 Update globby to v9.0.0 (#270)
  • c079cff Test Node 10 & 11
  • 938e1ef Run watch tests locally, but not on CI
  • 79e192b Fix bug in tests err vs. error
  • 1301a31 Fix test that still used removed -p option
  • f2aba49 6.1.1
  • 8c0a465 Check for messages length before logging. (#257)

See the full diff

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

greenkeeper bot commented Jul 8, 2019

  • The devDependency postcss-cli was updated from 2.6.0 to 6.1.3.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • 7091819 6.1.3
  • 0de7ccf Fix map file path creation (#286)
  • f1c7352 Update prettier to version 1.18.0 (#281)
  • 035bab8 Update nyc to version 14.0.0 (#274)
  • 541048e Update prettier to version 1.17.0 (#272)

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 7, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 7, 2020

  • The devDependency postcss-cli was updated from 2.6.0 to 7.0.0.

Update to this version instead 🚀

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

greenkeeper bot commented Jan 9, 2020

  • The devDependency postcss-cli was updated from 2.6.0 to 7.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 27, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 27, 2020

  • The devDependency postcss-cli was updated from 2.6.0 to 7.1.1.

Update to this version instead 🚀

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

Successfully merging this pull request may close these issues.

0 participants