davesnx / styled-ppx

Type-safe styled components for ReScript, Melange and native with type-safe CSS
https://styled-ppx.vercel.app
BSD 2-Clause "Simplified" License
399 stars 31 forks source link

Migrate css-support to cram tests #454

Closed davesnx closed 4 months ago

davesnx commented 4 months ago

This PR moves all css-support into separate cram tests, making sure it type-checks against styled-ppx.css_native and styled-ppx.emotion_native.

I fixed the issues in this PR as well and added a dune_describe_pp to see the preprocessed output (and keep same behaviour as css-supported.expected)

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **styled-ppx** | ⬜️ Ignored ([Inspect](https://vercel.com/davesnx/styled-ppx/FF7RFncg9BFKeBEuwRcGp3x7Djhi)) | [Visit Preview](https://styled-ppx-git-migrate-css-support-test-to-typesafety-davesnx.vercel.app) | | Mar 18, 2024 6:13pm |
github-actions[bot] commented 4 months ago

New nightly version has been published to the NPM registry: @davesnx/styled-ppx@0.54.1-b594fa4.0. Install it with npm install @davesnx/styled-ppx@nightly or npm install @davesnx/styled-ppx@0.54.1-b594fa4.0.

lubegasimon commented 4 months ago

Thanks for the refactoring and improvements 👍