4045 Commits

Author SHA1 Message Date
depfu[bot]
e233288c4d Update glob-parent to version 6.0.1 2021-07-31 10:55:33 +00:00
depfu[bot]
e369dbd8ed Update all of babel7 to version 7.14.8 2021-07-31 10:54:52 +00:00
depfu[bot]
370ea8b3f2 Update postcss to version 8.3.6 2021-07-31 10:54:44 +00:00
depfu[bot]
4f89bbf713 Update cssnano to version 5.0.7 2021-07-30 22:41:14 +00:00
depfu[bot]
9c63e50edd Update eslint to version 7.31.0 2021-07-30 22:32:58 +00:00
Robin Malfait
bfc9fa79d4
Improve tests (#5108)
* change specific selector to universal selector

This is the commit that we could "undo" in the future if we need it
again.

* simplify `relative-purge-paths` test

This test doesn't require the "reset" selector (whether it is super specific or universal)

Simplified it so that it tests the relative purge config and nothing else.

* added css tagged template literal helpers

This allows prettier to format the string as CSS. This improves formatting and will improve future diffs.

* drop tailwind headers in the sanity tests

Every time we bump the Tailwind version, the sanity tests fail, because
the current version is encoded in the fixture files.

This will ensure that all of the contents is still checked and the
header is skipped. The header will be tested against a regex to ensure
that it is still there.

This should be a small but nice QoL improvement, so that we don't have
to think about updating those tests whenever we fix bugs or land new
features.
2021-07-29 07:31:06 -04:00
Adam Wathan
f7e9831436 Update version in fixtures 2021-07-26 09:01:41 -04:00
Adam Wathan
5100270bed 2.2.7 v2.2.7 2021-07-23 07:48:52 -04:00
Adam Wathan
8fabe13edb Update changelog 2021-07-23 07:48:50 -04:00
Adam Wathan
cbf3da0444
Hotfix: Use universal selector again (#5060) 2021-07-23 07:47:11 -04:00
Adam Wathan
90da0b3a7c Rebuild fixtures 2021-07-21 15:47:24 -04:00
Adam Wathan
4d598d59aa 2.2.6 v2.2.6 2021-07-21 15:43:37 -04:00
Adam Wathan
e66245f9df Update changelog 2021-07-21 15:43:33 -04:00
Adam Wathan
a76fb7fb14
Fix issue where base styles not generated for translate transforms in JIT (#5038) 2021-07-21 15:42:38 -04:00
Adam Wathan
81f9e940b4 Update version in fixtures 2021-07-21 10:23:20 -04:00
Adam Wathan
c1c5cf0923 2.2.5 v2.2.5 2021-07-21 09:13:16 -04:00
Adam Wathan
92ab98d7a5 Update changelog 2021-07-21 09:12:56 -04:00
Hunter Tunnicliff
a23065353a
Update color to v3.2.0 (#4999) 2021-07-17 15:23:36 -04:00
Nestor Vera
cc4aaaaa49
Add new utility for align-self: baseline (#5000) 2021-07-17 15:19:14 -04:00
depfu[bot]
95688ba8d5 Update autoprefixer to version 10.3.1 2021-07-17 11:33:03 +00:00
depfu[bot]
afd132ef6e Update fast-glob to version 3.2.7 2021-07-15 19:49:00 +00:00
depfu[bot]
6acb051f67 Update eslint to version 7.30.0 2021-07-09 22:33:10 +00:00
depfu[bot]
fbe5be81ce Update postcss to version 8.3.5 2021-07-09 03:04:01 +00:00
Adam Wathan
de8a458ba1 Update changelog 2021-07-05 09:09:24 -04:00
depfu[bot]
34de2c8678 Update fast-glob to version 3.2.6 2021-07-04 17:32:52 +00:00
Adam Wathan
f20655c2d3
Fix backdrop opacity variants (#4892)
We weren't generating backdrop opacity variants properly due to a typo in the default config.
2021-07-04 09:50:14 -04:00
depfu[bot]
fc0cca4ee1 Update all of jest to version 27.0.6 2021-07-04 12:32:43 +00:00
depfu[bot]
b72bae7312 Update prettier to version 2.3.2 2021-07-03 10:48:04 +00:00
moonrailgun
b16afc9467
fix: mergeWith callback should process undefined case (#4843) 2021-07-02 16:55:32 -04:00
Adam Wathan
a3230307f3
Ensure [hidden] works as expected (#4873) 2021-07-02 09:14:03 -04:00
depfu[bot]
dc0a0634aa Update clean-css to version 5.1.3 2021-07-02 10:49:02 +00:00
Adam Wathan
4a070ac0be
Try to use lowest impact selector when filling in defaults (#4866) 2021-07-01 17:18:46 -04:00
Adam Wathan
81e9f651e4 Update changelog 2021-07-01 14:49:40 -04:00
Sergey Tatarintsev
2166b76c53
Improve production build performance for the case of many small non-tailwind stylesheets (#4644)
* Improve `purge` performance in layers mode

In layers mode, skip `purgecss` completely if source stylesheet does
not have any tailwind layers. For the legacy codebases with a lot of
non-tailwind stylesheets, it dratically improves the performance of
the production build.

* fix: purgecss should respect safelist.variables
2021-07-01 14:25:06 -04:00
depfu[bot]
bf482112a6 Update didyoumean to version 1.2.2 2021-07-01 14:21:43 +00:00
Robin Malfait
f4ea2cf77d
Cleanup leftover layers (#4853)
* update snapshots with correct version

* add test that verifies @layer is removed correctly

* cleanup leftover `@layer` nodes
2021-07-01 06:34:11 -04:00
Adam Wathan
fe27356680
JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850)
* WIP

* run prettier

* drop new lines in custom matcher

Drop all newlines, let prettier handle everything for us.

* add cache for the selector parser

* add `@apply` tests for the universal optimizer

* drop comments

* initial replacements

* WIP

* WIP

* MAKE IT WORK

* Rename to resolveDefaultsAtRules

* Update tests + defaults identifiers

* Don't add @defaults in AOT mode

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2021-07-01 06:33:37 -04:00
Adam Wathan
369c7b5f0c
Ensure resorted plugins take into account all plugins they need to sort relative to (#4852) 2021-07-01 05:59:47 -04:00
Sachin Raja
b417e33638
use actions workflow status in readme badge (#4787)
* chore: use actions workflow status in readme badge

* remove travis link

* Update README.md

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-06-26 10:46:16 -04:00
Adam Wathan
a6e79f9e85
Improve extractor for arbitrary values with quotes (#4817)
Fixes #4801.
2021-06-26 10:20:49 -04:00
Adam Wathan
59c7e32a3b
Ignore "!*" in templates (#4816)
Fixes #4746
2021-06-26 10:20:36 -04:00
Tim
fdfecf3b9c
Add step-start and step-and to timings constant (#4795)
Co-authored-by: Tim Kleyersburg <tk@wacg.de>
2021-06-24 10:49:57 -04:00
Adam Wathan
b3d5b4e000 Rebuild fixtures 2021-06-23 16:22:01 -04:00
Adam Wathan
fb9f829779 Update changelog 2021-06-23 15:29:06 -04:00
Adam Wathan
d852de6785 2.2.4 v2.2.4 2021-06-23 15:27:53 -04:00
Adam Wathan
1eacfb9884 Remove postinstall script 2021-06-23 15:27:47 -04:00
Adam Wathan
91a441d458 Update fixtures 2021-06-23 15:25:46 -04:00
Adam Wathan
041eed0d46 2.2.3 v2.2.3 2021-06-23 14:32:18 -04:00
Adam Wathan
bbb6517efd Update changelog 2021-06-23 14:24:21 -04:00
Adam Wathan
384a0d079e Update changelog 2021-06-23 14:21:33 -04:00