Skip to content

Commit

Permalink
chore: update postcss version to 8 (#325)
Browse files Browse the repository at this point in the history
* chore: update postcss version to 8

* docs: update README installation instructions

* chore: remove legacy postcss dependecy

* chore: add postcss to dev dependencies

Co-authored-by: Edward Elric <SASUKE688848@gmail.com>
  • Loading branch information
Gustav Pursche and SASUKE40 authored Dec 6, 2020
1 parent 661c9ca commit 700eb14
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Seamless integration between [Rollup](https://github.com/rollup/rollup) and [Pos
## Install

```bash
yarn add rollup-plugin-postcss --dev
yarn add postcss rollup-plugin-postcss --dev
```

## Usage
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"jest": "^25.3.0",
"less": "^3.11.1",
"node-sass": "^4.13.1",
"postcss": "^8.0.0",
"rollup": "^2.6.1",
"stylus": "^0.54.7",
"sugarss": "^2.0.0",
Expand All @@ -56,7 +57,6 @@
"import-cwd": "^3.0.0",
"p-queue": "^6.3.0",
"pify": "^5.0.0",
"postcss": "^7.0.27",
"postcss-load-config": "^2.1.0",
"postcss-modules": "^2.0.0",
"promise.series": "^0.2.0",
Expand All @@ -65,6 +65,9 @@
"safe-identifier": "^0.4.1",
"style-inject": "^0.3.0"
},
"peerDependencies": {
"postcss": "^8.0.0"
},
"xo": {
"extends": "rem",
"envs": [
Expand Down
28 changes: 28 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,11 @@ color@^3.0.0:
color-convert "^1.9.1"
color-string "^1.5.2"

colorette@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==

colors@^1.1.2:
version "1.3.3"
resolved "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
Expand Down Expand Up @@ -6255,6 +6260,14 @@ line-column-path@^2.0.0:
dependencies:
type-fest "^0.4.1"

line-column@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/line-column/-/line-column-1.0.2.tgz#d25af2936b6f4849172b312e4792d1d987bc34a2"
integrity sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI=
dependencies:
isarray "^1.0.0"
isobject "^2.0.0"

lines-and-columns@^1.1.6:
version "1.1.6"
resolved "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
Expand Down Expand Up @@ -6721,6 +6734,11 @@ nan@^2.13.2:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==

nanoid@^3.1.12:
version "3.1.12"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.12.tgz#6f7736c62e8d39421601e4a0c77623a97ea69654"
integrity sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A==

nanomatch@^1.2.9:
version "1.2.13"
resolved "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
Expand Down Expand Up @@ -8074,6 +8092,16 @@ postcss@^7.0.2, postcss@^7.0.27:
source-map "^0.6.1"
supports-color "^6.1.0"

postcss@^8.0.0:
version "8.0.9"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.0.9.tgz#d112fc1e8bbed550657901550fa736ae3dd25ec5"
integrity sha512-9Ikq03Hvb/L6dgnOtNOUbcgg9Rsff5uKrI1TyNTQ2ALpa6psZk1Ar3/Hhxv2Q0rECRGDxtcMUTZIQglXozlrDQ==
dependencies:
colorette "^1.2.1"
line-column "^1.0.2"
nanoid "^3.1.12"
source-map "^0.6.1"

prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
Expand Down

0 comments on commit 700eb14

Please sign in to comment.