Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change how squoosh is loaded in the image integration #6548

Merged
merged 13 commits into from
Mar 23, 2023
Merged

Conversation

matthewp
Copy link
Contributor

@matthewp matthewp commented Mar 14, 2023

Changes

  • Moves away from loading the .wasm files in the image integration and instead creates base64 encoded versions of them. This ensures that they are bundled with the JS source code.
  • Fixes usage in Netlify.
  • Long-term I'm not sure if this is the best approach, so not doing the same for the core image integration yet. We should look into ways where we can guarantee better control over files that need to be read at runtime in SSR environments.

Testing

Docs

N/A, bug fix

@changeset-bot
Copy link

changeset-bot bot commented Mar 14, 2023

🦋 Changeset detected

Latest commit: 61b192d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Mar 14, 2023
@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2m63df250ccad9ec8a�[0m �[33m@astrojs/prism:build: �[0mcache hit, suppressing output �[2mad7a9f333ec561ed�[0m �[35mcreate-astro:build: �[0mcache hit, suppressing output �[2m68e4d50f23887a18�[0m �[34m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m1b74ed97530ec235�[0m �[36m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m10a20ba4fc129ece�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m21b1654fb273e5dd�[0m �[33m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2ma2a4c112adf85664�[0m �[34m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m72715a20f5d91a09�[0m �[36m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me0d5757cabeb9013�[0m �[35m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m6863c2b0a0d736f6�[0m �[32m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2m89289084abe4647a�[0m �[33m@astrojs/react:build: �[0mcache hit, suppressing output �[2m9dfa0a741b1106f7�[0m �[34m@benchmark/timer:build: �[0mcache hit, suppressing output �[2me0b6330bbc50a585�[0m �[36m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2mcda2e8c6cf761388�[0m �[32m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m1cb1a88dafb093b8�[0m �[35m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m59b09bd1226f5748�[0m �[36m@astrojs/node:build: �[0mcache hit, suppressing output �[2me87e59832d753126�[0m �[33m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2m47496cc6f200c29e�[0m �[35m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mea28762496803cd8�[0m �[36m@astrojs/vue:build: �[0mcache hit, suppressing output �[2mbc6a4be3eadb5106�[0m �[36m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2mb3abd0e05dd41863�[0m �[32m@astrojs/preact:build: �[0mcache hit, suppressing output �[2m19201f2617a49c2d�[0m �[34m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2m2831e78f90f58a48�[0m �[32m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m97920eadff34d07e�[0m �[34m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m453670b9cee62cae�[0m �[34m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2m88389c7f62c63a35�[0m �[33m@astrojs/image:build: �[0mcache miss, executing �[2m74122fb900e8cd7a�[0m �[35m@astrojs/rss:build: �[0mcache miss, executing �[2mfa59db53720aa0a1�[0m �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314162307 build /home/runner/work/astro/astro/packages/integrations/image �[33m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[33m@astrojs/image:build: �[0m �[35m@astrojs/rss:build: �[0m �[35m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230314162307 build /home/runner/work/astro/astro/packages/astro-rss �[35m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/rss:build: �[0m �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314162307 postbuild /home/runner/work/astro/astro/packages/integrations/image �[33m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[33m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 10.24s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230314162307) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230314162307) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230314162307"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230314162307"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230314162307 🦋 @astrojs/image@0.0.0-netlify-image-20230314162307 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230314162307 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230314162307

@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2m63df250ccad9ec8a�[0m �[34mcreate-astro:build: �[0mcache hit, suppressing output �[2m68e4d50f23887a18�[0m �[36m@astrojs/prism:build: �[0mcache hit, suppressing output �[2mad7a9f333ec561ed�[0m �[33m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m1b74ed97530ec235�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m10a20ba4fc129ece�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m21b1654fb273e5dd�[0m �[33m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m59b09bd1226f5748�[0m �[34m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m6863c2b0a0d736f6�[0m �[35m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2m47496cc6f200c29e�[0m �[36m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2mb3abd0e05dd41863�[0m �[32m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m72715a20f5d91a09�[0m �[36m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me0d5757cabeb9013�[0m �[32m@astrojs/vue:build: �[0mcache hit, suppressing output �[2mbc6a4be3eadb5106�[0m �[34m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2mcda2e8c6cf761388�[0m �[35m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m453670b9cee62cae�[0m �[33m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2m89289084abe4647a�[0m �[36m@astrojs/react:build: �[0mcache hit, suppressing output �[2m9dfa0a741b1106f7�[0m �[35m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2m88389c7f62c63a35�[0m �[33m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m97920eadff34d07e�[0m �[32m@benchmark/timer:build: �[0mcache hit, suppressing output �[2me0b6330bbc50a585�[0m �[34m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mea28762496803cd8�[0m �[34m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2ma2a4c112adf85664�[0m �[32m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m1cb1a88dafb093b8�[0m �[34m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2m2831e78f90f58a48�[0m �[36m@astrojs/node:build: �[0mcache hit, suppressing output �[2me87e59832d753126�[0m �[33m@astrojs/preact:build: �[0mcache hit, suppressing output �[2m19201f2617a49c2d�[0m �[35m@astrojs/image:build: �[0mcache miss, executing �[2m5941d643cb899c89�[0m �[36m@astrojs/rss:build: �[0mcache miss, executing �[2m3b92156a9d482d2d�[0m �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314172356 build /home/runner/work/astro/astro/packages/integrations/image �[35m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[35m@astrojs/image:build: �[0m �[36m@astrojs/rss:build: �[0m �[36m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230314172356 build /home/runner/work/astro/astro/packages/astro-rss �[36m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/rss:build: �[0m �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314172356 postbuild /home/runner/work/astro/astro/packages/integrations/image �[35m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[35m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 8.714s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230314172356) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230314172356) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230314172356"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230314172356"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230314172356 🦋 @astrojs/image@0.0.0-netlify-image-20230314172356 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230314172356 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230314172356

@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2m63df250ccad9ec8a�[0m �[36mcreate-astro:build: �[0mcache hit, suppressing output �[2m68e4d50f23887a18�[0m �[34m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m1b74ed97530ec235�[0m �[33m@astrojs/prism:build: �[0mcache hit, suppressing output �[2mad7a9f333ec561ed�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m10a20ba4fc129ece�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m21b1654fb273e5dd�[0m �[33m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m453670b9cee62cae�[0m �[33m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2m47496cc6f200c29e�[0m �[36m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m59b09bd1226f5748�[0m �[34m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m97920eadff34d07e�[0m �[36m@astrojs/vue:build: �[0mcache hit, suppressing output �[2mbc6a4be3eadb5106�[0m �[35m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2m88389c7f62c63a35�[0m �[32m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2mcda2e8c6cf761388�[0m �[35m@astrojs/preact:build: �[0mcache hit, suppressing output �[2m19201f2617a49c2d�[0m �[34m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2m89289084abe4647a�[0m �[32m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m6863c2b0a0d736f6�[0m �[35m@benchmark/timer:build: �[0mcache hit, suppressing output �[2me0b6330bbc50a585�[0m �[34m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m1cb1a88dafb093b8�[0m �[34m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mea28762496803cd8�[0m �[32m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m72715a20f5d91a09�[0m �[34m@astrojs/react:build: �[0mcache hit, suppressing output �[2m9dfa0a741b1106f7�[0m �[33m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2ma2a4c112adf85664�[0m �[35m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me0d5757cabeb9013�[0m �[36m@astrojs/node:build: �[0mcache hit, suppressing output �[2me87e59832d753126�[0m �[36m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2m2831e78f90f58a48�[0m �[32m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2mb3abd0e05dd41863�[0m �[33m@astrojs/rss:build: �[0mcache miss, executing �[2m65ca0f2e6541d7a2�[0m �[36m@astrojs/image:build: �[0mcache miss, executing �[2m32ef20a4f029366b�[0m �[33m@astrojs/rss:build: �[0m �[33m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230314183211 build /home/runner/work/astro/astro/packages/astro-rss �[33m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/rss:build: �[0m �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314183211 build /home/runner/work/astro/astro/packages/integrations/image �[36m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314183211 postbuild /home/runner/work/astro/astro/packages/integrations/image �[36m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[36m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 10.349s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230314183211) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230314183211) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230314183211"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230314183211"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230314183211 🦋 @astrojs/image@0.0.0-netlify-image-20230314183211 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230314183211 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230314183211

@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2ma500cf6f58af8393�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2ma158133d2196c029�[0m �[35mcreate-astro:build: �[0mcache hit, suppressing output �[2md0ed2021ebf2f115�[0m �[33m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m07f8f29f122b5aa5�[0m �[36m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m39169975e9926a17�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m5956b4d3d684c2cc�[0m �[34m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m2aac567577bac108�[0m �[35m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2m9fd370d3a6667972�[0m �[36m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2ma324bf5f6e40254a�[0m �[32m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m3aacb17e562d1d2a�[0m �[33m@astrojs/node:build: �[0mcache hit, suppressing output �[2m0f2c3e6173d08933�[0m �[33m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m576c2528cbf4b28e�[0m �[34m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2m88229ecebf15cf42�[0m �[36m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m47c0b12544686a82�[0m �[32m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mfa8d472625f0ca67�[0m �[32m@astrojs/react:build: �[0mcache hit, suppressing output �[2ma91dec1350fcf037�[0m �[34m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me39cd90817954af9�[0m �[36m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m5fe366d37318932a�[0m �[34m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m23ef43d8b5e0575d�[0m �[33m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2mc89a932c499b30a7�[0m �[32m@astrojs/vue:build: �[0mcache hit, suppressing output �[2m46d332d7a857576f�[0m �[36m@benchmark/timer:build: �[0mcache hit, suppressing output �[2mab9cf2b5000243c5�[0m �[33m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2mafb964ac03bf4d75�[0m �[36m@astrojs/preact:build: �[0mcache hit, suppressing output �[2me9b1017dade19cbe�[0m �[33m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2m1abe77f8a5e623c7�[0m �[35m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2mf4412e192c638274�[0m �[35m@astrojs/rss:build: �[0mcache miss, executing �[2mde0dc06dece8b245�[0m �[35m@astrojs/image:build: �[0mcache miss, executing �[2m516b0bae2acf30a6�[0m �[35m@astrojs/rss:build: �[0m �[35m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230314195402 build /home/runner/work/astro/astro/packages/astro-rss �[35m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/rss:build: �[0m �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314195402 build /home/runner/work/astro/astro/packages/integrations/image �[35m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230314195402 postbuild /home/runner/work/astro/astro/packages/integrations/image �[35m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[35m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 9.305s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230314195402) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230314195402) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230314195402"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230314195402"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230314195402 🦋 @astrojs/image@0.0.0-netlify-image-20230314195402 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230314195402 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230314195402

@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2ma500cf6f58af8393�[0m �[33mcreate-astro:build: �[0mcache hit, suppressing output �[2md0ed2021ebf2f115�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2ma158133d2196c029�[0m �[36m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m07f8f29f122b5aa5�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m39169975e9926a17�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m5956b4d3d684c2cc�[0m �[33m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m3aacb17e562d1d2a�[0m �[35m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2mc89a932c499b30a7�[0m �[34m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2ma324bf5f6e40254a�[0m �[35m@astrojs/preact:build: �[0mcache hit, suppressing output �[2me9b1017dade19cbe�[0m �[36m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m576c2528cbf4b28e�[0m �[36m@astrojs/react:build: �[0mcache hit, suppressing output �[2ma91dec1350fcf037�[0m �[34m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me39cd90817954af9�[0m �[36m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m5fe366d37318932a�[0m �[32m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m2aac567577bac108�[0m �[34m@astrojs/vue:build: �[0mcache hit, suppressing output �[2m46d332d7a857576f�[0m �[35m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2m88229ecebf15cf42�[0m �[33m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m23ef43d8b5e0575d�[0m �[36m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2mafb964ac03bf4d75�[0m �[32m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mfa8d472625f0ca67�[0m �[34m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2m9fd370d3a6667972�[0m �[32m@benchmark/timer:build: �[0mcache hit, suppressing output �[2mab9cf2b5000243c5�[0m �[33m@astrojs/node:build: �[0mcache hit, suppressing output �[2m0f2c3e6173d08933�[0m �[35m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2mf4412e192c638274�[0m �[33m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2m1abe77f8a5e623c7�[0m �[33m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m47c0b12544686a82�[0m �[36m@astrojs/rss:build: �[0mcache miss, executing �[2mce95bb245a35621c�[0m �[32m@astrojs/image:build: �[0mcache miss, executing �[2mf9d1b638b0ae8598�[0m �[36m@astrojs/rss:build: �[0m �[36m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230315141601 build /home/runner/work/astro/astro/packages/astro-rss �[36m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/rss:build: �[0m �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230315141601 build /home/runner/work/astro/astro/packages/integrations/image �[32m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230315141601 postbuild /home/runner/work/astro/astro/packages/integrations/image �[32m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[32m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 11.329s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230315141601) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230315141601) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230315141601"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230315141601"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230315141601 🦋 @astrojs/image@0.0.0-netlify-image-20230315141601 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230315141601 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230315141601

@matthewp
Copy link
Contributor Author

!preview netlify-image

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--netlify-image" > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --output-logs=new-only --no-deps --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @astrojs/markdoc, @astrojs/markdown-component, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prefetch, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/turbolinks, @astrojs/vercel, @astrojs/vue, @astrojs/webapi, @benchmark/timer, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 29 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2ma500cf6f58af8393�[0m �[33m@astrojs/prism:build: �[0mcache hit, suppressing output �[2ma158133d2196c029�[0m �[34m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2m07f8f29f122b5aa5�[0m �[36mcreate-astro:build: �[0mcache hit, suppressing output �[2md0ed2021ebf2f115�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m39169975e9926a17�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m5956b4d3d684c2cc�[0m �[34m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2m88229ecebf15cf42�[0m �[33m@astrojs/vue:build: �[0mcache hit, suppressing output �[2m46d332d7a857576f�[0m �[35m@benchmark/timer:build: �[0mcache hit, suppressing output �[2mab9cf2b5000243c5�[0m �[34m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m23ef43d8b5e0575d�[0m �[36m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2mfa8d472625f0ca67�[0m �[36m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m576c2528cbf4b28e�[0m �[33m@astrojs/markdoc:build: �[0mcache hit, suppressing output �[2mc89a932c499b30a7�[0m �[32m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2m1abe77f8a5e623c7�[0m �[34m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m2aac567577bac108�[0m �[35m@astrojs/deno:build: �[0mcache hit, suppressing output �[2me39cd90817954af9�[0m �[36m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m47c0b12544686a82�[0m �[32m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2mf4412e192c638274�[0m �[34m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2m9fd370d3a6667972�[0m �[33m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m3aacb17e562d1d2a�[0m �[35m@astrojs/react:build: �[0mcache hit, suppressing output �[2ma91dec1350fcf037�[0m �[34m@astrojs/preact:build: �[0mcache hit, suppressing output �[2me9b1017dade19cbe�[0m �[33m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m5fe366d37318932a�[0m �[32m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2mafb964ac03bf4d75�[0m �[35m@astrojs/node:build: �[0mcache hit, suppressing output �[2m0f2c3e6173d08933�[0m �[36m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2ma324bf5f6e40254a�[0m �[32m@astrojs/image:build: �[0mcache miss, executing �[2m27c461646afe1107�[0m �[36m@astrojs/rss:build: �[0mcache miss, executing �[2m3053c082215a707e�[0m �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230315143536 build /home/runner/work/astro/astro/packages/integrations/image �[32m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[32m@astrojs/image:build: �[0m �[36m@astrojs/rss:build: �[0m �[36m@astrojs/rss:build: �[0m> @astrojs/rss@0.0.0-netlify-image-20230315143536 build /home/runner/work/astro/astro/packages/astro-rss �[36m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/rss:build: �[0m �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-netlify-image-20230315143536 postbuild /home/runner/work/astro/astro/packages/integrations/image �[32m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[32m@astrojs/image:build: �[0m Tasks: 28 successful, 28 total Cached: 26 cached, 28 total Time: 9.123s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--netlify-image tag 🦋 �[33mwarn�[39m �[31m----------------------------------------------------------------------�[39m 🦋 �[36minfo�[39m npm info astro 🦋 �[36minfo�[39m npm info @astrojs/prism 🦋 �[36minfo�[39m npm info @astrojs/rss 🦋 �[36minfo�[39m npm info create-astro 🦋 �[36minfo�[39m npm info @astrojs/alpinejs 🦋 �[36minfo�[39m npm info @astrojs/cloudflare 🦋 �[36minfo�[39m npm info @astrojs/deno 🦋 �[36minfo�[39m npm info @astrojs/image 🦋 �[36minfo�[39m npm info @astrojs/lit 🦋 �[36minfo�[39m npm info @astrojs/markdoc 🦋 �[36minfo�[39m npm info @astrojs/mdx 🦋 �[36minfo�[39m npm info @astrojs/netlify 🦋 �[36minfo�[39m npm info @astrojs/node 🦋 �[36minfo�[39m npm info @astrojs/partytown 🦋 �[36minfo�[39m npm info @astrojs/preact 🦋 �[36minfo�[39m npm info @astrojs/prefetch 🦋 �[36minfo�[39m npm info @astrojs/react 🦋 �[36minfo�[39m npm info @astrojs/sitemap 🦋 �[36minfo�[39m npm info @astrojs/solid-js 🦋 �[36minfo�[39m npm info @astrojs/svelte 🦋 �[36minfo�[39m npm info @astrojs/tailwind 🦋 �[36minfo�[39m npm info @astrojs/turbolinks 🦋 �[36minfo�[39m npm info @astrojs/vercel 🦋 �[36minfo�[39m npm info @astrojs/vue 🦋 �[36minfo�[39m npm info @astrojs/markdown-component 🦋 �[36minfo�[39m npm info @astrojs/markdown-remark 🦋 �[36minfo�[39m npm info @astrojs/telemetry 🦋 �[36minfo�[39m npm info @astrojs/webapi 🦋 �[33mwarn�[39m astro is not being published because version 2.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/rss is being published because our local version (0.0.0-netlify-image-20230315143536) has not been published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 6.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-netlify-image-20230315143536) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 2.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 5.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 3.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 3.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 2.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 2.1.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/rss"�[39m at �[32m"0.0.0-netlify-image-20230315143536"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-netlify-image-20230315143536"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/rss@0.0.0-netlify-image-20230315143536 🦋 @astrojs/image@0.0.0-netlify-image-20230315143536 🦋 Creating git tags... 🦋 New tag: @astrojs/rss@0.0.0-netlify-image-20230315143536 🦋 New tag: @astrojs/image@0.0.0-netlify-image-20230315143536

return requestPath
},
// @ts-expect-error
wasmBinary: bytes,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The emscripten wrapper code accepts this property and it's the way to provide raw bytes, but the TS types do not allow it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to have this comment in the code comment!

@matthewp matthewp marked this pull request as ready for review March 15, 2023 20:11
@matthewp matthewp changed the title WIP fix image integration in Netlify Change how squoosh is loaded in the image integration Mar 15, 2023
Copy link
Member

@MoustaphaDev MoustaphaDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@matthewp matthewp merged commit 4685f55 into main Mar 23, 2023
@matthewp matthewp deleted the image-netlify branch March 23, 2023 16:01
@astrobot-houston astrobot-houston mentioned this pull request Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants