343 Commits

Author SHA1 Message Date
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
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
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
73683d8795 Compile CLI to single file to avoid peer dependency issues 2021-05-14 17:02:15 -04:00
depfu[bot]
99f4c5f350 Update eslint-config-prettier to version 8.3.0 2021-05-12 07:12:14 +00: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
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
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
depfu[bot]
2f100efbab Update eslint to version 7.25.0 2021-05-07 22:33:04 +00:00
depfu[bot]
0472056b82
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 09:04:06 -04:00
depfu[bot]
d76c55afc6 Update postcss to version 8.2.13 2021-05-03 12:47:04 +00:00
Robin Malfait
bfc61625d9
[WIP] Unify JIT and AOT code paths (#4188)
* WIP

* WIP

* Finish combining JIT and AOT plugins

Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now.

* Remove unused import

* Fix AOT generation bugs

* Move corePlugins/index.js to corePlugins.js

* Convert JIT files to ESM

* Move tests

* Reorder core plugins to match JIT order

* Update AOT apply tests

* Unify utils

* Combine plugin lists to one single source of truth

* Finish resolving merge conflicts, fix tests

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-04-30 10:58:40 -04:00
depfu[bot]
3843700470 Update chalk to version 4.1.1 2021-04-29 04:43:17 +00:00
depfu[bot]
0c19e409f7 Update postcss-selector-parser to version 6.0.5 2021-04-28 08:08:49 +00:00
depfu[bot]
c820770996 Update all of babel7 to version 7.13.16 2021-04-28 06:20:39 +00:00
depfu[bot]
9b1e843b70 Update eslint to version 7.24.0 2021-04-23 21:18:04 +00:00
Adam Wathan
f32884ca79 2.1.2 2021-04-23 14:27:29 -04:00
depfu[bot]
6e70edc70c Update eslint-plugin-prettier to version 3.4.0 2021-04-23 14:17:12 -04:00
Robin Malfait
59f3f53cbb
2.1.1 2021-04-06 00:13:49 +02:00
Adam Wathan
8bce53b9ca 2.1.0 2021-04-05 14:42:19 -04:00
Adam Wathan
37519186b6 Bundle jit folder 2021-04-05 13:32:16 -04:00
depfu[bot]
b1aac5199f Update postcss-nested to version 5.0.5 2021-04-02 20:12:54 +00:00
Adam Wathan
396b3617c3 Lock postcss-nested to 5.0.1
Migrating to visitor API in 5.0.2 breaks a lot of things.
2021-04-02 14:34:50 -04:00
Adam Wathan
3bdb6d3707 Update package.json 2021-04-02 14:34:50 -04:00
Adam Wathan
bc5a82a4e3 Copy JIT over, tests passing separately, not yet integrated 2021-04-02 14:34:50 -04:00
depfu[bot]
60b5d63b19 Update clean-css to version 5.1.2 2021-03-31 18:34:49 +00:00
depfu[bot]
0c5254715a
Update clean-css to version 5.1.1 (#3778)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-03-30 11:01:37 -04:00
depfu[bot]
5e45e8e5db Update eslint to version 7.22.0 2021-03-19 22:03:50 +00:00
Adam Wathan
cc77cd5df5 2.0.4 2021-03-17 17:47:08 -04:00
depfu[bot]
d00c12efba Update postcss to version 8.2.8 2021-03-16 22:33:51 +00:00
depfu[bot]
4754bfe06f Update autoprefixer to version 10.2.5 2021-03-12 15:32:59 +00:00
depfu[bot]
af25d517b8 Update postcss-nested to version 5.0.5 2021-03-06 04:52:42 +00:00
depfu[bot]
86b0bbc754 Update all of babel7 to version 7.13.8 2021-03-06 00:03:37 +00:00
depfu[bot]
ea3bd20914 Update lodash to version 4.17.21 2021-02-27 16:03:54 +00:00
depfu[bot]
0b15037e67 Update eslint to version 7.20.0 2021-02-19 23:01:44 +00:00
depfu[bot]
8c611a5d1e Update resolve to version 1.20.0 2021-02-18 15:03:08 +00:00
depfu[bot]
e2fcb92b1b Update postcss to version 8.2.6 2021-02-14 10:47:25 +00:00
depfu[bot]
bab21b07de Update all of babel7 to version 7.12.13 2021-02-10 01:33:17 +00:00
Adam Wathan
7e8b1c8fcb 2.0.3 2021-02-07 15:29:01 -05:00
depfu[bot]
b2815350a2 Update autoprefixer to version 10.2.4 2021-02-05 17:47:49 +00:00
depfu[bot]
e5bb0d3b30 Update eslint to version 7.18.0 2021-01-30 03:02:45 +00:00
depfu[bot]
8e857dbd78
Update eslint-config-prettier to version 7.2.0 (#3438)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-01-29 14:34:37 -05:00
depfu[bot]
969fd4487e Update postcss to version 8.2.4 2021-01-26 21:17:13 +00:00
depfu[bot]
d03d031219 Update fs-extra to version 9.1.0 2021-01-26 17:48:27 +00:00
depfu[bot]
e7a36d22ac Update reduce-css-calc to version 2.1.8 2021-01-16 07:56:45 +00:00
depfu[bot]
c1684bc07a Update eslint to version 7.17.0 2021-01-15 22:18:39 +00:00
depfu[bot]
3fa7a22b00 Update autoprefixer to version 10.2.1 2021-01-13 08:03:21 +00:00
depfu[bot]
5f6f677568 Update eslint-plugin-prettier to version 3.3.1 2021-01-11 19:18:20 +00:00
depfu[bot]
46bdf401f4 Update postcss to version 8.2.2 2021-01-06 12:16:12 +00:00