Commit graph

120 commits

Author SHA1 Message Date
depfu[bot]
598bdc80b7 Update sass to version 1.71.1 2024-02-23 05:44:17 +00:00
Kris Braun
e3c5c11474
Update Vite; fix test regex (#12994)
Vite is generating files like "index--T9oO-MP.css", which required relaxing the regex used in tests.
2024-02-21 15:09:19 -05:00
depfu[bot]
49cbb414e9 Update postcss to version 8.4.35 2024-02-12 21:16:59 +00:00
depfu[bot]
edb6a20028 Update rollup to version 4.9.6 2024-02-09 07:16:24 +00:00
depfu[bot]
66929501c1 Update sass to version 1.70.0 2024-01-31 00:31:17 +00:00
depfu[bot]
2e8cfb620f Update vite to version 5.0.12 2024-01-19 22:14:12 +00:00
depfu[bot]
0ec66786ec Update rollup to version 4.9.5 2024-01-19 07:13:03 +00:00
depfu[bot]
4c6fbd79ba Update vite to version 5.0.11 2024-01-12 19:28:12 +00:00
depfu[bot]
04c79d6e8e Update postcss to version 8.4.33 2024-01-11 23:16:11 +00:00
depfu[bot]
eb4051869b Update parcel to version 2.11.0 2024-01-11 21:13:04 +00:00
depfu[bot]
fbb86a2ac3 Update sass to version 1.69.7 2024-01-05 11:23:49 +00:00
depfu[bot]
144cc5f175 Update rollup to version 4.9.1 2023-12-24 06:42:18 +00:00
depfu[bot]
2fddd06c17 Update vite to version 5.0.10 2023-12-22 19:27:31 +00:00
depfu[bot]
b3242e99ed
Update postcss-cli to version 11.0.0 (#12583)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-13 09:33:26 -05:00
depfu[bot]
5e115e7a46 Update vite to version 5.0.5 2023-12-06 00:12:12 +00:00
depfu[bot]
dac9cf23a2 Update parcel to version 2.10.3 2023-11-30 05:27:38 +00:00
depfu[bot]
9c70df1539
Update vite to version 5.0.2 (#12477)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-27 13:05:59 +01:00
depfu[bot]
eb2fe9494b
Update rollup to version 4.5.0 (#12458)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-21 06:46:44 -05:00
depfu[bot]
a42354c743 Update sass to version 1.69.5 2023-11-14 23:58:10 +00:00
depfu[bot]
1648b864c1 Update parcel to version 2.10.2 2023-11-09 05:32:22 +00:00
depfu[bot]
a8ab341f1e Update vite to version 4.5.0 2023-11-02 08:43:21 +00:00
depfu[bot]
e13ae7b725
Update rollup to version 4.1.4 (#12295)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-10-26 09:15:27 -04:00
depfu[bot]
4e1a26aad0 Update sass to version 1.69.4 2023-10-20 01:59:33 +00:00
depfu[bot]
d26a51fae8 Update parcel to version 2.10.0 2023-10-18 07:15:32 +00:00
Jordan Pittman
0b0862b20c
Fix crash when watching renamed files on FreeBSD (#12193)
* Fix file watching bug when renaming files on FreeBSD

* Update changelog

* Add delay to test

* Bump delay

* Update test
2023-10-17 09:50:35 -04:00
depfu[bot]
edfb51c5ed Update vite to version 4.4.11 2023-10-10 19:00:57 +00:00
depfu[bot]
5f00c18bd9 Update rollup to version 3.29.4 2023-10-08 06:20:06 +00:00
depfu[bot]
0d205f9376 Update postcss to version 8.4.31 2023-10-03 16:26:45 +00:00
depfu[bot]
61dc99f4ad Update postcss to version 8.4.30 2023-09-26 22:37:03 +00:00
depfu[bot]
bd970d03f3 Update sass to version 1.67.0 2023-09-21 01:59:04 +00:00
depfu[bot]
91e91e067d Update rollup to version 3.29.1 2023-09-14 07:47:42 +00:00
depfu[bot]
87d7b91ac7 Update postcss to version 8.4.29 2023-09-12 22:22:06 +00:00
depfu[bot]
8f1987567b Update sass to version 1.66.1 2023-08-25 23:29:56 +00:00
depfu[bot]
73272faaa8 Update postcss to version 8.4.28 2023-08-23 14:02:19 +00:00
depfu[bot]
12b670cc6b Update vite to version 4.4.9 2023-08-14 09:43:00 +00:00
Viktor Szépe
77ae72402e
Fix typos (#11805) 2023-08-12 08:17:41 -04:00
depfu[bot]
ff26372570 Update rollup to version 3.28.0 2023-08-11 13:59:49 +00:00
depfu[bot]
cfc853b741 Update postcss to version 8.4.27 2023-08-03 14:03:56 +00:00
depfu[bot]
5e24f8e08a Update sass to version 1.64.1 2023-07-27 22:58:48 +00:00
depfu[bot]
88316a18e5 Update vite to version 4.4.4 2023-07-18 17:02:16 +00:00
depfu[bot]
adadf807fa Update postcss to version 8.4.25 2023-07-13 14:01:01 +00:00
depfu[bot]
3664fd5e02 Update rollup to version 3.26.2 2023-07-13 13:43:32 +00:00
depfu[bot]
ceba1321ec Update sass to version 1.63.6 2023-07-12 02:28:39 +00:00
depfu[bot]
2bfdbce964 Update parcel to version 2.9.3 2023-07-06 22:14:53 +00:00
depfu[bot]
c6370e15f9 Update parcel to version 2.9.2 2023-06-25 11:28:59 +00:00
Robin Malfait
9f591a5586
Always prepend the license comment (#11476)
* always prepend the Tailwind License

Even when you are not using preflight.

* drop the Tailwind License from the preflight plugin

* drop the license in the tests

This allows us to focus on the actual generated CSS without the license.
The license also includes the version number which we would have to
update every time we release a new version.

* update the source maps snapshots

* always prepend the license when using the CLI

* update Tailwind CLI integration test
2023-06-22 16:41:37 -04:00
depfu[bot]
776d5bf614 Update rollup to version 3.25.1 2023-06-19 06:30:22 +00:00
depfu[bot]
a7a1f9347c Update sass to version 1.63.4 2023-06-16 17:58:29 +00:00
Robin Malfait
ef2ebb28d5
Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402)
* exclude `Features.LogicalProperties` lightningcss feature

We don't want this to automatically apply since we have dedicated
logical property based utilities already.

We also have a feature flag to toggle some utilities to make use of
logical property based ones.

This feature should be opt-in to prevent backwards compatibility (e.g.:
RTL sites that _did_ use a mr-4 explicitly).

* update default browserslist

* explicitly include/exclude Lightning CSS features

* update tests based on new browserslist and include/exclude features from Lightning CSS

* update integration tests

* prefer user browserslist, fallback to built-in browserslist

* always include Nesting

If a custom browserslist config is used, then we don't explicitly set
the include/exclude features from Lightning CSS (except for nesting, we
always want to process nesting)

* ensure to fallback to the current working directory

* update changelog
2023-06-09 20:37:36 +02:00
Robin Malfait
e572dc645a
Bump lightningcss dependency (#11388)
* bump `lightningcss`

* allow for non-standard selector combinators such as `::deep`

* just use Prettier when comparing CSS results

We were using 2 different engines where the stable one was not using
Lightning CSS and the Oxide one was using Lightning CSS.

To ensure that we didn't have to rewrite every single test expectation,
the `toMatchFormattedCss` parsed both the actual and expected value
using Lightning CSS (to make the result similar), then it used Prettier
to make it... pretty.

Right now we _only_ use Lightning CSS, which means that we can drop the
additional lightningcss format step and just use Prettier on both the
actual and expected values.

Pretty also only prettifies the CSS, it doesn't rewrite it. E.g.:
`@media (min-width: 768px)` will not be optimized to `@media (width >=
768px)`, that's something that Lightning CSS does for us.

This will require some changes in our test output, but it will be
consistent afterwards because there won't be hidden transformation steps
anymore. Because up until now it could be that the actual result was
`color: black` but the tests showed `color: #000` (because it is
shorter).

This change will reflect reality.

* update tests based on previous commit

* only use `toMatchFormattedCss` instead of `toMatchCss`

They both do the exact same thing right now. While `toMatchCss` is
shorter, `toMatchFormattedCss` makes a bit more sense since we are
comparing the Prettier results.

* update integration tests
2023-06-07 15:56:32 +02:00