Commit graph

497 commits

Author SHA1 Message Date
depfu[bot]
903eb5629c Update turbo to version 1.10.16 2023-11-02 17:05:07 +00:00
depfu[bot]
c73b741a24 Update @swc/core to version 1.3.95 2023-11-02 09:51:31 +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
Robin Malfait
761717cb4c
Fix incorrect spaces around - in calc() expression (#12283)
* sync package-lock.json

* prevent formatting inside `env()` when formatting `calc` function

* prevent formatting keywords in `calc`

* add dedicated normalization tests

* `calc()` in `env()` should be formatted

* update changelog
2023-10-25 15:20:49 +02: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
depfu[bot]
56d8a0b598 Update resolve to version 1.22.8 2023-10-18 01:19:00 +00:00
depfu[bot]
44fb67b98d Update eslint to version 8.51.0 2023-10-13 21:49:58 +00:00
depfu[bot]
e8a50fb120 Update turbo to version 1.10.15 2023-10-13 20:34:40 +00:00
depfu[bot]
27b6530599 Update @swc/core to version 1.3.92 2023-10-12 09:49:09 +00:00
depfu[bot]
edfb51c5ed Update vite to version 4.4.11 2023-10-10 19:00:57 +00:00
Robin Malfait
31a80b1794
Reduce quickPluginTest and quickVariantPluginTest snapshot size (#12170)
* sync package-lock.json

* reduce generated examples

By default we use the default config when creating the quick tests for a
given plugin. However, this can result in _a lot_ of changes. For
example, when you update the opacity values, then these values will be
generated for each color, and for each plugin that uses that color.

You can see that behaviour in Adam's PR (https://github.com/tailwindlabs/tailwindcss/pull/11832).
He added 6 values to the opacity configuration. This resulted in a diff
that looked like this:
```
+219,436 −9
```

This reduces the amount of examples for plugins that generate _a lot_ of
output otherwise.

* use `toMatchSnapshot`

This way all the `quickPluginTest` and `quickVariantPluginTest`
implementations are the same. This also allows us to update tests after
config changes in an easier way because they use snapshot tests right
now.

* use real colors for reduced red

This will make it a tiny bit easier to debug what's going on if we need
it in the future since it's using the same values as the real colors.
2023-10-09 16:49:20 +02:00
depfu[bot]
5f00c18bd9 Update rollup to version 3.29.4 2023-10-08 06:20:06 +00:00
depfu[bot]
614c7e2a36 Update browserslist to version 4.22.1 2023-10-04 00:36:35 +00:00
depfu[bot]
0d205f9376 Update postcss to version 8.4.31 2023-10-03 16:26:45 +00:00
Robin Malfait
20856edaa1 sync package-lock.json file 2023-10-02 15:12:09 +00:00
Robin Malfait
0af88b1494
Improve RegEx parser, reduce possibilities as the key for arbitrary properties (#12121)
* optimize handling of RegEx parser results

Previous:
- Copy `results`, for every subsequent result of other `patterns`
- Loop over results to filter out `undefined` values
- Loop over results to map to `clipAtBalancedParens`

Current:
- For each candidate, push the `clipAtBalancedParens(candidate)` into
  the `results`

This way we are not copying existing results, and we are also avoiding
additional loops over the entire array to filter out `undefined` values
and map to `clipAtBalancedParens`.

* do not allow `]` in the first part of arbitrary properties

```
[foo:bar]
 ─┬─
  └── This part cannot contain `]`
```

This is also a very targeted fix for when the arbitrary properties seem
to match a large piece of text, but shouldn't

* add real world tests for parsing candidate strings

* sync package-lock.json

* update changelog
2023-10-02 16:19:23 +02:00
depfu[bot]
61dc99f4ad Update postcss to version 8.4.30 2023-09-26 22:37:03 +00:00
Robin Malfait
64c7d0efe7
update package-lock.json 2023-09-25 13:47:45 +02:00
depfu[bot]
b33c30284f Update eslint to version 8.49.0 2023-09-22 21:35:46 +00:00
depfu[bot]
2e031337ce Update turbo to version 1.10.14 2023-09-22 20:34:49 +00:00
depfu[bot]
0e7f936995 Update resolve to version 1.22.6 2023-09-22 00:07:11 +00:00
depfu[bot]
3e16028406 Update all of jest to version 29.7.0 2023-09-21 13:22:32 +00:00
depfu[bot]
bd970d03f3 Update sass to version 1.67.0 2023-09-21 01:59:04 +00:00
depfu[bot]
42e75ba4b8 Update jiti to version 1.20.0 2023-09-15 14:37:13 +00:00
depfu[bot]
91e91e067d Update rollup to version 3.29.1 2023-09-14 07:47:42 +00:00
depfu[bot]
0bb275797f Update @swc/core to version 1.3.84 2023-09-14 03:53:10 +00:00
depfu[bot]
87d7b91ac7 Update postcss to version 8.4.29 2023-09-12 22:22:06 +00:00
Robin Malfait
42e168b35c sync package-lock.json 2023-08-28 09:53:46 +00:00
depfu[bot]
63252a57e4 Update lightningcss to version 1.21.7 2023-08-28 09:53:46 +00:00
depfu[bot]
8f1987567b Update sass to version 1.66.1 2023-08-25 23:29:56 +00:00
depfu[bot]
68260bd9e2 Update jiti to version 1.19.3 2023-08-25 14:34:20 +00:00
depfu[bot]
73272faaa8 Update postcss to version 8.4.28 2023-08-23 14:02:19 +00:00
depfu[bot]
8b4862b7c7 Update @napi-rs/cli to version 2.16.3 2023-08-23 14:01:32 +00:00
depfu[bot]
28e8fdf24c Update @swc/jest to version 0.2.29 2023-08-19 05:35:05 +00:00
depfu[bot]
a2fa693276 Update eslint to version 8.47.0 2023-08-18 17:06:36 +00:00
depfu[bot]
12b670cc6b Update vite to version 4.4.9 2023-08-14 09:43:00 +00:00
depfu[bot]
4c34b2ed34 Update resolve to version 1.22.4 2023-08-12 00:36:22 +00:00
depfu[bot]
ff26372570 Update rollup to version 3.28.0 2023-08-11 13:59:49 +00:00
Robin Malfait
95a4fcd1a9 sync package-lock.json 2023-08-10 11:02:05 +00:00
depfu[bot]
739df89264 Update @swc/core to version 1.3.75 2023-08-10 11:02:05 +00:00
depfu[bot]
05e307bb6c Update browserslist to version 4.21.10 2023-08-06 22:20:15 +00:00
depfu[bot]
26c4cb3b5c Update eslint-config-prettier to version 8.10.0 2023-08-04 08:55:18 +00:00
depfu[bot]
778bea7567 Update all of jest to version 29.6.2 2023-08-03 16:04:35 +00:00
depfu[bot]
cfc853b741 Update postcss to version 8.4.27 2023-08-03 14:03:56 +00:00
depfu[bot]
eeec89a07a Update turbo to version 1.10.12 2023-08-01 23:03:10 +00:00
depfu[bot]
86fb660593 Update fast-glob to version 3.3.1 2023-07-29 09:02:32 +00:00
depfu[bot]
5e24f8e08a Update sass to version 1.64.1 2023-07-27 22:58:48 +00:00
Robin Malfait
e0c52a9332
sync package-lock.json 2023-07-25 13:23:27 +02:00