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

postcss-preset-env : v8 #472

Merged
merged 207 commits into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
eb9c086
prefers color scheme (#436)
romainmenke Jun 13, 2022
5629794
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Jun 18, 2022
08c25af
update tests (#485)
romainmenke Jun 18, 2022
3a3d59e
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jun 23, 2022
e8401fe
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jun 25, 2022
9a0ab6c
css-has-pseudo (#473)
romainmenke Jun 25, 2022
68a1239
css-has-pseudo : make the experimental plugin a noop (#500)
romainmenke Jun 25, 2022
d58c1a2
CSS Blank Pseudo (#486)
Antonio-Laguna Jun 27, 2022
4982633
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jun 27, 2022
1f54269
Updating package-lock
Antonio-Laguna Jun 27, 2022
1f48bd4
Updating lock again
Antonio-Laguna Jun 27, 2022
96b3c13
Updating CHANGELOG
Antonio-Laguna Jun 27, 2022
32b84c7
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Jun 30, 2022
0878904
Updating Focus Visible (#513)
Antonio-Laguna Jul 1, 2022
1597155
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jul 2, 2022
900f867
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jul 3, 2022
2350a29
case insensitive matching (#517)
romainmenke Jul 3, 2022
23c9a6f
Updating Focus Within (#516)
Antonio-Laguna Jul 3, 2022
30f114f
postcss-blank : browser compat (#519)
romainmenke Jul 3, 2022
a3f3fc7
postcss-focus-within : browser compat (#520)
romainmenke Jul 3, 2022
d12612a
Adding global class to CSS Blank (#524)
Antonio-Laguna Jul 7, 2022
35be577
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jul 7, 2022
ff12c33
fmt
romainmenke Jul 7, 2022
446e3df
css has pseudo : pseudo element support and .js-has-pseudo class (#525)
romainmenke Jul 7, 2022
9dd08ac
fix
romainmenke Jul 7, 2022
911f1af
fix
romainmenke Jul 7, 2022
b41750a
css-has-pseudo: only test polyfill, we dont need to always test brows…
romainmenke Jul 7, 2022
724cb41
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Jul 8, 2022
9e9557b
flip enableClientSidePolyfills (#528)
romainmenke Jul 8, 2022
d5915fb
CSS Has Pseudo Experimental 0.6.0 (deprecated)
Antonio-Laguna Jul 8, 2022
6b25e40
CSS Blank Pseudo 4.0.0
Antonio-Laguna Jul 8, 2022
0a29ca0
CSS Has Pseudo 4.0.0
Antonio-Laguna Jul 8, 2022
0d936e1
Prefers Color Scheme 7.0.0
Antonio-Laguna Jul 8, 2022
f262521
PostCSS Focus Visible 7.0.0
Antonio-Laguna Jul 8, 2022
9825ab3
PostCSS Focus Within 6.0.0
Antonio-Laguna Jul 8, 2022
cf6faa1
PostCSS Preset Env 8 Alpha 0
Antonio-Laguna Jul 8, 2022
926a54e
update cli
romainmenke Jul 8, 2022
d124dd5
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jul 18, 2022
2b27d1f
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jul 28, 2022
658e036
add : disablePolyfillReadyClass (#558)
romainmenke Jul 30, 2022
7eca713
Extra space removal
Antonio-Laguna Jul 12, 2022
494b90d
CSS Blank Pseudo 4.1.0
Antonio-Laguna Jul 30, 2022
e18c674
PostCSS Focus Visible 7.1.0
Antonio-Laguna Jul 30, 2022
e526043
PostCSS Focus Within 6.1.0
Antonio-Laguna Jul 30, 2022
9c4a275
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Aug 7, 2022
c3e6532
Merge branch 'main' into postcss-preset-env--v8
romainmenke Aug 8, 2022
e5e0a76
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Aug 16, 2022
844e062
browser polyfills : use window or self for the global polyfill (#586)
romainmenke Aug 23, 2022
4c3a0df
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Aug 23, 2022
48f47ae
CSS Blank Pseudo 4.1.1
Antonio-Laguna Aug 23, 2022
2d5689c
CSS Has Pseudo 4.0.1
Antonio-Laguna Aug 23, 2022
4bd9b17
Prefers Color Scheme 7.0.1
Antonio-Laguna Aug 23, 2022
f194e9a
PostCSS Focus Within 6.1.1
Antonio-Laguna Aug 23, 2022
ef2339d
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Aug 31, 2022
e532661
bump postcss, node and npm versions (#599)
romainmenke Sep 1, 2022
582be63
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 3, 2022
063fc13
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 3, 2022
54736ad
add install instructions for es modules
romainmenke Sep 4, 2022
4d89ee5
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 5, 2022
35ea2ed
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 5, 2022
2cd2385
fix ci
romainmenke Sep 5, 2022
8291769
fix ci
romainmenke Sep 5, 2022
edb25ce
add support for postcss-html (#602)
romainmenke Sep 6, 2022
e709a66
refactor `postcss-custom-properties` and cleanup in `postcss-preset-e…
romainmenke Sep 6, 2022
8fa53dc
cleanup
romainmenke Sep 6, 2022
1b18bca
cleanup
romainmenke Sep 6, 2022
496872d
update gitignore for html document tests
romainmenke Sep 6, 2022
34a0e09
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 7, 2022
398ef56
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 12, 2022
e17bd96
refactor `postcss-custom-selectors` (#609)
romainmenke Sep 14, 2022
bba3462
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 14, 2022
bc3512d
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 15, 2022
8a2b55c
update dependencies
romainmenke Sep 18, 2022
b30473d
update TS targets
romainmenke Sep 18, 2022
68e479a
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 25, 2022
05fd52a
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 25, 2022
92ba3e1
update lock file
romainmenke Sep 25, 2022
f65baf8
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Sep 25, 2022
e686563
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Oct 4, 2022
0d792a9
lint
romainmenke Oct 4, 2022
482bfa7
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Oct 17, 2022
f804a59
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Oct 20, 2022
88d6505
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Oct 24, 2022
ebd7f92
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 4, 2022
081aa5f
bring in changes from main
romainmenke Nov 4, 2022
551a72c
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 7, 2022
b36d5ae
postcss-custom-media & css-tokenizer & media query parser (#627)
romainmenke Nov 7, 2022
7d287d1
cleanup
romainmenke Nov 7, 2022
d250423
cleanup
romainmenke Nov 7, 2022
4b2f469
Merge branch 'main' into postcss-preset-env--v8
romainmenke Nov 7, 2022
942f1dd
cascade-layers : execution order
romainmenke Nov 7, 2022
4a27335
update layer examples
romainmenke Nov 7, 2022
3f2154c
update docs
romainmenke Nov 7, 2022
6fab587
wording
romainmenke Nov 7, 2022
fa8f8f1
postcss-custom-media : update docs (#692)
romainmenke Nov 8, 2022
a0de360
update rollup (#694)
romainmenke Nov 8, 2022
d5ca08b
postcss-preset-env v8 : tweaks before next alpha (#695)
romainmenke Nov 8, 2022
8daaaa5
typo
romainmenke Nov 8, 2022
eaef573
Merge branch 'main' into postcss-preset-env--v8
romainmenke Nov 8, 2022
88c6327
Merge branch 'main' into postcss-preset-env--v8
romainmenke Nov 10, 2022
d2fd91f
fix
romainmenke Nov 10, 2022
0db9932
wrap calls to selector parser in try/catch (#698)
romainmenke Nov 10, 2022
d9cd1c5
update to PostCSS 8.4.19
romainmenke Nov 11, 2022
eb09782
add tokenizer benchmarks and make it ±20% faster
romainmenke Nov 12, 2022
d7a0476
remove spread operator
romainmenke Nov 12, 2022
a53a7e3
tune terser to have better runtime performance
romainmenke Nov 12, 2022
3034d9e
more terser config
romainmenke Nov 12, 2022
571c478
more specific terser config
romainmenke Nov 12, 2022
89dfad5
better benchmarks
romainmenke Nov 12, 2022
11c7d50
postcss-media-queries-aspect-ratio-number-values (#699)
romainmenke Nov 14, 2022
a897ee4
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 14, 2022
3d28435
Merge branch 'postcss-preset-env--v8' of https://github.com/csstools/…
romainmenke Nov 14, 2022
8a3541f
merge
romainmenke Nov 14, 2022
3fe9b1f
PostCSS Media Queries Aspect-Ratio Number Values 1.0.0
Antonio-Laguna Nov 14, 2022
3ef58e2
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Nov 14, 2022
65cb694
CSS Tokenizer 1.0.0
Antonio-Laguna Nov 14, 2022
d8b8f43
CSS Parser Algorithms 1.0.0
Antonio-Laguna Nov 14, 2022
ea31855
Media Query List Parser 1.0.0
Antonio-Laguna Nov 14, 2022
587a0ba
PostCSS Custom Selectors 7.0.0
Antonio-Laguna Nov 14, 2022
0062474
PostCSS Custom Properties 13.0.0
Antonio-Laguna Nov 14, 2022
345df8f
PostCSS Custom Media 9.0.0
Antonio-Laguna Nov 14, 2022
4dbac7c
PostCSS Cascade Layers 2.0.0
Antonio-Laguna Nov 14, 2022
8d8ac8a
PostCSS Preset Env 8 Alpha 1
Antonio-Laguna Nov 14, 2022
33ea7c6
add postcss-parser-tests for css-tokenizer
romainmenke Nov 15, 2022
36e101f
switch to .mjs
romainmenke Nov 15, 2022
66a6d1e
add tslib as an explicit dependency
romainmenke Nov 16, 2022
0df29ab
few more tests
romainmenke Nov 16, 2022
263027c
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 18, 2022
b7e36dc
postcss-custom-media: avoid complex generated CSS in more cases (#709)
romainmenke Nov 18, 2022
2f5b162
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 18, 2022
8f6591b
more install instructions
romainmenke Nov 18, 2022
a38dd6f
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 18, 2022
4315b12
PostCSS Custom Media 9.0.1
Antonio-Laguna Nov 19, 2022
bcedc18
Improving Browser Polyfills docs for Next.js (#716)
Antonio-Laguna Nov 19, 2022
6e009cc
shorter label name, max is 50 chars
romainmenke Nov 20, 2022
a73f129
Merge branch 'main' into postcss-preset-env--v8
romainmenke Nov 20, 2022
94512f7
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 26, 2022
2002860
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 28, 2022
750278d
design-tokens : add support for at rules (#717)
romainmenke Nov 29, 2022
57469f7
document how parallel builders can affect plugins (#724)
romainmenke Nov 29, 2022
1947286
Merge branch 'main' into postcss-preset-env--v8
Antonio-Laguna Nov 29, 2022
8bba42a
Removing warning on V8
Antonio-Laguna Nov 29, 2022
9413291
final typescript conversions (#712)
romainmenke Nov 30, 2022
2e3ee1d
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Nov 30, 2022
3202eda
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 1, 2022
73f512e
changelog
romainmenke Dec 1, 2022
570b66f
improve clean commands and reduce impact of changes on the cli package
romainmenke Dec 3, 2022
5fa9dfb
lint
romainmenke Dec 3, 2022
829c70f
Merge branch 'main' into postcss-preset-env--v8
romainmenke Dec 3, 2022
067234a
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 4, 2022
2700431
update has pseudo dependencies
romainmenke Dec 9, 2022
1d6ae9a
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 10, 2022
2312065
Merge branch 'main' into postcss-preset-env--v8
romainmenke Dec 10, 2022
ddf132f
update dependencies
romainmenke Dec 11, 2022
18b90b5
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 11, 2022
66d07b4
update dependencies
romainmenke Dec 12, 2022
23a85d9
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 12, 2022
6a58ace
has pseudo : fix cleanup of rules in browsers with native support (#751)
romainmenke Dec 12, 2022
7c43a17
fix cascade layers in combination with nesting and name defining at r…
romainmenke Dec 13, 2022
3f55e18
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 13, 2022
1c38a42
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 18, 2022
298dcc8
build
romainmenke Dec 18, 2022
52720b8
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 18, 2022
688f474
update dependencies
romainmenke Dec 18, 2022
1641d70
improve logging of enabled features
romainmenke Dec 18, 2022
41cd7b9
more tests
romainmenke Dec 21, 2022
873c8e3
cascade-layer-name-parser (#755)
romainmenke Dec 23, 2022
9045568
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 23, 2022
6baba7d
rebuild
romainmenke Dec 23, 2022
825fd1e
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Dec 26, 2022
da7a94a
update dependencies
romainmenke Dec 26, 2022
302b32c
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 7, 2023
5e66300
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 7, 2023
a21bd58
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 7, 2023
7c2126c
update dependencies
romainmenke Jan 7, 2023
c2bf401
Merge branch 'main' into postcss-preset-env--v8
romainmenke Jan 7, 2023
7f1c86f
css-tokenizer and parser-algorithms : fixes and performance improveme…
romainmenke Jan 9, 2023
2009c21
update dependencies
romainmenke Jan 9, 2023
17752ba
css-tokenizer : remove `commentsAreTokens` (#779)
romainmenke Jan 14, 2023
d66f02a
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 14, 2023
81b49c1
remove dead code
romainmenke Jan 15, 2023
f8d2281
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 16, 2023
a71db91
postcss-logical-viewport-units (#780)
romainmenke Jan 16, 2023
6c6325f
add test with a negative number in a range
romainmenke Jan 17, 2023
50a96df
code quality
romainmenke Jan 17, 2023
b9dcc09
one more fix
romainmenke Jan 17, 2023
db48a6f
simplify consume number
romainmenke Jan 17, 2023
f8c4df4
simplify further
romainmenke Jan 17, 2023
1f649f6
one more fix
romainmenke Jan 19, 2023
5efb700
CSS Tokenizer 2.0.0
Antonio-Laguna Jan 19, 2023
a101bc0
CSS Parser Algorithms 2.0.0
Antonio-Laguna Jan 19, 2023
456c630
Media Query List Parser 2.0.0
Antonio-Laguna Jan 19, 2023
7ae7161
Cascade Layer Name Parser 1.0.0
Antonio-Laguna Jan 19, 2023
8ebb6d6
Update lock
Antonio-Laguna Jan 19, 2023
a716050
Selector Specificity 2.1.0
Antonio-Laguna Jan 19, 2023
47a7273
post release patches (#793)
romainmenke Jan 20, 2023
80bcad4
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 20, 2023
80baf77
rebuild
romainmenke Jan 20, 2023
8ff609f
remove outdated and obsolote docs
romainmenke Jan 21, 2023
88de686
remove deno support from postcss-nesting (#795)
romainmenke Jan 21, 2023
1694300
text-decoration : fix shorthand in Safari with single node values (#794)
romainmenke Jan 21, 2023
6d1c0a7
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 22, 2023
544eb20
Merge remote-tracking branch 'origin/main' into postcss-preset-env--v8
romainmenke Jan 22, 2023
c96a57c
update cssdb
romainmenke Jan 22, 2023
6c708d9
PostCSS Logical revamp (#740)
Antonio-Laguna Jan 23, 2023
7af0ab2
housekeeping
Antonio-Laguna Jan 23, 2023
6d0fb46
last tweaks
romainmenke Jan 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/css-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ body:
- PostCSS Color Function
- PostCSS Color Functional Notation
- PostCSS Color Hex Alpha
- PostCSS Color Mod Function
- PostCSS Conditional Values
- PostCSS Custom Media Queries
- PostCSS Custom Properties
- PostCSS Custom Selectors
Expand All @@ -87,6 +87,10 @@ body:
- PostCSS Is Pseudo Class
- PostCSS Lab Function
- PostCSS Logical
- PostCSS Logical Float and Clear
- PostCSS Logical Resize
- PostCSS Logical Viewport Units
- PostCSS Media Queries Aspect-Ratio Number Values
- PostCSS Media Query Ranges
- PostCSS Nested Calc
- PostCSS Nesting
Expand All @@ -103,7 +107,7 @@ body:
- PostCSS Stepped Value Functions
- PostCSS System Ui Font Family
- PostCSS Text Decoration Shorthand
- PostCSS Trigonometric-Functions
- PostCSS Trigonometric Functions
- PostCSS Unset Value
- type: input
id: version
Expand Down
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/plugin-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ body:
- PostCSS Color Function
- PostCSS Color Functional Notation
- PostCSS Color Hex Alpha
- PostCSS Color Mod Function
- PostCSS Conditional Values
- PostCSS Custom Media Queries
- PostCSS Custom Properties
- PostCSS Custom Selectors
Expand All @@ -89,6 +89,10 @@ body:
- PostCSS Is Pseudo Class
- PostCSS Lab Function
- PostCSS Logical
- PostCSS Logical Float and Clear
- PostCSS Logical Resize
- PostCSS Logical Viewport Units
- PostCSS Media Queries Aspect-Ratio Number Values
- PostCSS Media Query Ranges
- PostCSS Nested Calc
- PostCSS Nesting
Expand All @@ -105,7 +109,7 @@ body:
- PostCSS Stepped Value Functions
- PostCSS System Ui Font Family
- PostCSS Text Decoration Shorthand
- PostCSS Trigonometric-Functions
- PostCSS Trigonometric Functions
- PostCSS Unset Value
- type: input
id: version
Expand Down
4 changes: 3 additions & 1 deletion .github/bin/format-package-json.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const formatted = {};
formatted.private = packageJSONInfo.private;
delete packageJSONInfo.private;

formatted.engines = packageJSONInfo.engines;
formatted.engines = {
node: '^14 || ^16 || >=18'
};
delete packageJSONInfo.engines;

formatted.type = packageJSONInfo.type;
Expand Down
14 changes: 14 additions & 0 deletions .github/bin/generate-docs/install-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- [Gulp](#gulp)
- [Grunt](#grunt)

<parallelBuildsNotice>

## Node

Add [<humanReadableName>] to your project:
Expand All @@ -21,6 +23,7 @@ npm install postcss <packageName> --save-dev
Use it as a [PostCSS] plugin:

```js
// commonjs
const postcss = require('postcss');
const <exportName> = require('<packageName>');

Expand All @@ -29,6 +32,16 @@ postcss([
]).process(YOUR_CSS /*, processOptions */);
```

```js
// esm
import postcss from 'postcss';
import <exportName> from '<packageName>';

postcss([
<exportName>(/* pluginOptions */)
]).process(YOUR_CSS /*, processOptions */);
```

## PostCSS CLI

Add [PostCSS CLI] to your project:
Expand Down Expand Up @@ -110,6 +123,7 @@ module.exports = {
options: {
postcssOptions: {
plugins: [
<otherPluginsInWebpack>,
[
"<packageName>",
{
Expand Down
10 changes: 10 additions & 0 deletions .github/bin/generate-docs/install.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@ installDoc = installDoc.replaceAll('<humanReadableName>', packageJSONInfo.csstoo
installDoc = installDoc.replaceAll('<packageName>', packageJSONInfo.name);
installDoc = installDoc.replaceAll('<packagePath>', path.join(path.basename(path.dirname(process.cwd())), path.basename(process.cwd())));

if (packageJSONInfo?.csstools?.assumesToProcessBundledCSS) {
installDoc = installDoc.replaceAll('<parallelBuildsNotice>', `⚠️ [${packageJSONInfo.csstools.humanReadableName}] assumes to process your complete CSS bundle.<br>If your build tool processes files individually or in parallel the output will be incorrect.<br>Using [\`postcss-import\`](https://www.npmjs.com/package/postcss-import) and \`@import\` statements is one way to make sure your CSS is bundled before it is processed by this plugin.\n`);
installDoc = installDoc.replaceAll('<otherPluginsInWebpack>', `["postcss-import"]`);
// <parallelBuildsNotice>
} else {
// Just a filler so that formatting doesn't become too complex.
installDoc = installDoc.replaceAll('<parallelBuildsNotice>', ``);
installDoc = installDoc.replaceAll('<otherPluginsInWebpack>', `// Other plugins`);
}

await fsp.writeFile('./INSTALL.md', installDoc);
45 changes: 34 additions & 11 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
"common-tools":
- .github/**
- packages/base-cli/**
- packages/cascade-layer-name-parser/**
- packages/css-parser-algorithms/**
- packages/css-tokenizer/**
- packages/media-query-list-parser/**
- packages/postcss-tape/**
- packages/selector-specificity/**
- plugins/postcss-base-plugin/**
Expand All @@ -13,6 +17,9 @@
- cli/csstools-cli/**
- packages/base-cli/**

"e2e":
- e2e/**

"experimental":
- experimental/**

Expand Down Expand Up @@ -52,9 +59,13 @@
- plugins/postcss-color-hex-alpha/**
- experimental/postcss-color-hex-alpha/**

"plugins/postcss-color-mod-function":
- plugins/postcss-color-mod-function/**
- experimental/postcss-color-mod-function/**
"plugins/postcss-color-rebeccapurple":
- plugins/postcss-color-rebeccapurple/**
- experimental/postcss-color-rebeccapurple/**

"plugins/postcss-conditional-values":
- plugins/postcss-conditional-values/**
- experimental/postcss-conditional-values/**

"plugins/postcss-custom-media":
- plugins/postcss-custom-media/**
Expand Down Expand Up @@ -136,6 +147,22 @@
- plugins/postcss-logical/**
- experimental/postcss-logical/**

"plugins/postcss-logical-float-and-clear":
- plugins/postcss-logical-float-and-clear/**
- experimental/postcss-logical-float-and-clear/**

"plugins/postcss-logical-resize":
- plugins/postcss-logical-resize/**
- experimental/postcss-logical-resize/**

"plugins/postcss-logical-viewport-units":
- plugins/postcss-logical-viewport-units/**
- experimental/postcss-logical-viewport-units/**

"plugins/media-queries-aspect-ratio-number-values":
- plugins/postcss-media-queries-aspect-ratio-number-values/**
- experimental/postcss-media-queries-aspect-ratio-number-values/**

"plugins/postcss-media-query-ranges":
- plugins/postcss-media-query-ranges/**
- experimental/postcss-media-query-ranges/**
Expand Down Expand Up @@ -180,10 +207,6 @@
- plugins/postcss-scope-pseudo-class/**
- experimental/postcss-scope-pseudo-class/**

"plugins/postcss-color-rebeccapurple":
- plugins/postcss-color-rebeccapurple/**
- experimental/postcss-color-rebeccapurple/**

"plugins/postcss-replace-overflow-wrap":
- plugins/postcss-replace-overflow-wrap/**
- experimental/postcss-replace-overflow-wrap/**
Expand All @@ -196,10 +219,6 @@
- plugins/postcss-system-ui-font-family/**
- experimental/postcss-system-ui-font-family/**

"plugins/postcss-unset-value":
- plugins/postcss-unset-value/**
- experimental/postcss-unset-value/**

"plugins/postcss-stepped-value-functions":
- plugins/postcss-stepped-value-functions/**
- experimental/postcss-stepped-value-functions/**
Expand All @@ -212,5 +231,9 @@
- plugins/postcss-trigonometric-functions/**
- experimental/postcss-trigonometric-functions/**

"plugins/postcss-unset-value":
- plugins/postcss-unset-value/**
- experimental/postcss-unset-value/**

"sites/postcss-preset-env":
- sites/postcss-preset-env/**
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
# Test node 14/16/18 on ubuntu
# Test node 18 on macos/windows
# Enable annotations only for node 16 + ubuntu
# Enable annotations only for node 18 + ubuntu
matrix:
os: [ubuntu-latest]
node: [14, 16, 18]
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.1
v18.8.0
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,6 @@ While it's not always possible we're enabling over 30 features with these plugin

You can keep track of our current efforts on the [PostCSS Preset Env Project] and also read announcements on the [project's discussions][discussions].

### ⚠️ PostCSS Preset Env 8 ⚠️

We're currently working on a major version upgrade for PostCSS Preset Env. Sadly, major version implies breaking changes.

We've decided to keep the work on a separate branch, so we can keep updating the plugins and/or `postcss-preset-env` for
any bugfixes. We know this can be confusing since you might see new major versions coming up on NPM but the code and
CHANGELOG does not reflect what you're seeing.

You can navigate the repo on the [V8 working branch](https://github.com/csstools/postcss-plugins/tree/postcss-preset-env--v8).
If you're not finding code for a new version you will probably find it there!

You can also read about PostCSS Preset Env 8 [in our wiki](https://github.com/csstools/postcss-plugins/wiki/PostCSS-Preset-Env-8).
If you're curious to know why things are changing and what is changing we hope we've portrayed that information there.

We would also appreciate if you tested the new versions and/or the alphas we keep releasing. If you find any bug or
any docs that aren't clear we would appreciate even more if you could let us know!

## Contributing

Thanks for being willing to contribute! Please read our [contributing guide]!
Expand Down
1 change: 1 addition & 0 deletions cli/csstools-cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ browser.js
*.log*
*.result.css
*.result.css.map
*.result.html
!.editorconfig
!.gitignore
!.rollup.js
Expand Down
2 changes: 1 addition & 1 deletion cli/csstools-cli/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.1
v18.8.0
9 changes: 9 additions & 0 deletions cli/csstools-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changes to CSSTools CLI

### Unreleased (major)

- Updated: Support for Node v14+ (major).
- Remove `postcss-env-function` (breaking).
- Remove `importFrom` and `exportTo` plugin options (breaking).
- Added `@csstools/postcss-logical-float-and-clear`
- Added `@csstools/postcss-logical-resize`
- Added `@csstools/postcss-logical-viewport-units`

### 1.4.0 (June 3, 2022)

- Added `@csstools/postcss-cascade-layers`
Expand Down
4 changes: 0 additions & 4 deletions cli/csstools-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ Plugin Options:
browsers string
autoprefixer object
preserve boolean
importFrom string
exportTo string

{
"stage": 0,
Expand All @@ -116,8 +114,6 @@ Plugin Options:
"grid": true
},
"preserve": false,
"importFrom": "path/to/file.css",
"exportTo": "path/to/file.css"
}
```

Expand Down
2 changes: 1 addition & 1 deletion cli/csstools-cli/dist/cli.cjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/cli.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/css-blank-pseudo.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/css-has-pseudo.d.ts

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-cascade-layers.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-color-function.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-color-hex-alpha.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-custom-media.d.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-env-function.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-focus-visible.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-focus-within.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-gap-properties.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-hwb-function.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-ic-unit.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-is-pseudo-class.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-lab-function.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-logical.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-nesting.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-oklab-function.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-place.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-preset-env.d.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-selector-not.d.ts

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion cli/csstools-cli/dist/plugins/postcss-unset-value.d.ts

This file was deleted.

Loading