518 Commits

Author SHA1 Message Date
depfu[bot]
09d151f3f9 Update esbuild to version 0.14.21 2022-02-14 17:43:53 +00:00
depfu[bot]
0c5af6fed4 Update jest to version 27.5.1 2022-02-12 10:25:12 +00:00
depfu[bot]
c13afd38aa Update jest-diff to version 27.5.1 2022-02-12 10:15:18 +00:00
Jordan Pittman
b26ffa0581 3.0.22 2022-02-11 10:32:30 -05:00
Jordan Pittman
23661cfef0
Temporarily move postcss to dependencies (#7424)
* Temporarily move postcss to dependencies

This is unfortunate but upgrading postcss-js caused postcss to not be installed at all. This is fine except in this case of NPM <= 6 when running npx tailwindcss init, or yarn v1, or npm 7/8 with legacy peer deps behavior and doing a similar thing. Deduping will still allow the user to install postcss and upgrade it and Tailwind CSS will pick it up. A more permanent solution may involve hijacking require or something similar.

* Update changelog
2022-02-11 10:08:54 -05:00
Jordan Pittman
9f119e503e 3.0.21 2022-02-10 18:08:59 -05:00
Jordan Pittman
15e51e9e54
Move prettier plugin to dev dependencies (#7418)
* Move prettier plugin to dev dependencies

* Update changelog
2022-02-10 18:03:53 -05:00
Robin Malfait
99a8ab118d
3.0.20 2022-02-10 18:16:01 +01:00
Robin Malfait
96d4ce2516
Expose context.sortClassList(classes) (#7412)
* add prettier-plugin-tailwindcss

This will use the prettier plugin in our tests as well, yay consistency!

* ensure that both `group` and `peer` can't be used in `@apply`

This was only configured for `group`

* expose `sortClassList` on the context

This function will be used by the `prettier-plugin-tailwindcss` plugin,
this way the sorting happens within Tailwind CSS itself adn the
`prettier-plugin-tailwindcss` plugin doesn't have to use internal /
private APIs.

The signature looks like this:
```ts
function sortClassList(classes: string[]): string[]
```

E.g.:
```js
let sortedClasses = context.sortClassList(['p-1', 'm-1', 'container'])
```

* update changelog

* add sort test for utilities with the important modifier e.g.: `!p-4`
2022-02-10 18:06:41 +01:00
depfu[bot]
5ea67b0a86 Update postcss to version 8.4.6 2022-02-08 11:58:56 +00:00
Jordan Pittman
2250e1bacd 3.0.19 2022-02-07 15:58:01 -05:00
Adam Wathan
520d3542ce
Update package.json 2022-02-05 15:21:34 -05:00
depfu[bot]
94ead15f27 Update eslint to version 8.8.0 2022-02-04 21:30:09 +00:00
depfu[bot]
45e17dd6ae Update cssnano to version 5.0.16 2022-02-04 18:14:23 +00:00
depfu[bot]
9f23bb356e Update @swc/register to version 0.1.10 2022-02-03 05:58:03 +00:00
depfu[bot]
fb14b2d561 Update resolve to version 1.22.0 2022-01-31 21:28:37 +00:00
Robin Malfait
ce987357de
3.0.18 2022-01-28 20:46:16 +01:00
depfu[bot]
0bdc90d0c4 Update postcss-selector-parser to version 6.0.9 2022-01-27 12:28:25 +00:00
Robin Malfait
74997f1646
3.0.17 2022-01-26 19:32:02 +01:00
depfu[bot]
35bac2aadd Update autoprefixer to version 10.4.2 2022-01-26 16:44:04 +00:00
depfu[bot]
490c9dcb29 Update chokidar to version 3.5.3 2022-01-25 07:58:28 +00:00
Robin Malfait
b1c77d6406
3.0.16 2022-01-24 14:56:48 +01:00
depfu[bot]
f8ed6a24f4 Update @swc/jest to version 0.2.17 2022-01-19 10:14:14 +00:00
depfu[bot]
b99f380f45 Update cssnano to version 5.0.15 2022-01-17 12:58:45 +00:00
depfu[bot]
3e2a067333 Update fast-glob to version 3.2.11 2022-01-16 13:58:30 +00:00
Robin Malfait
61b68a2149
3.0.15 2022-01-15 02:36:58 +01:00
Robin Malfait
693608762a
3.0.14 2022-01-14 18:23:18 +01:00
depfu[bot]
1eb4127de2 Update jest to version 27.4.7 2022-01-12 13:28:58 +00:00
depfu[bot]
6a97fe40d8 Update jest-diff to version 27.4.6 2022-01-11 23:28:32 +00:00
Robin Malfait
62569092e7
3.0.13 2022-01-11 11:17:10 +01:00
depfu[bot]
c8b2b9ad78 Update resolve to version 1.21.0 2022-01-10 21:28:37 +00:00
depfu[bot]
3a13cfce7b Update @swc/core to version 1.2.127 2022-01-10 12:58:21 +00:00
depfu[bot]
d06c9d6aa9 Update eslint to version 8.6.0 2022-01-08 00:00:46 +00:00
Jordan Pittman
cd17ec03b0
Remove cross-env and postcss-cli deps (#6964) 2022-01-07 15:40:36 -05:00
depfu[bot]
ee35abd97e Update esbuild to version 0.14.10 2022-01-07 16:58:20 +00:00
Robin Malfait
8e0ccda1a1
3.0.12 2022-01-07 17:42:18 +01:00
depfu[bot]
ece160cfe9 Update postcss-selector-parser to version 6.0.8 2022-01-06 12:43:34 +00:00
depfu[bot]
fc6c27d95b Update autoprefixer to version 10.4.1 2022-01-05 16:43:58 +00:00
Robin Malfait
a00b9fb692
3.0.11 2022-01-05 14:39:14 +01:00
Jordan Pittman
78fb761d75
Preserve case of css variables added by plugins (#6888) 2022-01-04 23:03:41 -05:00
Robin Malfait
30ea5b14a6
3.0.10 2022-01-04 19:02:12 +01:00
Robin Malfait
51b3c0a458
3.0.9 2022-01-03 18:42:31 +01:00
Robin Malfait
1cbb29faeb
Remove the watching context (#6858)
* remove watching context

* update changelog
2022-01-03 17:45:31 +01:00
depfu[bot]
07c3e95322 Update jest to version 27.4.5 2021-12-29 14:15:05 +00:00
Adam Wathan
49f76ed23a 3.0.8 2021-12-28 16:10:13 -05:00
depfu[bot]
5b72a064c5 Update cssnano to version 5.0.14 2021-12-27 13:03:18 +00:00
depfu[bot]
2de4308b59 Update @swc/jest to version 0.2.15 2021-12-27 11:00:03 +00:00
depfu[bot]
8776db71da Update postcss to version 8.4.5 2021-12-25 15:13:37 +00:00
depfu[bot]
7114fa96d9 Update prettier to version 2.5.1 2021-12-23 14:14:50 +00:00
depfu[bot]
66412062b8 Update @swc/cli to version 0.1.55 2021-12-22 04:29:00 +00:00