560 Commits

Author SHA1 Message Date
depfu[bot]
e41bf3d2a7 Update eslint to version 8.15.0 2022-05-13 21:44:02 +00:00
depfu[bot]
96a83534b0 Update esbuild to version 0.14.38 2022-05-10 14:27:59 +00:00
depfu[bot]
94c05d50f2
Update jest-diff to version 28.0.2 (#8257)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-05-04 13:00:48 -04:00
depfu[bot]
1c2789dd1e
Update jest to version 28.0.3 (#8266)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-05-04 11:11:41 +02:00
Jordan Pittman
3989f77dd3 Update PostCSS version 2022-05-02 10:32:00 -04:00
depfu[bot]
85b8e449e9 Update autoprefixer to version 10.4.5 2022-04-30 21:58:22 +00:00
depfu[bot]
38535511dd Update prettier to version 2.6.2 2022-04-27 13:45:52 +00:00
depfu[bot]
2bf5a5ffb8 Update prettier-plugin-tailwindcss to version 0.1.10 2022-04-26 19:43:16 +00:00
depfu[bot]
3d20308a85 Update esbuild to version 0.14.36 2022-04-19 02:28:01 +00:00
depfu[bot]
c0a4980555 Update @swc/cli to version 0.1.57 2022-04-18 12:29:03 +00:00
depfu[bot]
aedfc6c7dd Update eslint to version 8.13.0 2022-04-15 21:45:01 +00:00
Jordan Pittman
7ed46b6f52 Re-enable new features
This reverts commits 1456ed9021b3455dbb4458c2fb7d8ab66dfb3fed, d0269c24b3c7ad4557b7e3f2779bd15c5ac501f7, and 57699a04036c542d82e7b7102d775d4d2379493d.
2022-04-12 14:13:04 -04:00
Jordan Pittman
23a6d3ff84 3.0.24 2022-04-12 14:11:22 -04:00
Jordan Pittman
57699a0403
Prep for patch release (#8098)
* Disable backdrop variant

* Disable enabled variant

* Disable border spacing utilities

* Disable text-start/end utilities

* Disable poll option in CLI

* Disable ring color default fn

* Disable dark mode class name customization

* Disable support for `Document` node types

* Disable rgb/hsl fns

* Update tests

* Temporarily disable type generation

* Update changelog
2022-04-12 13:58:57 -04:00
depfu[bot]
f6eeed34a0 Update cssnano to version 5.1.7 2022-04-10 11:58:03 +00:00
depfu[bot]
50629f68ac Update postcss-selector-parser to version 6.0.10 2022-04-06 21:13:12 +00:00
depfu[bot]
5d49604606 Update postcss-load-config to version 3.1.4 2022-04-05 11:13:20 +00:00
depfu[bot]
8ba3d61a82 Update lilconfig to version 2.0.5 2022-03-30 23:43:26 +00:00
depfu[bot]
e361b3accd Update @swc/cli to version 0.1.56 2022-03-28 12:28:33 +00:00
depfu[bot]
4bd8313202 Update @swc/core to version 1.2.160 2022-03-26 14:28:39 +00:00
Adam Wathan
b2dd6ffa42
Remove autoprefixer as peer-dependency (#7949)
* Remove autoprefixer as peer-dependency

* Update lock file

* Update changelog
2022-03-25 09:46:23 -04:00
depfu[bot]
042482a4b0 Update postcss to version 8.4.12 2022-03-24 22:28:42 +00:00
depfu[bot]
f3a629a619 Update prettier to version 2.6.0 2022-03-23 04:44:19 +00:00
depfu[bot]
857299e2bd Update autoprefixer to version 10.4.4 2022-03-22 18:43:50 +00:00
Robin Malfait
407a5c368c
Add TypeScript types for the tailwind.config.js file (#7891)
* add generate-types script

This script will generate the full list of core plugins, which will
allow you to get code completion for the `corePlugins` section.

It will also generate all the colors (and deprecated colors) which is
used in multiple places in the config.

* add types for the `tailwind.config.js` config file

* annotate stubs with a JSDoc pointing to the types

* add types to package.json

- Updated the files to make sure that the types are being published
- Add a `types` section in the `package.json`, otherwise your editor by
  default will look for the `DefinitelyTyped` types which got me really
  confused for a second.
- Added some scripts to make sure that the generation of types happens
  when needed (before tests and before building). This way you never
  ever have to think about generating them when working on Tailwind CSS
  internals.

* re-export types top-level

Having a `colors.d.ts` next to the `colors.js` file allows us to type
the `colors.js` file and your editor will pickup the types from
`colors.d.ts`.

* also publish generated types

* update changelog

* enable TypeScript only when using `init --types` for now

* update tests to verify that `--types` works
2022-03-22 10:24:28 +01:00
depfu[bot]
0578f7b5b5 Update eslint-config-prettier to version 8.5.0 2022-03-19 10:59:29 +00:00
depfu[bot]
38c84407c1 Update eslint to version 8.11.0 2022-03-18 23:45:19 +00:00
depfu[bot]
0dcbca5b9b Update cssnano to version 5.1.4 2022-03-18 20:13:50 +00:00
Jean-Félix
c245d94e41
Update cssnano: 5.0.17 → 5.1.3 (minor) (#7818) 2022-03-13 14:21:50 -04:00
depfu[bot]
f980ca4ca4 Update esbuild to version 0.14.25 2022-03-11 06:14:11 +00:00
depfu[bot]
3581d7bca0 Update prettier-plugin-tailwindcss to version 0.1.8 2022-03-09 11:13:38 +00:00
depfu[bot]
deee3b1995 Update @swc/jest to version 0.2.20 2022-03-04 09:59:08 +00:00
depfu[bot]
25c93cacde Update postcss to version 8.4.7 2022-03-03 22:29:15 +00:00
Bogdan Chadkin
f31c4ee4cf
Replace cosmiconfig with lilconfig (#6038)
* Replace cosmiconfig with lilconfig

It's already replaced in postcss-load-config

See https://github.com/postcss/postcss-load-config/blob/main/package.json#L26

* Manually restore parse-json in lockfile removed by npm conflict resolver

* Revert `postcss` version change

Co-authored-by: Brad Cornes <hello@bradley.dev>
2022-03-01 18:27:56 +00:00
depfu[bot]
e302ef1a0d Update eslint-config-prettier to version 8.4.0 2022-02-26 10:59:10 +00:00
depfu[bot]
bbafc8e324 Update eslint to version 8.9.0 2022-02-25 21:29:56 +00:00
depfu[bot]
d3e754adb4
Update object-hash to version 3.0.0 (#7657)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-02-25 12:17:16 -05:00
Bogdan Chadkin
2dec5649c9
Replace chalk with picocolors (#6039)
* Replace chalk with picocolors

Already used in latest postcss, autoprefixer and browserslist versions.

See https://github.com/alexeyraspopov/picocolors

* Update `dim` function

Co-authored-by: Brad Cornes <bradlc41@gmail.com>
2022-02-24 16:37:31 +00:00
Jordan Pittman
b94d565eb6
Preserve source maps for generated CSS (#7588)
* Preserve source maps for `@apply`

* Overwrite the source for all cloned descendants

* Preserve source maps when expanding defaults

* Verify that source maps are correctly generated

* Update changelog
2022-02-23 11:24:54 -05:00
depfu[bot]
9effea5d28 Update cssnano to version 5.0.17 2022-02-20 14:44:29 +00:00
depfu[bot]
23b1b301a1 Update postcss-load-config to version 3.1.3 2022-02-17 14:58:42 +00:00
Robin Malfait
93e0fdf29f
3.0.23 2022-02-16 12:20:14 +01:00
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