Commit graph

5278 commits

Author SHA1 Message Date
depfu[bot]
61dc99f4ad Update postcss to version 8.4.30 2023-09-26 22:37:03 +00:00
Jordan Pittman
05d0a6f8d2
Support loading plugins by package / file name (#12087)
* Cleanup test

Strings are going to actually do something now

* Refactor plugin loading in `resolveConfig`

This should keep the same instance of a plugin in use too. Maybe even reduce memory usage?! idk we’ll see

* Support simple plugin configs

* Update types

* Update changelog
2023-09-26 13:21:42 -04:00
Jordan Pittman
aaca7c4c4c
Batch reading content files to prevent too many open files error (#12079)
* Refactor

* Refactor

* Batch content file reads in Node into groups of 500

We shouldn’t need to do this for our Rust code because it utilizes Rayon’s default thread pool for parallelism. This threadpool has roughly the number of cores as the number of available threads except when overridden. This generally is much, much lower than 500 and can be explicitly overridden via an env var to work around potential issues with open file descriptors if anyone ever runs into that.

* Fix sequential/parallel flip

* Update changelog
2023-09-25 12:18:11 -04: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
Jordan Pittman
d3f22216c1
Handle variable colors that have variable fallback values (#12049)
* Parse colors even when variable has fallback that is a variable

* Update changelog
2023-09-20 16:34:39 -04:00
Yuhei Yasuda
5366d242c2
Add support for text-wrap: pretty (#12031)
* Add support for `text-wrap: pretty`

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-19 08:49:20 -04: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
Brandon McConnell
9faf10958b
Update Preflight html styles to include shadow DOM :host pseudo-class (#11200)
* Extend current preflight `html` styles to support other root/host scopes

Supports SVG root scope, ShadowDOM, and presumably other root scopes

* Replace `:root` with `html`

* Update tests

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-08 11:46:57 -04:00
Viktor Szépe
7a86f3ae23
Remove matrix.setup release-insiders.yml (#11954) 2023-09-05 19:47:03 -04:00
Robin Malfait
696810fd5a update tests to reflect changes in Lightning CSS
This commit (284debfb49) introduced:

"Don't put unknown pseudo elements in an `:is()`"

I thought this was a bug at first, but looking at MDN, these pseudo
elements are non-standard:

- https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-inner-spin-button
- https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-outer-spin-button
2023-08-28 09:53:46 +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
Jordan Pittman
0198e84c90 Remove unused imports 2023-08-23 09:42:07 -04:00
Jordan Pittman
9a52f90fe9 Remove grouping prototype
This code has been sitting around for a while disabled and untested. And it does not work with the Oxide parser. So we’re gonna remove it.
2023-08-21 11:01:19 -04:00
Jordan Pittman
9fcfea47a6 Sync changelog with v3.3 branch 2023-08-21 10:52:04 -04: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]
d58d5b2797
Update eslint-config-prettier to version 9.0.0 (#11815)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-08-17 16:58:51 -04:00
Adam Wathan
00e73b0881
Extend opacity scale to include all steps of 5 (#11832)
* Extend opacity scale to include all steps of 5

* Update changelog

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2023-08-16 11:44:14 -04:00
Jordan Pittman
4f404ff15f Set the default rust toolchain for musl linux installs 2023-08-14 16:50:46 -04:00
Jonathan Reinink
9c828ff898
Remove Rust installation from CI (#11826) 2023-08-14 16:09:24 -04: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]
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
237e71598d update .swcrc configuration
The `env` and `jsc.target` combination isn't valid.
Removing `env` works, but it introduces a lot of additional code that
wasn't there before.
I started by using es2015, es2016 and last but not least es2018. es2018
produces the most similar code compared to before. The main differences
are:
- Single vs double qoutes
- Now we will have `catch (e) {}` instead of the more modern `catch {}`
2023-08-10 11:02:05 +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
Ryan Leichty
922e7d9407
Correct formatting for inconsistent comments (#11777)
* Correct formatting for inconsistent comments

Updated the formatting for several comments to be consistent with the rest of the document.

I was incorporating the preflight in a non-Tailwind project and noticed the difference in comment styles.

* add missing period

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2023-08-09 13:19:12 +02:00
Emilia
4f0bb0b73a
feat(preflight): simplify sans-serif font stack (#11748)
* feat(preflight): simplify sans-serif font stack

`-apple-system` and `BlinkMacSystemFont` were historically needed for
IE11 and chakra-based Edge (The one that wasn't chromium-based).

https://caniuse.com/font-family-system-ui has more details around it.

* further simplify `font-family`

* update tests

* update changelog

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2023-08-08 12:26:30 +02: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
wimbarelds
0f0d06074c
Make content optional for presets in TypeScript types (#11730)
* Update config.d.ts, Make array members partial in Config

Instead of `Partial<Array<Thing>>` have `Array<Partial<Thing>>`

* simplify types further

* update changelog

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2023-08-01 16:19:21 +02:00
Jordan Pittman
a93c61f635 Fix grouping prototype 2023-07-31 12:59:18 -04:00
Jordan Pittman
703a8b014d Update tests 2023-07-31 12:57:46 -04:00