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

Adding an optional image service based on Squoosh #4738

Merged
merged 67 commits into from
Sep 22, 2022
Merged

Conversation

tony-sull
Copy link
Contributor

@tony-sull tony-sull commented Sep 13, 2022

Live Demo on StackBlitz

Changes

  • Adds a new image service based on Squoosh and next/image
  • Removes additional Node.js dependencies in the SSR bundle, currently blocking deno support

Testing

  • Added a new test suite using the wasm-based image transforms
  • Existing tests were updated to continue using the sharp service. The wasm service is noticeably slower in CI runs and can run into memory issues if multiple suites are all fired up at once, each loading their own copies of the .wasm libraries

Docs

README updated with details on the new wasm-based service and notes for <Image /> props that are only supported by sharp

@tony-sull tony-sull self-assigned this Sep 13, 2022
@changeset-bot
Copy link

changeset-bot bot commented Sep 13, 2022

🦋 Changeset detected

Latest commit: ff553cb

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 Sep 13, 2022
@withastro withastro deleted a comment from github-actions bot Sep 13, 2022
@withastro withastro deleted a comment from github-actions bot Sep 13, 2022
@github-actions github-actions bot removed the pkg: astro Related to the core `astro` package (scope) label Sep 21, 2022
@tony-sull
Copy link
Contributor Author

!preview wasm

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--wasm" > 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/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @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, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 27 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2m466912f103095bc0�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m22022e9595667a8e�[0m �[33m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2md7b9e0b954f94f15�[0m �[35mcreate-astro:build: �[0mcache hit, suppressing output �[2m7f56375e68c4017f�[0m �[36m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2mbdb25cf64a10ed95�[0m �[32mastro:build: �[0mcache miss, executing �[2m4a1b88a68e8be36d�[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-wasm-20220921185024 build /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> pnpm run prebuild && astro-scripts build "src/**/*.ts" && tsc �[32mastro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-wasm-20220921185024 prebuild /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> astro-scripts prebuild --to-string "src/runtime/server/astro-island.ts" "src/runtime/client/{idle,load,media,only,visible}.ts" �[32mastro:build: �[0m �[36m@astrojs/image:build: �[0mcache miss, executing �[2m7427e0559a949227�[0m �[35m@astrojs/prefetch:build: �[0mcache miss, executing �[2m8f2b04c0fb2949bb�[0m �[35m@astrojs/partytown:build: �[0mcache miss, executing �[2m2ba7de6edafca3a1�[0m �[33m@astrojs/vue:build: �[0mcache miss, executing �[2m045e6287ff98139c�[0m �[34m@astrojs/mdx:build: �[0mcache miss, executing �[2m3c3267ea278c98d7�[0m �[33m@astrojs/node:build: �[0mcache miss, executing �[2m85593af4b88e57a4�[0m �[36m@astrojs/solid-js:build: �[0mcache miss, executing �[2m26d511ee6f617bdd�[0m �[32m@astrojs/deno:build: �[0mcache miss, executing �[2mc880de3434f399b6�[0m �[34m@astrojs/rss:build: �[0mcache miss, executing �[2m34065cbd9ca02964�[0m �[32m@astrojs/preact:build: �[0mcache miss, executing �[2m1f43845bc4a1984e�[0m �[33m@astrojs/vue:build: �[0m �[33m@astrojs/vue:build: �[0m> @astrojs/vue@1.0.2 build /home/runner/work/astro/astro/packages/integrations/vue �[33m@astrojs/vue:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[33m@astrojs/vue:build: �[0m �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-wasm-20220921185024 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 �[34m@astrojs/mdx:build: �[0m �[34m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.11.1 build /home/runner/work/astro/astro/packages/integrations/mdx �[34m@astrojs/mdx:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/mdx:build: �[0m �[36m@astrojs/solid-js:build: �[0m �[36m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@1.1.0 build /home/runner/work/astro/astro/packages/integrations/solid �[36m@astrojs/solid-js:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/solid-js:build: �[0m �[35m@astrojs/partytown:build: �[0m �[35m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.0.0 build /home/runner/work/astro/astro/packages/integrations/partytown �[35m@astrojs/partytown:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/partytown:build: �[0m �[34m@astrojs/rss:build: �[0m �[34m@astrojs/rss:build: �[0m> @astrojs/rss@1.0.1 build /home/runner/work/astro/astro/packages/astro-rss �[34m@astrojs/rss:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/rss:build: �[0m �[35m@astrojs/prefetch:build: �[0m �[35m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.0.7 build /home/runner/work/astro/astro/packages/integrations/prefetch �[35m@astrojs/prefetch:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/prefetch:build: �[0m �[33m@astrojs/node:build: �[0m �[33m@astrojs/node:build: �[0m> @astrojs/node@1.0.1 build /home/runner/work/astro/astro/packages/integrations/node �[33m@astrojs/node:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/node:build: �[0m �[32m@astrojs/deno:build: �[0m �[32m@astrojs/deno:build: �[0m> @astrojs/deno@1.0.1 build /home/runner/work/astro/astro/packages/integrations/deno �[32m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/deno:build: �[0m �[32m@astrojs/preact:build: �[0m �[32m@astrojs/preact:build: �[0m> @astrojs/preact@1.1.0 build /home/runner/work/astro/astro/packages/integrations/preact �[32m@astrojs/preact:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/preact:build: �[0m �[33m@astrojs/turbolinks:build: �[0mcache miss, executing �[2m66f7052f240c947c�[0m �[34m@astrojs/netlify:build: �[0mcache miss, executing �[2m7512e1b4790439f7�[0m �[36m@astrojs/sitemap:build: �[0mcache miss, executing �[2m276b5212ff6c90bf�[0m �[32m@astrojs/tailwind:build: �[0mcache miss, executing �[2mdc70d870ddc5f490�[0m �[33m@astrojs/svelte:build: �[0mcache miss, executing �[2m7864e9ba12f3f195�[0m �[34m@astrojs/vercel:build: �[0mcache miss, executing �[2m361b5b377e956b6a�[0m �[36m@astrojs/alpinejs:build: �[0mcache miss, executing �[2m05d3a28f049d43a6�[0m �[33m@astrojs/turbolinks:build: �[0m �[33m@astrojs/turbolinks:build: �[0m> @astrojs/turbolinks@0.1.4 build /home/runner/work/astro/astro/packages/integrations/turbolinks �[33m@astrojs/turbolinks:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/turbolinks:build: �[0m �[35m@astrojs/react:build: �[0mcache miss, executing �[2m35f561cd70a6197f�[0m �[34m@astrojs/netlify:build: �[0m �[34m@astrojs/netlify:build: �[0m> @astrojs/netlify@1.0.4 build /home/runner/work/astro/astro/packages/integrations/netlify �[34m@astrojs/netlify:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/netlify:build: �[0m �[36m@astrojs/sitemap:build: �[0m �[36m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.0.0 build /home/runner/work/astro/astro/packages/integrations/sitemap �[36m@astrojs/sitemap:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/sitemap:build: �[0m �[33m@astrojs/svelte:build: �[0m �[33m@astrojs/svelte:build: �[0m> @astrojs/svelte@1.0.0 build /home/runner/work/astro/astro/packages/integrations/svelte �[33m@astrojs/svelte:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[33m@astrojs/svelte:build: �[0m �[32m@astrojs/tailwind:build: �[0m �[32m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@2.0.1 build /home/runner/work/astro/astro/packages/integrations/tailwind �[32m@astrojs/tailwind:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/tailwind:build: �[0m �[34m@astrojs/vercel:build: �[0m �[34m@astrojs/vercel:build: �[0m> @astrojs/vercel@2.0.0 build /home/runner/work/astro/astro/packages/integrations/vercel �[34m@astrojs/vercel:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/vercel:build: �[0m �[36m@astrojs/alpinejs:build: �[0m �[36m@astrojs/alpinejs:build: �[0m> @astrojs/alpinejs@0.1.2 build /home/runner/work/astro/astro/packages/integrations/alpinejs �[36m@astrojs/alpinejs:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/alpinejs:build: �[0m �[35m@astrojs/react:build: �[0m �[35m@astrojs/react:build: �[0m> @astrojs/react@1.1.4 build /home/runner/work/astro/astro/packages/integrations/react �[35m@astrojs/react:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/react:build: �[0m �[32m@astrojs/lit:build: �[0mcache miss, executing �[2m12f8c80b5e837210�[0m �[32m@astrojs/lit:build: �[0m �[32m@astrojs/lit:build: �[0m> @astrojs/lit@1.0.1 build /home/runner/work/astro/astro/packages/integrations/lit �[32m@astrojs/lit:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/lit:build: �[0m �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-wasm-20220921185024 postbuild /home/runner/work/astro/astro/packages/integrations/image �[36m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[36m@astrojs/image:build: �[0m �[33m@astrojs/cloudflare:build: �[0mcache miss, executing �[2mfe0ed875300bd8da�[0m �[33m@astrojs/cloudflare:build: �[0m �[33m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@2.0.0 build /home/runner/work/astro/astro/packages/integrations/cloudflare �[33m@astrojs/cloudflare:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/cloudflare:build: �[0m Tasks: 26 successful, 26 total Cached: 5 cached, 26 total Time: 56.659s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--wasm 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/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 🦋 �[36minfo�[39m astro is being published because our local version (0.0.0-wasm-20220921185024) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 2.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 1.0.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-wasm-20220921185024) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.11.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.0.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.0.7 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.1.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 1.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 2.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.0.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"astro"�[39m at �[32m"0.0.0-wasm-20220921185024"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-wasm-20220921185024"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-wasm-20220921185024 🦋 @astrojs/image@0.0.0-wasm-20220921185024 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-wasm-20220921185024 🦋 New tag: @astrojs/image@0.0.0-wasm-20220921185024

@tony-sull tony-sull marked this pull request as ready for review September 21, 2022 22:25
@tony-sull tony-sull requested a review from a team as a code owner September 21, 2022 22:25
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Looking good, @tony-sull !

Left one comment describing the notation we use for Asides (no blockquotes for things that aren't actually quotations!) but this occurs in six different places. So, whatever you do for one, please do everywhere. 😄

Then, it's good for Docs!

@@ -195,6 +220,8 @@ A `number` can also be provided, useful when the aspect ratio is calculated at b
**Default:** `undefined`
</p>

> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
Copy link
Member

@sarah11918 sarah11918 Sep 22, 2022

Choose a reason for hiding this comment

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

Suggested change
> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
:::note
This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
:::

@delucis doesn't let me abuse blockquote anymore... 😅

This is the format for asides that we use in Docs. If you want a custom title (instead of just note), then you can use the format

:::note[custom title that will be in all caps]
text
:::

If this looks too weird on the GitHub README directly, there's always GitHubs own new-ish "Note" syntax:

Note
This is a note

Whatever you do here, should be done in all six instances of this (3 properties of <Image />, 3 properties of <Picture />)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How does :::note work in NPM? I'm wondering if we eventually want a README that goes to NPM and a separate DOCS.md that is hosted on the docs site 🤔

Copy link
Member

Choose a reason for hiding this comment

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

We eventually do want most of this info to live in Docs... 😅 Let me see if I can find an example of one of our Asides that is currently in a README, so we can check to be sure what it looks like...

Copy link
Member

@sarah11918 sarah11918 Sep 22, 2022

Choose a reason for hiding this comment

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

The very top of this file uses:

> ⚠️ This integration is still experimental! Only node environments are supported currently, stay tuned for Deno support in the future!

So, I guess there's precedent for that for now. We don't need to hold this up over the Aside/Blockquotes. And, I just discovered that GitHub's own Note syntax just renders as a blockquote in our Docs anyway, with no special display at all...

So, maybe for this case, let's just keep the blockquote or use GitHub's own notation which at least looks nicer here, (both will look like blockquote on the docs, so up to you) and we'll figure out a better long-term solution.

@tony-sull tony-sull changed the title WIP: Adding an optional image service based on Squoosh Adding an optional image service based on Squoosh Sep 22, 2022
@tony-sull
Copy link
Contributor Author

!preview wasm

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--wasm" > 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/*" �[2m• Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/deno, @astrojs/image, @astrojs/lit, @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, astro, create-astro�[0m �[2m• Running�[0m �[2m�[1mbuild�[0m�[0m �[2min 27 packages�[0m �[2m• Remote computation caching enabled (experimental)�[0m �[35m@astrojs/webapi:build: �[0mcache hit, suppressing output �[2m76670122d5435f72�[0m �[33m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mc327ef57099ca7c0�[0m �[36mcreate-astro:build: �[0mcache hit, suppressing output �[2m65aa1ed1aea66058�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m38e98d627069bbd9�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2ma9a155a0925e4e51�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2m6b84c5ef7da3cec9�[0m �[34m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2m3c28452169cec879�[0m �[35m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m0095782558d521e8�[0m �[32m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m0eba7d999c7834b3�[0m �[34m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m6b677555fff22212�[0m �[35m@astrojs/preact:build: �[0mcache hit, suppressing output �[2mc37ea674b15fdb6c�[0m �[32m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2me2308d20bead4ea7�[0m �[33m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m5f82e90d2e6afb2e�[0m �[34m@astrojs/rss:build: �[0mcache hit, suppressing output �[2m46c6fd9f263acb67�[0m �[36m@astrojs/vercel:build: �[0mcache hit, suppressing output �[2m90cd54eae94d520d�[0m �[35m@astrojs/react:build: �[0mcache hit, suppressing output �[2mf7b7c609f86503fb�[0m �[32m@astrojs/deno:build: �[0mcache hit, suppressing output �[2md57d2885b5980002�[0m �[36m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2m53cd5bbe9d7aea97�[0m �[34m@astrojs/vue:build: �[0mcache hit, suppressing output �[2md2454ae769117e92�[0m �[33m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2m8530ef215b8411a0�[0m �[35m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m8c6f718594fbcb40�[0m �[33m@astrojs/node:build: �[0mcache hit, suppressing output �[2mca7f699bf29e3327�[0m �[36m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m7d5a427cdc089d92�[0m �[36m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2m68aadf836036fc06�[0m �[33m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2ma6e8f918e47d69fd�[0m �[32m@astrojs/image:build: �[0mcache miss, executing �[2m531fbe3637e140ac�[0m �[32m@astrojs/image:build: �[0m �[32m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-wasm-20220922161614 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-wasm-20220922161614 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: 26 successful, 26 total Cached: 25 cached, 26 total Time: 7.79s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--wasm 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/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 1.3.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/alpinejs is not being published because version 0.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/cloudflare is not being published because version 2.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 1.0.1 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-wasm-20220922161614) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/lit is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.11.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.0.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.0.7 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.1.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/sitemap is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/solid-js is not being published because version 1.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vercel is not being published because version 2.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.0.0 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-wasm-20220922161614"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 @astrojs/image@0.0.0-wasm-20220922161614 🦋 Creating git tag... 🦋 New tag: @astrojs/image@0.0.0-wasm-20220922161614

@tony-sull tony-sull merged commit fad3867 into main Sep 22, 2022
@tony-sull tony-sull deleted the feat/squoosh-lib branch September 22, 2022 19:48
@astrobot-houston astrobot-houston mentioned this pull request Sep 22, 2022
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.

5 participants