tailwindcss/src/lib
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
..
collapseAdjacentRules.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
detectNesting.js Warn when nesting is detected (#5489) 2021-09-16 14:13:45 +02:00
evaluateTailwindFunctions.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
expandApplyAtRules.js Support @apply for classes outside of a @layer (#5378) 2021-09-07 21:03:46 -04:00
expandTailwindAtRules.js Improve arbitrary value support (#5568) 2021-09-24 18:45:42 +02:00
generateRules.js Handle unknown typehints (#5588) 2021-09-24 18:28:08 +02:00
getModuleDependencies.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
normalizeTailwindDirectives.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
resolveDefaultsAtRules.js Properly optimize universal defaults for legacy pseudo-element syntax (#5594) 2021-09-24 14:27:42 -04:00
setupContextUtils.js Expose completions API (#5520) 2021-09-26 12:01:07 +02:00
setupTrackingContext.js Improve public API (#5526) 2021-09-26 12:44:13 +02:00
setupWatchingContext.js Improve public API (#5526) 2021-09-26 12:44:13 +02:00
sharedState.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
substituteScreenAtRules.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00