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

Move image() to be passed as part of schema #6703

Merged
merged 11 commits into from
Apr 5, 2023
Merged

Conversation

Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Mar 29, 2023

Changes

As the title says, this moves image() to be provided through schema, like such schema: ({image}) => z.object({...}) instead of something you import from astro:content. This has fairly consequential benefits on our end, as we can now directly pass information about the current entry to schema instead of trying to clumsily patch it.

Additionally, since this doesn't rely on clumsy patches anymore:

  • It unlocks more usecases (now work inside arrays and other complex types!)
  • More performant, since we only do one imageMetadata call
  • No longer fails to work when using ZodEffects such as refine and superRefine

Testing

Tests still pass!

Docs

withastro/docs#2961

@changeset-bot
Copy link

changeset-bot bot commented Mar 29, 2023

🦋 Changeset detected

Latest commit: cbfbe3f

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: astro Related to the core `astro` package (scope) label Mar 29, 2023
@Princesseuh Princesseuh marked this pull request as ready for review March 29, 2023 16:53
Copy link
Contributor

@bholmesdev bholmesdev left a comment

Choose a reason for hiding this comment

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

Some callouts on documentation. Couldn't imageine our internals would get this simple with the change!

.changeset/many-dancers-fold.md Show resolved Hide resolved
packages/astro/src/content/runtime-assets.ts Outdated Show resolved Hide resolved
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.

The new flow looks great 👍

@Princesseuh
Copy link
Member Author

!preview schema-image

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2023

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--schema-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 �[2m8e54348978196e71�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m06a80d7104c079a4�[0m �[35mcreate-astro:build: �[0mcache hit, suppressing output �[2m831a706ecb2b6f53�[0m �[33m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf6529071074e4bde�[0m �[36m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m088a16965bbc7bcd�[0m �[32mastro:build: �[0mcache miss, executing �[2mae3e6656ebc9446c�[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401003731 build /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> pnpm run prebuild && astro-scripts build "src/**/*.{ts,js}" && tsc && pnpm run postbuild �[32mastro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401003731 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 �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401003731 postbuild /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> astro-scripts copy "src/**/*.astro" && astro-scripts copy "src/**/*.wasm" �[32mastro:build: �[0m �[33m@astrojs/markdoc:build: �[0mcache miss, executing �[2mc1bbe703cc11bf38�[0m �[36m@astrojs/preact:build: �[0mcache miss, executing �[2mdf9bf614bd2ab66e�[0m �[36m@benchmark/timer:build: �[0mcache miss, executing �[2m651b0ca03cfaf9ff�[0m �[34m@astrojs/sitemap:build: �[0mcache miss, executing �[2m90d030f5a52bab59�[0m �[32m@astrojs/vercel:build: �[0mcache miss, executing �[2m08243f2fac2b2125�[0m �[34m@astrojs/alpinejs:build: �[0mcache miss, executing �[2m3585ff25325720d9�[0m �[32m@astrojs/mdx:build: �[0mcache miss, executing �[2m03750828dc1738fa�[0m �[33m@astrojs/image:build: �[0mcache miss, executing �[2m443a286e3f78fff9�[0m �[35m@astrojs/prefetch:build: �[0mcache miss, executing �[2m72dc76bbee4e8771�[0m �[35m@astrojs/cloudflare:build: �[0mcache miss, executing �[2m0431901224573cb6�[0m �[36m@benchmark/timer:build: �[0m �[36m@benchmark/timer:build: �[0m> @benchmark/timer@0.0.0 build /home/runner/work/astro/astro/benchmark/packages/timer �[36m@benchmark/timer:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@benchmark/timer:build: �[0m �[34m@astrojs/sitemap:build: �[0m �[34m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.2.1 build /home/runner/work/astro/astro/packages/integrations/sitemap �[34m@astrojs/sitemap:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/sitemap:build: �[0m �[32m@astrojs/vercel:build: �[0m �[32m@astrojs/vercel:build: �[0m> @astrojs/vercel@3.2.1 build /home/runner/work/astro/astro/packages/integrations/vercel �[32m@astrojs/vercel:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/vercel:build: �[0m �[33m@astrojs/markdoc:build: �[0m �[33m@astrojs/markdoc:build: �[0m> @astrojs/markdoc@0.1.0 build /home/runner/work/astro/astro/packages/integrations/markdoc �[33m@astrojs/markdoc:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/markdoc:build: �[0m �[36m@astrojs/preact:build: �[0m �[36m@astrojs/preact:build: �[0m> @astrojs/preact@2.1.0 build /home/runner/work/astro/astro/packages/integrations/preact �[36m@astrojs/preact:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/preact:build: �[0m �[35m@astrojs/prefetch:build: �[0m �[35m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.2.1 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 �[34m@astrojs/alpinejs:build: �[0m �[34m@astrojs/alpinejs:build: �[0m> @astrojs/alpinejs@0.2.1 build /home/runner/work/astro/astro/packages/integrations/alpinejs �[34m@astrojs/alpinejs:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/alpinejs:build: �[0m �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.16.3 build /home/runner/work/astro/astro/packages/integrations/image �[33m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/image:build: �[0m �[35m@astrojs/cloudflare:build: �[0m �[35m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@6.2.2 build /home/runner/work/astro/astro/packages/integrations/cloudflare �[35m@astrojs/cloudflare:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/cloudflare:build: �[0m �[32m@astrojs/mdx:build: �[0m �[32m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.18.2 build /home/runner/work/astro/astro/packages/integrations/mdx �[32m@astrojs/mdx:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/mdx:build: �[0m �[33m@astrojs/deno:build: �[0mcache miss, executing �[2m909923dbc0e913dd�[0m �[34m@astrojs/node:build: �[0mcache miss, executing �[2m029e2f56e7e56541�[0m �[36m@astrojs/react:build: �[0mcache miss, executing �[2mbb243fa877b05f8b�[0m �[35m@astrojs/netlify:build: �[0mcache miss, executing �[2m36a197ef15e2d388�[0m �[32m@astrojs/tailwind:build: �[0mcache miss, executing �[2m082819fc5cbdf28c�[0m �[33m@astrojs/partytown:build: �[0mcache miss, executing �[2m5998dfdf8352fd23�[0m �[33m@astrojs/deno:build: �[0m �[33m@astrojs/deno:build: �[0m> @astrojs/deno@4.1.0 build /home/runner/work/astro/astro/packages/integrations/deno �[33m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/deno:build: �[0m �[34m@astrojs/node:build: �[0m �[34m@astrojs/node:build: �[0m> @astrojs/node@5.1.0 build /home/runner/work/astro/astro/packages/integrations/node �[34m@astrojs/node:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/node:build: �[0m �[34m@astrojs/vue:build: �[0mcache miss, executing �[2mdbadebece1e3e43c�[0m �[35m@astrojs/turbolinks:build: �[0mcache miss, executing �[2m7d37df94d5ae315c�[0m �[36m@astrojs/react:build: �[0m �[36m@astrojs/react:build: �[0m> @astrojs/react@0.0.0-schema-image-20230401003731 build /home/runner/work/astro/astro/packages/integrations/react �[36m@astrojs/react:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/react:build: �[0m �[35m@astrojs/netlify:build: �[0m �[35m@astrojs/netlify:build: �[0m> @astrojs/netlify@2.2.0 build /home/runner/work/astro/astro/packages/integrations/netlify �[35m@astrojs/netlify:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/netlify:build: �[0m �[32m@astrojs/tailwind:build: �[0m �[32m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@3.1.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 �[33m@astrojs/partytown:build: �[0m �[33m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.2.0 build /home/runner/work/astro/astro/packages/integrations/partytown �[33m@astrojs/partytown:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/partytown:build: �[0m �[32m@astrojs/solid-js:build: �[0mcache miss, executing �[2m4d9cbd7715266662�[0m �[34m@astrojs/vue:build: �[0m �[34m@astrojs/vue:build: �[0m> @astrojs/vue@2.1.0 build /home/runner/work/astro/astro/packages/integrations/vue �[34m@astrojs/vue:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[34m@astrojs/vue:build: �[0m �[35m@astrojs/turbolinks:build: �[0m �[35m@astrojs/turbolinks:build: �[0m> @astrojs/turbolinks@0.2.1 build /home/runner/work/astro/astro/packages/integrations/turbolinks �[35m@astrojs/turbolinks:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/turbolinks:build: �[0m �[32m@astrojs/solid-js:build: �[0m �[32m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@2.1.0 build /home/runner/work/astro/astro/packages/integrations/solid �[32m@astrojs/solid-js:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/solid-js:build: �[0m �[33m@astrojs/rss:build: �[0mcache miss, executing �[2meb632c98924c6fe8�[0m �[34m@astrojs/svelte:build: �[0mcache miss, executing �[2md8ef63a1d7419c54�[0m �[36m@astrojs/lit:build: �[0mcache miss, executing �[2m5bad547062db6c8d�[0m �[34m@astrojs/svelte:build: �[0m �[34m@astrojs/svelte:build: �[0m> @astrojs/svelte@2.1.0 build /home/runner/work/astro/astro/packages/integrations/svelte �[34m@astrojs/svelte:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[34m@astrojs/svelte:build: �[0m �[33m@astrojs/rss:build: �[0m �[33m@astrojs/rss:build: �[0m> @astrojs/rss@2.3.1 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/lit:build: �[0m �[36m@astrojs/lit:build: �[0m> @astrojs/lit@0.0.0-schema-image-20230401003731 build /home/runner/work/astro/astro/packages/integrations/lit �[36m@astrojs/lit:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/lit:build: �[0m Tasks: 28 successful, 28 total Cached: 5 cached, 28 total Time: 1m7.63s Package �[36m"@astrojs/markdown-remark"�[39m must depend on the current version of �[36m"astro"�[39m: �[32m"0.0.0-schema-image-20230401003731"�[39m vs �[31m"^2.1.5"�[39m 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--schema-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 🦋 �[36minfo�[39m astro is being published because our local version (0.0.0-schema-image-20230401003731) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 2.3.1 is already published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.2 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.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/image is not being published because version 0.16.3 is already published on npm 🦋 �[36minfo�[39m @astrojs/lit is being published because our local version (0.0.0-schema-image-20230401003731) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.2 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.2.0 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 🦋 �[36minfo�[39m @astrojs/react is being published because our local version (0.0.0-schema-image-20230401003731) has not been 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.2 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"astro"�[39m at �[32m"0.0.0-schema-image-20230401003731"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/lit"�[39m at �[32m"0.0.0-schema-image-20230401003731"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/react"�[39m at �[32m"0.0.0-schema-image-20230401003731"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-schema-image-20230401003731 🦋 @astrojs/lit@0.0.0-schema-image-20230401003731 🦋 @astrojs/react@0.0.0-schema-image-20230401003731 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-schema-image-20230401003731 🦋 New tag: @astrojs/lit@0.0.0-schema-image-20230401003731 🦋 New tag: @astrojs/react@0.0.0-schema-image-20230401003731

@Princesseuh
Copy link
Member Author

!preview schema-image

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2023

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--schema-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 �[2m8e54348978196e71�[0m �[33mcreate-astro:build: �[0mcache hit, suppressing output �[2m831a706ecb2b6f53�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m06a80d7104c079a4�[0m �[36m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf6529071074e4bde�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m088a16965bbc7bcd�[0m �[32mastro:build: �[0mcache miss, executing �[2m5a377c8d58dc6970�[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401013700 build /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> pnpm run prebuild && astro-scripts build "src/**/*.{ts,js}" && tsc && pnpm run postbuild �[32mastro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401013700 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 �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-schema-image-20230401013700 postbuild /home/runner/work/astro/astro/packages/astro �[32mastro:build: �[0m> astro-scripts copy "src/**/*.astro" && astro-scripts copy "src/**/*.wasm" �[32mastro:build: �[0m �[35m@astrojs/vue:build: �[0mcache miss, executing �[2ma6d21a1bf8060341�[0m �[32m@astrojs/svelte:build: �[0mcache miss, executing �[2mc235b295a439c597�[0m �[36m@astrojs/cloudflare:build: �[0mcache miss, executing �[2m3b13a3ec98882f73�[0m �[34m@astrojs/tailwind:build: �[0mcache miss, executing �[2m54166f8c9a36f5f1�[0m �[35m@astrojs/react:build: �[0mcache miss, executing �[2m1813818a5f801f25�[0m �[32m@astrojs/preact:build: �[0mcache miss, executing �[2m1ce1a6119d1a8713�[0m �[34m@astrojs/markdoc:build: �[0mcache miss, executing �[2m70d429c4f859907c�[0m �[36m@astrojs/lit:build: �[0mcache miss, executing �[2m11e4241bb740e852�[0m �[33m@astrojs/solid-js:build: �[0mcache miss, executing �[2mf86e15b543d47dc7�[0m �[33m@astrojs/prefetch:build: �[0mcache miss, executing �[2mb1239348a65f4bd2�[0m �[35m@astrojs/vue:build: �[0m �[35m@astrojs/vue:build: �[0m> @astrojs/vue@2.1.0 build /home/runner/work/astro/astro/packages/integrations/vue �[35m@astrojs/vue:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[35m@astrojs/vue:build: �[0m �[34m@astrojs/tailwind:build: �[0m �[34m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@3.1.1 build /home/runner/work/astro/astro/packages/integrations/tailwind �[34m@astrojs/tailwind:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/tailwind:build: �[0m �[33m@astrojs/prefetch:build: �[0m �[33m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.2.1 build /home/runner/work/astro/astro/packages/integrations/prefetch �[33m@astrojs/prefetch:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/prefetch:build: �[0m �[36m@astrojs/cloudflare:build: �[0m �[36m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@6.2.2 build /home/runner/work/astro/astro/packages/integrations/cloudflare �[36m@astrojs/cloudflare:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/cloudflare:build: �[0m �[33m@astrojs/solid-js:build: �[0m �[33m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@2.1.0 build /home/runner/work/astro/astro/packages/integrations/solid �[33m@astrojs/solid-js:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/solid-js:build: �[0m �[35m@astrojs/react:build: �[0m �[35m@astrojs/react:build: �[0m> @astrojs/react@0.0.0-schema-image-20230401013700 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/preact:build: �[0m �[32m@astrojs/preact:build: �[0m> @astrojs/preact@2.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 �[32m@astrojs/svelte:build: �[0m �[32m@astrojs/svelte:build: �[0m> @astrojs/svelte@2.1.0 build /home/runner/work/astro/astro/packages/integrations/svelte �[32m@astrojs/svelte:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[32m@astrojs/svelte:build: �[0m �[36m@astrojs/lit:build: �[0m �[36m@astrojs/lit:build: �[0m> @astrojs/lit@0.0.0-schema-image-20230401013700 build /home/runner/work/astro/astro/packages/integrations/lit �[36m@astrojs/lit:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/lit:build: �[0m �[34m@astrojs/markdoc:build: �[0m �[34m@astrojs/markdoc:build: �[0m> @astrojs/markdoc@0.1.0 build /home/runner/work/astro/astro/packages/integrations/markdoc �[34m@astrojs/markdoc:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/markdoc:build: �[0m �[33m@astrojs/deno:build: �[0mcache miss, executing �[2m39a7c4cb1db30655�[0m �[34m@astrojs/mdx:build: �[0mcache miss, executing �[2ma0688bc406d87ca7�[0m �[36m@astrojs/turbolinks:build: �[0mcache miss, executing �[2m61342877c7d79a9d�[0m �[35m@astrojs/sitemap:build: �[0mcache miss, executing �[2m3150ada99b08ccc1�[0m �[32m@astrojs/vercel:build: �[0mcache miss, executing �[2m6f9f937d0dd9df9a�[0m �[33m@astrojs/partytown:build: �[0mcache miss, executing �[2mebe598c0fc443e75�[0m �[34m@astrojs/netlify:build: �[0mcache miss, executing �[2mc40bba1529bfe0f6�[0m �[36m@astrojs/rss:build: �[0mcache miss, executing �[2m9e74c5d0a44efc10�[0m �[32m@astrojs/node:build: �[0mcache miss, executing �[2m05eed9493053d943�[0m �[33m@astrojs/image:build: �[0mcache miss, executing �[2m2a1fc271be2731c2�[0m �[33m@astrojs/deno:build: �[0m �[33m@astrojs/deno:build: �[0m> @astrojs/deno@4.1.0 build /home/runner/work/astro/astro/packages/integrations/deno �[33m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/deno:build: �[0m �[34m@astrojs/mdx:build: �[0m �[34m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.18.2 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/turbolinks:build: �[0m �[36m@astrojs/turbolinks:build: �[0m> @astrojs/turbolinks@0.2.1 build /home/runner/work/astro/astro/packages/integrations/turbolinks �[36m@astrojs/turbolinks:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/turbolinks:build: �[0m �[35m@astrojs/sitemap:build: �[0m �[35m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.2.1 build /home/runner/work/astro/astro/packages/integrations/sitemap �[35m@astrojs/sitemap:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/sitemap:build: �[0m �[32m@astrojs/vercel:build: �[0m �[32m@astrojs/vercel:build: �[0m> @astrojs/vercel@3.2.1 build /home/runner/work/astro/astro/packages/integrations/vercel �[32m@astrojs/vercel:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/vercel:build: �[0m �[33m@astrojs/partytown:build: �[0m �[33m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.2.0 build /home/runner/work/astro/astro/packages/integrations/partytown �[33m@astrojs/partytown:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/partytown:build: �[0m �[34m@astrojs/netlify:build: �[0m �[34m@astrojs/netlify:build: �[0m> @astrojs/netlify@2.2.0 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/rss:build: �[0m �[36m@astrojs/rss:build: �[0m> @astrojs/rss@2.3.1 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 �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.16.3 build /home/runner/work/astro/astro/packages/integrations/image �[33m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/image:build: �[0m �[32m@astrojs/node:build: �[0m �[32m@astrojs/node:build: �[0m> @astrojs/node@5.1.0 build /home/runner/work/astro/astro/packages/integrations/node �[32m@astrojs/node:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/node:build: �[0m �[34m@astrojs/alpinejs:build: �[0mcache miss, executing �[2ma1da82ed98730896�[0m �[36m@benchmark/timer:build: �[0mcache miss, executing �[2m79c1b9be6f043cc4�[0m �[34m@astrojs/alpinejs:build: �[0m �[34m@astrojs/alpinejs:build: �[0m> @astrojs/alpinejs@0.2.1 build /home/runner/work/astro/astro/packages/integrations/alpinejs �[34m@astrojs/alpinejs:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/alpinejs:build: �[0m �[36m@benchmark/timer:build: �[0m �[36m@benchmark/timer:build: �[0m> @benchmark/timer@0.0.0 build /home/runner/work/astro/astro/benchmark/packages/timer �[36m@benchmark/timer:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@benchmark/timer:build: �[0m Tasks: 28 successful, 28 total Cached: 5 cached, 28 total Time: 1m31.518s Package �[36m"@astrojs/markdown-remark"�[39m must depend on the current version of �[36m"astro"�[39m: �[32m"0.0.0-schema-image-20230401013700"�[39m vs �[31m"^2.1.5"�[39m 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--schema-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 🦋 �[36minfo�[39m astro is being published because our local version (0.0.0-schema-image-20230401013700) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 2.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 2.3.1 is already published on npm 🦋 �[33mwarn�[39m create-astro is not being published because version 3.1.2 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.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 4.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/image is not being published because version 0.16.3 is already published on npm 🦋 �[36minfo�[39m @astrojs/lit is being published because our local version (0.0.0-schema-image-20230401013700) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/markdoc is not being published because version 0.1.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/mdx is not being published because version 0.18.2 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.2.0 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 🦋 �[36minfo�[39m @astrojs/react is being published because our local version (0.0.0-schema-image-20230401013700) has not been 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.2 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"astro"�[39m at �[32m"0.0.0-schema-image-20230401013700"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/lit"�[39m at �[32m"0.0.0-schema-image-20230401013700"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/react"�[39m at �[32m"0.0.0-schema-image-20230401013700"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-schema-image-20230401013700 🦋 @astrojs/lit@0.0.0-schema-image-20230401013700 🦋 @astrojs/react@0.0.0-schema-image-20230401013700 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-schema-image-20230401013700 🦋 New tag: @astrojs/lit@0.0.0-schema-image-20230401013700 🦋 New tag: @astrojs/react@0.0.0-schema-image-20230401013700

@Princesseuh Princesseuh added the semver: minor Change triggers a `minor` release label Apr 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

This PR is blocked because it contains a minor changeset. A reviewer will merge this at the next release if approved.

Co-authored-by: Ben Holmes <hey@bholmes.dev>
@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

This PR is blocked because it contains a minor changeset. A reviewer will merge this at the next release if approved.

@Princesseuh Princesseuh merged commit a1108e0 into main Apr 5, 2023
@Princesseuh Princesseuh deleted the feat/function-schema branch April 5, 2023 13:40
@astrobot-houston astrobot-houston mentioned this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) semver: minor Change triggers a `minor` release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants