diff --git a/.github/bin/format-package-json.mjs b/.github/bin/format-package-json.mjs index 5db7b7df1..7da8a6ba4 100644 --- a/.github/bin/format-package-json.mjs +++ b/.github/bin/format-package-json.mjs @@ -1,6 +1,29 @@ import { promises as fsp, constants } from 'fs'; import path from 'path'; +async function postcssPeerDependencyVersion() { + // "postcss-tape" is our reference for PostCSS versions. + // This package is our test suite. + // If CI passes it means the plugin is compatible with the lower version in "postcss-tape". + const packageJSONInfoForPostCSS_Tape = JSON.parse(await fsp.readFile('../../packages/postcss-tape/package.json', 'utf8')); + + // "postcss-tape" package.json: + // + // "dependencies": { + // "postcss": "~8.4", + // "postcss-8.2": "npm:postcss@~8.2" + // } + // + const lowerPostCSS_VersionKey = Object.keys(packageJSONInfoForPostCSS_Tape.dependencies).find((x) => { + return x.startsWith('postcss-') && packageJSONInfoForPostCSS_Tape.dependencies[x].includes('npm:postcss@~'); + }); + + const lowerPostCSS_Version = packageJSONInfoForPostCSS_Tape.dependencies[lowerPostCSS_VersionKey]; + + // "npm:postcss@~8.2" -> "8.2" + return lowerPostCSS_Version.split('~')[1]; +} + const packageJSONInfo = JSON.parse(await fsp.readFile('./package.json', 'utf8')); const packageJSONInfoCopy = JSON.stringify(packageJSONInfo, null, '\t'); const formatted = {}; @@ -98,6 +121,10 @@ const formatted = {}; formatted.peerDependencies[dependencyKeys[i]] = packageJSONInfo.peerDependencies[dependencyKeys[i]]; } delete packageJSONInfo.peerDependencies; + + if (formatted.peerDependencies['postcss']) { + formatted.peerDependencies['postcss'] = '^' + (await postcssPeerDependencyVersion()); + } } if (Object.keys(packageJSONInfo.devDependencies ?? {}).length) { diff --git a/UPDATING_POSTCSS.md b/UPDATING_POSTCSS.md index cffb0e242..469d83736 100644 --- a/UPDATING_POSTCSS.md +++ b/UPDATING_POSTCSS.md @@ -2,13 +2,40 @@ see : `packages/postcss-tape/package.json` -Set the `postcss` version to match the peer dependency of all plugins.
-Set the `postcss-oldest-supported` depending on community needs. This can be the same as the `postcss` version. +```js +"dependencies": { + // most recent version + "postcss": "~8.4", + // oldest supported + "postcss-8.2": "npm:postcss@~8.2" +}, +``` +## updating + +- only update `postcss-tape` +- run `npm run lint` from the root + +This will update the peer dependency version for PostCSS in all packages and plugins. + +## most recent version + +- kept up to date +- only used in CI to catch regressions + +## oldest supported + +- used as the peer dependency version in all plugins and packages +- updated based on community needs +- can be the same as the **most recent version** version + +## semver flags - Plugins use `^MAJOR.MINOR`. - PostCSS Tape uses `~MAJOR.MINOR`. +## notes + Avoid increasing these versions when possible. Major version updates are also always a breaking change. diff --git a/experimental/css-has-pseudo/package.json b/experimental/css-has-pseudo/package.json index 33e785539..cbd705593 100644 --- a/experimental/css-has-pseudo/package.json +++ b/experimental/css-has-pseudo/package.json @@ -40,7 +40,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "devDependencies": { "@mrhenry/core-web": "^0.7.2", diff --git a/package-lock.json b/package-lock.json index 5ad570000..cc6b1ea89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -110,7 +110,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "node_modules/@ampproject/remapping": { @@ -6681,7 +6681,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3", + "postcss": "^8.2", "postcss-selector-parser": "^6.0.10" } }, @@ -6748,7 +6748,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/css-blank-pseudo": { @@ -6768,7 +6768,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/css-has-pseudo": { @@ -6788,7 +6788,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/css-prefers-color-scheme": { @@ -6805,7 +6805,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-attribute-case-insensitive": { @@ -6822,7 +6822,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-base-plugin": { @@ -6840,7 +6840,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-cascade-layers": { @@ -6863,7 +6863,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-color-function": { @@ -6885,7 +6885,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-color-functional-notation": { @@ -6902,7 +6902,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-color-hex-alpha": { @@ -6919,7 +6919,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-color-rebeccapurple": { @@ -6936,7 +6936,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-custom-media": { @@ -6953,7 +6953,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-custom-properties": { @@ -6973,7 +6973,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-custom-selectors": { @@ -6990,7 +6990,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-design-tokens": { @@ -7012,7 +7012,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-dir-pseudo-class": { @@ -7029,7 +7029,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-double-position-gradients": { @@ -7047,7 +7047,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-env-function": { @@ -7064,7 +7064,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-focus-visible": { @@ -7081,7 +7081,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-focus-within": { @@ -7098,7 +7098,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-font-format-keywords": { @@ -7116,7 +7116,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-gap-properties": { @@ -7130,7 +7130,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-gradients-interpolation-method": { @@ -7149,7 +7149,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-hwb-function": { @@ -7167,7 +7167,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-ic-unit": { @@ -7186,7 +7186,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-image-set-function": { @@ -7203,7 +7203,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-is-pseudo-class": { @@ -7225,7 +7225,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-lab-function": { @@ -7243,7 +7243,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-logical": { @@ -7257,7 +7257,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-nesting": { @@ -7275,7 +7275,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-normalize-display-values": { @@ -7293,7 +7293,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-oklab-function": { @@ -7312,7 +7312,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-overflow-shorthand": { @@ -7326,7 +7326,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-place": { @@ -7343,7 +7343,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-progressive-custom-properties": { @@ -7361,7 +7361,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-pseudo-class-any-link": { @@ -7378,7 +7378,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-selector-not": { @@ -7395,7 +7395,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-stepped-value-functions": { @@ -7413,7 +7413,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } }, "plugins/postcss-trigonometric-functions": { @@ -7431,7 +7431,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" } }, "plugins/postcss-unset-value": { @@ -7446,7 +7446,7 @@ "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" } } }, diff --git a/packages/selector-specificity/package.json b/packages/selector-specificity/package.json index bf3cefa26..c93dc64ea 100644 --- a/packages/selector-specificity/package.json +++ b/packages/selector-specificity/package.json @@ -38,7 +38,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.3", + "postcss": "^8.2", "postcss-selector-parser": "^6.0.10" }, "devDependencies": { diff --git a/plugin-packs/postcss-preset-env/package.json b/plugin-packs/postcss-preset-env/package.json index 3ce434c57..2b60e3b20 100644 --- a/plugin-packs/postcss-preset-env/package.json +++ b/plugin-packs/postcss-preset-env/package.json @@ -76,7 +76,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "devDependencies": { "postcss-simple-vars": "^6.0.3" diff --git a/plugins/css-blank-pseudo/package.json b/plugins/css-blank-pseudo/package.json index 53c6db90b..7215e4447 100644 --- a/plugins/css-blank-pseudo/package.json +++ b/plugins/css-blank-pseudo/package.json @@ -42,7 +42,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location", diff --git a/plugins/css-has-pseudo/package.json b/plugins/css-has-pseudo/package.json index 7d1e46dff..2a475a6d7 100644 --- a/plugins/css-has-pseudo/package.json +++ b/plugins/css-has-pseudo/package.json @@ -42,7 +42,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location", diff --git a/plugins/css-prefers-color-scheme/package.json b/plugins/css-prefers-color-scheme/package.json index a10deaaff..415bf7fbb 100644 --- a/plugins/css-prefers-color-scheme/package.json +++ b/plugins/css-prefers-color-scheme/package.json @@ -40,7 +40,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location", diff --git a/plugins/postcss-attribute-case-insensitive/package.json b/plugins/postcss-attribute-case-insensitive/package.json index 22586af7d..45b496ec8 100644 --- a/plugins/postcss-attribute-case-insensitive/package.json +++ b/plugins/postcss-attribute-case-insensitive/package.json @@ -44,7 +44,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-base-plugin/package.json b/plugins/postcss-base-plugin/package.json index fd33a5b84..1566babc5 100644 --- a/plugins/postcss-base-plugin/package.json +++ b/plugins/postcss-base-plugin/package.json @@ -42,7 +42,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-cascade-layers/package.json b/plugins/postcss-cascade-layers/package.json index 46c4a45c4..75588cdff 100644 --- a/plugins/postcss-cascade-layers/package.json +++ b/plugins/postcss-cascade-layers/package.json @@ -50,7 +50,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "devDependencies": { "postcss-import": "^14.1.0", diff --git a/plugins/postcss-color-function/package.json b/plugins/postcss-color-function/package.json index 6a078823d..6d48663df 100644 --- a/plugins/postcss-color-function/package.json +++ b/plugins/postcss-color-function/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "devDependencies": { "postcss-lab-function": "^4.0.3" diff --git a/plugins/postcss-color-functional-notation/package.json b/plugins/postcss-color-functional-notation/package.json index 7edebc54f..00e9f4f76 100644 --- a/plugins/postcss-color-functional-notation/package.json +++ b/plugins/postcss-color-functional-notation/package.json @@ -31,7 +31,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-color-hex-alpha/package.json b/plugins/postcss-color-hex-alpha/package.json index fa51aadf4..dba23c502 100644 --- a/plugins/postcss-color-hex-alpha/package.json +++ b/plugins/postcss-color-hex-alpha/package.json @@ -48,7 +48,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-color-rebeccapurple/package.json b/plugins/postcss-color-rebeccapurple/package.json index 2cc5a2d84..a2fdf8e55 100644 --- a/plugins/postcss-color-rebeccapurple/package.json +++ b/plugins/postcss-color-rebeccapurple/package.json @@ -48,7 +48,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-custom-media/package.json b/plugins/postcss-custom-media/package.json index bcbd7b167..d12f4aec8 100644 --- a/plugins/postcss-custom-media/package.json +++ b/plugins/postcss-custom-media/package.json @@ -48,7 +48,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-custom-properties/package.json b/plugins/postcss-custom-properties/package.json index fcc2ce071..0bc556f3c 100644 --- a/plugins/postcss-custom-properties/package.json +++ b/plugins/postcss-custom-properties/package.json @@ -35,7 +35,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "devDependencies": { "postcss-import": "^14.0.2" diff --git a/plugins/postcss-custom-selectors/package.json b/plugins/postcss-custom-selectors/package.json index 52e112ebc..b89775092 100644 --- a/plugins/postcss-custom-selectors/package.json +++ b/plugins/postcss-custom-selectors/package.json @@ -50,7 +50,7 @@ "postcss-selector-parser": "^6.0.4" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-design-tokens/package.json b/plugins/postcss-design-tokens/package.json index bddefa0aa..a4389c8ed 100644 --- a/plugins/postcss-design-tokens/package.json +++ b/plugins/postcss-design-tokens/package.json @@ -41,7 +41,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "devDependencies": { "postcss-import": "^14.1.0", diff --git a/plugins/postcss-dir-pseudo-class/package.json b/plugins/postcss-dir-pseudo-class/package.json index 55166c5c6..d4a0ed5e7 100644 --- a/plugins/postcss-dir-pseudo-class/package.json +++ b/plugins/postcss-dir-pseudo-class/package.json @@ -30,7 +30,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-double-position-gradients/package.json b/plugins/postcss-double-position-gradients/package.json index b4d77c208..15826a29a 100644 --- a/plugins/postcss-double-position-gradients/package.json +++ b/plugins/postcss-double-position-gradients/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-env-function/package.json b/plugins/postcss-env-function/package.json index 306ed26f7..d0256b7f3 100644 --- a/plugins/postcss-env-function/package.json +++ b/plugins/postcss-env-function/package.json @@ -30,7 +30,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-focus-visible/package.json b/plugins/postcss-focus-visible/package.json index 320720ded..8c12e8a2a 100644 --- a/plugins/postcss-focus-visible/package.json +++ b/plugins/postcss-focus-visible/package.json @@ -31,7 +31,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-focus-within/package.json b/plugins/postcss-focus-within/package.json index f0c1d5767..f2c97d87e 100644 --- a/plugins/postcss-focus-within/package.json +++ b/plugins/postcss-focus-within/package.json @@ -31,7 +31,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-font-format-keywords/package.json b/plugins/postcss-font-format-keywords/package.json index 9164a147c..3554b7874 100644 --- a/plugins/postcss-font-format-keywords/package.json +++ b/plugins/postcss-font-format-keywords/package.json @@ -31,7 +31,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-gap-properties/package.json b/plugins/postcss-gap-properties/package.json index 7b9013a85..ecbd2311d 100644 --- a/plugins/postcss-gap-properties/package.json +++ b/plugins/postcss-gap-properties/package.json @@ -27,7 +27,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-gradients-interpolation-method/package.json b/plugins/postcss-gradients-interpolation-method/package.json index a3aa615f6..2f3d8ed35 100644 --- a/plugins/postcss-gradients-interpolation-method/package.json +++ b/plugins/postcss-gradients-interpolation-method/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-hwb-function/package.json b/plugins/postcss-hwb-function/package.json index 0f161a0c3..3ce17c8c8 100644 --- a/plugins/postcss-hwb-function/package.json +++ b/plugins/postcss-hwb-function/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-ic-unit/package.json b/plugins/postcss-ic-unit/package.json index 4a24d46bc..75be8c43f 100644 --- a/plugins/postcss-ic-unit/package.json +++ b/plugins/postcss-ic-unit/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-image-set-function/package.json b/plugins/postcss-image-set-function/package.json index db741bbcc..a48be1c9f 100644 --- a/plugins/postcss-image-set-function/package.json +++ b/plugins/postcss-image-set-function/package.json @@ -31,7 +31,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-is-pseudo-class/package.json b/plugins/postcss-is-pseudo-class/package.json index dbb4fad39..0e08ab33c 100644 --- a/plugins/postcss-is-pseudo-class/package.json +++ b/plugins/postcss-is-pseudo-class/package.json @@ -32,7 +32,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "devDependencies": { "puppeteer": "^13.6.0" diff --git a/plugins/postcss-lab-function/package.json b/plugins/postcss-lab-function/package.json index 1d910681c..db9be39d7 100644 --- a/plugins/postcss-lab-function/package.json +++ b/plugins/postcss-lab-function/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-logical/package.json b/plugins/postcss-logical/package.json index d758ef053..0bca53521 100644 --- a/plugins/postcss-logical/package.json +++ b/plugins/postcss-logical/package.json @@ -27,7 +27,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-nesting/package.json b/plugins/postcss-nesting/package.json index 1229a658b..10d3bbc25 100644 --- a/plugins/postcss-nesting/package.json +++ b/plugins/postcss-nesting/package.json @@ -31,7 +31,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-normalize-display-values/package.json b/plugins/postcss-normalize-display-values/package.json index 63a975aa8..4de574927 100644 --- a/plugins/postcss-normalize-display-values/package.json +++ b/plugins/postcss-normalize-display-values/package.json @@ -31,7 +31,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-oklab-function/package.json b/plugins/postcss-oklab-function/package.json index 943be7352..9a049d203 100644 --- a/plugins/postcss-oklab-function/package.json +++ b/plugins/postcss-oklab-function/package.json @@ -32,7 +32,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-overflow-shorthand/package.json b/plugins/postcss-overflow-shorthand/package.json index 669374dd9..a3b9a109e 100644 --- a/plugins/postcss-overflow-shorthand/package.json +++ b/plugins/postcss-overflow-shorthand/package.json @@ -27,7 +27,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-place/package.json b/plugins/postcss-place/package.json index 7cdffb7e4..ac25396d5 100644 --- a/plugins/postcss-place/package.json +++ b/plugins/postcss-place/package.json @@ -30,7 +30,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-progressive-custom-properties/package.json b/plugins/postcss-progressive-custom-properties/package.json index 74ab4dced..ccec337e8 100644 --- a/plugins/postcss-progressive-custom-properties/package.json +++ b/plugins/postcss-progressive-custom-properties/package.json @@ -31,7 +31,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "node ./generate/matchers.mjs && eslint --fix ./src/matchers.ts && rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-pseudo-class-any-link/package.json b/plugins/postcss-pseudo-class-any-link/package.json index c640a08d5..bed92ecf9 100644 --- a/plugins/postcss-pseudo-class-any-link/package.json +++ b/plugins/postcss-pseudo-class-any-link/package.json @@ -30,7 +30,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-selector-not/package.json b/plugins/postcss-selector-not/package.json index 6a8ac4657..39d95e9cf 100644 --- a/plugins/postcss-selector-not/package.json +++ b/plugins/postcss-selector-not/package.json @@ -44,7 +44,7 @@ "postcss-selector-parser": "^6.0.10" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-stepped-value-functions/package.json b/plugins/postcss-stepped-value-functions/package.json index a2d13da29..4fae9c7c7 100644 --- a/plugins/postcss-stepped-value-functions/package.json +++ b/plugins/postcss-stepped-value-functions/package.json @@ -41,7 +41,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-trigonometric-functions/package.json b/plugins/postcss-trigonometric-functions/package.json index 013044417..df8446122 100644 --- a/plugins/postcss-trigonometric-functions/package.json +++ b/plugins/postcss-trigonometric-functions/package.json @@ -41,7 +41,7 @@ "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.4" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js", diff --git a/plugins/postcss-unset-value/package.json b/plugins/postcss-unset-value/package.json index d117af67f..833da344b 100644 --- a/plugins/postcss-unset-value/package.json +++ b/plugins/postcss-unset-value/package.json @@ -38,7 +38,7 @@ "dist" ], "peerDependencies": { - "postcss": "^8.3" + "postcss": "^8.2" }, "scripts": { "build": "rollup -c ../../rollup/default.js",