0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/image/test
Tony Sullivan 00c605ce35
Image integration refactor and cleanup (#4482)
* WIP: simplifying the use of `fs` vs. the vite plugin

* removing a few node deps (etag and node:path)

* adding ts defs for sharp

* using the same mime package as astro's core App

* fixing file URL support in windows

* using file URLs when loading local image metadata

* fixing a bug in the etag helper

* Windows compat

* splitting out dev & build tests

* why do these suites fail in parallel?

* one last windows compat case

* Adding tests for treating /public images the same as remote URLs

* a couple fixes for Astro's `base` config

* adding base path tests for SSR

* fixing a bad merge, lost the kleur dependency

* adding a test suite for images + MDX

* chore: add changeset

* simplifying the with-mdx tests

* bugfix: don't duplicate the period when using existing file extensions

* let Vite cache the image loader service

* adding some docs for using /public images

* fixing changeset

* Update packages/integrations/image/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/image/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* nit: minor README syntax tweaks

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 21:09:44 +00:00
..
fixtures Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
image-ssg.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
image-ssr-build.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
image-ssr-dev.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
picture-ssg.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
picture-ssr-build.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
picture-ssr-dev.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
rotation.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
sharp.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
test-utils.js Adds an @astrojs/image integration for optimizing images (#3694) 2022-07-01 15:47:48 +00:00
with-mdx.test.js Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00