16 Commits

Author SHA1 Message Date
Robin Malfait
c03f9ad600
Improve public API (#5526)
* introduce `public` folder

This can contain all of the `public` functions we want to expose.
This will be a bit nicer for example when you want to use
internal/private functions (we use some in the vscode intellisense
plugin).

* use public `resolveConfig` function

* expose resolveConfig in the root

This will use the resolveConfig we expose from the `public` folder. We
can probably generate these as well.

* make `colors` public

* make `default config` public

* make `default theme` public

* make `create plugin` public

* update to public paths

* remove `@tailwindcss/aspect-ratio` from tests

This should be tested in its own repo instead.

* remove `@tailwindcss/aspect-ratio` as a dependency

* drop `Build` step from CI

The build step is not a prerequisite anymore for running the tests. When
we want to release a new (insiders) release, the `prepublishOnly` step
will be executed for us.

Before this change, it would have been executed twice:
- Once before the tests
- Once before the actual release

* improve paths for caching purposes

* add pretest scrip for generating the plugin list

Now that we can use `SWC`, automatically generating the plugin list
before running the tests is super fast and you don't even have to think
about it anymore!
2021-09-26 12:44:13 +02:00
Adam Wathan
7bc3166740
Update nodejs.yml 2021-05-18 09:57:55 -04:00
Michaël De Boey
86e9c34a1a
chore: add tests for Node 16 (#4146) 2021-05-07 13:50:22 -04:00
Robin Malfait
1bda5f5dab use package-lock.json in CI 2021-04-02 15:13:21 -04:00
Adam Wathan
27fd1f9883 Only run coverage in CI 2020-11-19 12:41:06 -05:00
Tom Hu
a669180a67
Codecov (#1937)
* Add coverage and send to Codecov

* Collect coverage with jest

* Add a badge

* Update package.json

* Update .github/workflows/nodejs.yml

* Add retry logic

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-10-25 14:46:32 -04:00
Adam Wathan
62a3947414 Update autoprefixer 2020-10-16 19:11:02 -04:00
Adam Wathan
8ef87468d1 Bust module cache 2020-10-16 19:06:24 -04:00
Adam Wathan
8ed0f1ce07 Update GitHub actions script 2020-10-16 13:43:45 -04:00
Adam Wathan
f9a7761c5b
Drop support for Node.js 8 and 10, require 12.13 (#2582) 2020-10-16 13:12:32 -04:00
HonkingGoose
5aff35e6e5
Bump GitHub Actions runners (#2520) 2020-10-09 13:34:34 -04:00
Robin Malfait
f2e622a10a
cache node modules in CI 2020-08-20 18:43:23 +02:00
Johan Bergström
437b038d41 Add Node.js 14.x to test matrix 2020-08-07 15:45:59 -04:00
Adam Wathan
072c60c008 Drop fs-extra version to retain Node 8 compatibility 2020-04-23 07:58:26 -04:00
Adam Wathan
da83070c24
Update nodejs.yml 2020-04-16 08:45:53 -04:00
Adam Wathan
ad9fcaf919
Create nodejs.yml 2020-04-16 08:43:29 -04:00