Skip to content

Commit 700eb14

Browse files
Gustav PurscheSASUKE40
andauthored
chore: update postcss version to 8 (#325)
* 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 <[email protected]>
1 parent 661c9ca commit 700eb14

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Seamless integration between [Rollup](https://github.com/rollup/rollup) and [Pos
1212
## Install
1313

1414
```bash
15-
yarn add rollup-plugin-postcss --dev
15+
yarn add postcss rollup-plugin-postcss --dev
1616
```
1717

1818
## Usage

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"jest": "^25.3.0",
4545
"less": "^3.11.1",
4646
"node-sass": "^4.13.1",
47+
"postcss": "^8.0.0",
4748
"rollup": "^2.6.1",
4849
"stylus": "^0.54.7",
4950
"sugarss": "^2.0.0",
@@ -56,7 +57,6 @@
5657
"import-cwd": "^3.0.0",
5758
"p-queue": "^6.3.0",
5859
"pify": "^5.0.0",
59-
"postcss": "^7.0.27",
6060
"postcss-load-config": "^2.1.0",
6161
"postcss-modules": "^2.0.0",
6262
"promise.series": "^0.2.0",
@@ -65,6 +65,9 @@
6565
"safe-identifier": "^0.4.1",
6666
"style-inject": "^0.3.0"
6767
},
68+
"peerDependencies": {
69+
"postcss": "^8.0.0"
70+
},
6871
"xo": {
6972
"extends": "rem",
7073
"envs": [

yarn.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,6 +2877,11 @@ color@^3.0.0:
28772877
color-convert "^1.9.1"
28782878
color-string "^1.5.2"
28792879

2880+
colorette@^1.2.1:
2881+
version "1.2.1"
2882+
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
2883+
integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==
2884+
28802885
colors@^1.1.2:
28812886
version "1.3.3"
28822887
resolved "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
@@ -6255,6 +6260,14 @@ line-column-path@^2.0.0:
62556260
dependencies:
62566261
type-fest "^0.4.1"
62576262

6263+
line-column@^1.0.2:
6264+
version "1.0.2"
6265+
resolved "https://registry.yarnpkg.com/line-column/-/line-column-1.0.2.tgz#d25af2936b6f4849172b312e4792d1d987bc34a2"
6266+
integrity sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI=
6267+
dependencies:
6268+
isarray "^1.0.0"
6269+
isobject "^2.0.0"
6270+
62586271
lines-and-columns@^1.1.6:
62596272
version "1.1.6"
62606273
resolved "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
@@ -6721,6 +6734,11 @@ nan@^2.13.2:
67216734
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
67226735
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
67236736

6737+
nanoid@^3.1.12:
6738+
version "3.1.12"
6739+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.12.tgz#6f7736c62e8d39421601e4a0c77623a97ea69654"
6740+
integrity sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A==
6741+
67246742
nanomatch@^1.2.9:
67256743
version "1.2.13"
67266744
resolved "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
@@ -8074,6 +8092,16 @@ postcss@^7.0.2, postcss@^7.0.27:
80748092
source-map "^0.6.1"
80758093
supports-color "^6.1.0"
80768094

8095+
postcss@^8.0.0:
8096+
version "8.0.9"
8097+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.0.9.tgz#d112fc1e8bbed550657901550fa736ae3dd25ec5"
8098+
integrity sha512-9Ikq03Hvb/L6dgnOtNOUbcgg9Rsff5uKrI1TyNTQ2ALpa6psZk1Ar3/Hhxv2Q0rECRGDxtcMUTZIQglXozlrDQ==
8099+
dependencies:
8100+
colorette "^1.2.1"
8101+
line-column "^1.0.2"
8102+
nanoid "^3.1.12"
8103+
source-map "^0.6.1"
8104+
80778105
prelude-ls@~1.1.2:
80788106
version "1.1.2"
80798107
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"

0 commit comments

Comments
 (0)