Adam Wathan
995e02fd84
Don't compile CLI
...
Need to figure out which dependencies are platform specific before it's safe to do this.
2021-05-20 13:49:15 -04:00
Adam Wathan
a8c012682f
Update changelog
2021-05-20 13:48:19 -04:00
Adam Wathan
5fa665835f
Fix formatting issues
2021-05-20 13:43:17 -04:00
depfu[bot]
2fec61e753
Update prettier to version 2.3.0 ( #4367 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-20 13:40:04 -04:00
Adam Wathan
d8bd507b9b
JIT: Add per-side border colors ( #4404 )
2021-05-20 13:35:39 -04:00
Brad Cornes
787348b373
use dir-dependency messages ( #4388 )
2021-05-20 07:09:57 -04:00
depfu[bot]
93cfe97847
Update postcss-selector-parser to version 6.0.6
2021-05-19 08:08:33 +00:00
Robin Malfait
7565099c1f
Integrations setup ( #4354 )
...
* add integration test tools
* setup jest in the integrations folder
* add `test:integrations` script
The default `npm test` script will ignore all the tests in the
`integrations` folder.
* add integration tests with `webpack 5`
* add integration tests with `postcss-cli`
* add `npm run install:integrations` script
This script will run `npm install` in every integration, and in the
integrations folder itself (to setup Jest for example).
* add `toIncludeCss` custom matcher
* increate Jest timeout for integration tests
* add integration tests with `vite`
* add integration tests with `webpack 4`
* add isomorphic fetch
* add the ability to wait for specific stdout/stderr output
* write vite tests, assert using API calls
We will wait for the correct stdout/stderr output, once we know that we
can request the fresh css, we will fetch it and make assertions
accordingly.
Port is currently hardcoded, maybe we should use a packaage to ensure
that we use a free port.
* add integration tests with `rollup`
* add integration tests with `parcel`
* run all integration tests in band
* add .gitignore in integrations folder
2021-05-18 11:21:35 -04:00
Adam Wathan
7d4f053bb6
Update README.md
2021-05-18 09:58:28 -04:00
Adam Wathan
7bc3166740
Update nodejs.yml
2021-05-18 09:57:55 -04:00
Adam Wathan
a37198577c
Don't lint CLI directory
2021-05-14 19:11:55 -04:00
Adam Wathan
73683d8795
Compile CLI to single file to avoid peer dependency issues
2021-05-14 17:02:15 -04:00
Adam Wathan
7b6ae435ea
Update CHANGELOG
2021-05-14 16:53:35 -04:00
Adam Wathan
23da6b6172
JIT: Replace @tailwind screens with @tailwind variants ( #4356 )
...
* Update CHANGELOG
* JIT: Replace `@tailwind screens` with `@tailwind variants`
2021-05-14 13:58:52 -04:00
Adam Wathan
353ffae124
Update CHANGELOG
2021-05-14 13:11:47 -04:00
Adam Wathan
87df93de0a
Support opacity modifiers for colors in JIT ( #4348 )
...
* Support opacity modifiers for colors in JIT
* Add test for function colors
* Support opacity modifiers for plugins with arbitrary "any" type
2021-05-14 13:07:56 -04:00
Adam Wathan
6be797633f
Remove accidental log
2021-05-13 12:06:50 -04:00
Dr. Derek Austin
4488fc1d0d
Add Prettier configuration file (prettier.config.js) ( #3713 )
...
* Create prettier.config.js
* Add comment with .editorconfig
* Remove duplicate settings handled by .editorconfig
* Correct printWidth
* Update prettier.config.js to remove "unknown option" editorconfig: true
2021-05-13 09:07:24 -04:00
Adam Wathan
30dc2990c3
Error when @layer used without matching @tailwind directive ( #4335 )
...
Also refactor to only detect `@tailwind` directives once per build to improve performance.
2021-05-12 16:58:03 -04:00
Robin Malfait
87a4516871
add a link to the docs describing JIT watch mode ( #4332 )
...
This will help people, when the process looks like it is "hanging",
while in fact it is watching for changes.
2021-05-12 13:44:48 -04:00
depfu[bot]
99f4c5f350
Update eslint-config-prettier to version 8.3.0
2021-05-12 07:12:14 +00:00
Adam Wathan
6d51f9a08a
Add read-only variant to JIT
2021-05-11 15:36:18 -04:00
Adam Wathan
079b48a3bc
Update CHANGELOG
2021-05-11 15:29:37 -04:00
Mateusz
f89bf5f4a6
Add :read-only variant ( #4102 )
...
* Add :read-only variant
* Added read-only variant to defaultConfig.stub
Co-authored-by: FunnyScarf <5177092+dyzajash@users.noreply.github.com>
2021-05-11 15:29:23 -04:00
Adam Wathan
7991646eff
Add screen function ( #4318 )
2021-05-11 15:25:25 -04:00
depfu[bot]
07bfce31ca
Update fs-extra to version 10.0.0 ( #4305 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-11 15:21:09 -04:00
Adam Wathan
a442efcc95
Update CHANGELOG
2021-05-11 14:45:30 -04:00
Adam Wathan
5ebe5e8309
Remove dependency on postcss-functions ( #4317 )
...
* Write postcss-functions ourselves
* Add test for nested theme calls
* Remove unused import
2021-05-11 14:33:05 -04:00
Adam Wathan
522787ac41
Revert fix lint errors?!
2021-05-11 14:25:34 -04:00
Adam Wathan
d43aa7a9d8
Rebuild package-lock.json
2021-05-11 14:18:02 -04:00
Adam Wathan
709580c903
Update package-lock.json
2021-05-11 14:10:27 -04:00
Adam Wathan
9fc13a6564
Fix lint errors
2021-05-11 13:55:02 -04:00
Adam Wathan
c1f93135b8
Update fixtures for modern-normalize v1.1
2021-05-11 13:47:32 -04:00
depfu[bot]
bf1711a2fd
Update modern-normalize to version 1.1.0 ( #4287 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-11 13:44:15 -04:00
Twentylives
77ef260156
Refactor util functions ( #2616 )
...
* Refactor getAllConfigs util function
* Update eslint parser options to ES2020
2021-05-10 11:22:47 -04:00
Adam Wathan
d86cf0da8d
Update changelog
2021-05-08 07:00:27 -04:00
Adam Wathan
4bfa21f756
Support border-opacity with default border color ( #4277 )
...
* Move border reset to borderColor plugin, support opacity
* Update JIT tests
* Don't use opacity variable for default border color when borderOpacity is disabled
* Fix tests
2021-05-08 06:59:14 -04:00
depfu[bot]
2f100efbab
Update eslint to version 7.25.0
2021-05-07 22:33:04 +00:00
Adam Wathan
218e57f1aa
Update changelog
2021-05-07 14:50:13 -04:00
Adam Wathan
a22398cbdb
Add empty variant support to JIT
2021-05-07 14:48:41 -04:00
Alex
212bec9354
use href to get the full path of the file ( #4044 )
...
* use href to get the full path of the file
fixes https://github.com/tailwindlabs/tailwindcss/issues/4043
* drop query strings and document fragment from path
2021-05-07 14:48:09 -04:00
Adam Wathan
b6286c9660
Merge branch 'browner12-empty-variant'
2021-05-07 13:56:28 -04:00
Michaël De Boey
ba1902ba08
chore: add tests for Node 16 ( #4146 )
2021-05-07 13:56:16 -04:00
Adam Wathan
62bb95cfa8
Update changelog
2021-05-07 13:56:16 -04:00
Brad Cornes
6a7d156608
Resolve purge paths ( #4214 )
...
* resolve purge paths
* add test for purgecss pattern resolution
* resolve purgecss patterns relative to the config file if there is one
* account for raw content when transforming purgecss options
* append test name to postcss `from` option in purge tests
fixes tests hanging
* add test for relative purge path resolution in JIT mode
2021-05-07 13:56:16 -04:00
Adam Wathan
fe8d31cd0f
Update changelog
2021-05-07 13:56:16 -04:00
Adam Wathan
425c73feec
Ensure variants are grouped properly for plugins with order-dependent utilities ( #4273 )
2021-05-07 13:56:16 -04:00
Adam Wathan
1c657254ae
Update CHANGELOG
2021-05-07 13:56:16 -04:00
depfu[bot]
236b16a125
Update eslint-config-prettier to version 8.2.0 ( #4135 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-07 13:56:16 -04:00
Adam Wathan
dec1fc3df3
Support forcing coercion type with arbitrary value syntax ( #4263 )
...
* Support forcing coercion type with arbitrary value syntax
* Refactor + more tests
2021-05-07 13:56:16 -04:00