355 Commits

Author SHA1 Message Date
depfu[bot]
c19336ccde
Update all of jest to version 27.0.2 (#4525)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-06-04 11:47:17 -04:00
Adam Wathan
746a12602e
Improve new JIT-compatible CLI (#4558)
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2021-06-04 10:28:09 -04:00
depfu[bot]
1e48728efc Update autoprefixer to version 10.2.6 2021-06-02 15:03:24 +00:00
depfu[bot]
72d09b20d5 Update object-hash to version 2.2.0 2021-06-02 09:43:02 +00:00
depfu[bot]
d02f3c86a8 Update @vercel/ncc to version 0.28.6 2021-06-01 19:32:37 +00:00
Robin Malfait
4528bdc2d8
Start of new CLI (#4526)
* Ignore workspace settings

* Parameterize setting up the context

* WIP

* WIP

* WIP

* WIP

* wip

* WIP

Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>

* WIP

Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>

* WIP

Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>

* Update some comments

Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>

* Fix bug

* WIP

* WIP'

* more things

* log console.time calls conditionally based on process.env.DEBUG

* add `init` command

* clean up when using --jit

* Make config file optional

* cleanup path.resolve calls

path.resolve('.') is the same as path.resolve(process.cwd(), '.')

* implement `--help`

* shush eslint

* drop unnecessary file

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
Co-authored-by: Jesse Katsumata <niconico.clarinet@gmail.com>
2021-06-01 14:02:23 +02:00
depfu[bot]
b514a5c9c2 Update @tailwindcss/aspect-ratio to version 0.2.1 2021-05-31 17:03:39 +00:00
depfu[bot]
49ccc109a9
Update @fullhuman/postcss-purgecss to version 4.0.3 (#3913)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-31 08:56:51 -04:00
depfu[bot]
e6ea821a7a Update postcss to version 8.3.0 2021-05-28 04:02:36 +00:00
Brad Cornes
e6395c817e replace parse-glob (fixes #4454) (#4458) 2021-05-26 09:43:05 -04:00
depfu[bot]
1badba55b7 Update all of babel7 to version 7.14.3 2021-05-24 21:18:33 +00:00
depfu[bot]
04d90af597 Update eslint to version 7.26.0 2021-05-21 23:01:50 +00:00
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