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

Allow Code component to run in Vercel #5409

Merged
merged 6 commits into from
Nov 16, 2022
Merged

Allow Code component to run in Vercel #5409

merged 6 commits into from
Nov 16, 2022

Conversation

matthewp
Copy link
Contributor

@matthewp matthewp commented Nov 15, 2022

Changes

  • The Code component now includes the default languages and themes as part of the bundle.
  • This makes it possible to use the Code component in SSR environments that do not support dynamic loading, such as Vercel, Cloudflare, and Deno Deploy.
  • Closes 🐛 BUG: Code Component breaks on Vercel SSR #5357
  • This adds a couple of scripts to generate the files that import the themes and languages. This is because (1) there are a lot of languages and (2) so we can update without having to do a lot of manual checking.

Testing

Docs

N/A, bug fix

@changeset-bot
Copy link

changeset-bot bot commented Nov 15, 2022

🦋 Changeset detected

Latest commit: ed4bcf2

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 Nov 15, 2022
@matthewp
Copy link
Contributor Author

!preview vercel-code

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--vercel-code" > 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 �[2m236d5752388d8d49�[0m �[33m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m0510006871c9ab9f�[0m �[34m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf55ed20124926c1c�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m61d416e8918f3377�[0m �[32mastro:build: �[0mcache hit, suppressing output �[2md3ad245168024620�[0m �[34m@astrojs/netlify:build: �[0mcache hit, suppressing output �[2m7cbadc72f9dede2b�[0m �[36m@astrojs/node:build: �[0mcache hit, suppressing output �[2mccbc57ce34967a1e�[0m �[35m@astrojs/preact:build: �[0mcache hit, suppressing output �[2m3d90ccdf38bbcb3d�[0m �[33m@astrojs/prefetch:build: �[0mcache hit, suppressing output �[2m3b0625a91e28dbf9�[0m �[32m@astrojs/sitemap:build: �[0mcache hit, suppressing output �[2m426ae25e4da31595�[0m �[34m@astrojs/react:build: �[0mcache hit, suppressing output �[2mf3594e2cbf21e233�[0m �[35m@astrojs/deno:build: �[0mcache hit, suppressing output �[2maf79712cc2113da7�[0m �[36m@astrojs/cloudflare:build: �[0mcache hit, suppressing output �[2ma482652d83cda7a1�[0m �[32m@astrojs/lit:build: �[0mcache hit, suppressing output �[2m21380c4f2ac071c8�[0m �[33m@astrojs/svelte:build: �[0mcache hit, suppressing output �[2m7388446354f147cc�[0m �[35m@astrojs/partytown:build: �[0mcache hit, suppressing output �[2m443241860383a1d1�[0m �[34m@astrojs/solid-js:build: �[0mcache hit, suppressing output �[2m86ab5f4f72382dbe�[0m �[32m@astrojs/turbolinks:build: �[0mcache hit, suppressing output �[2maa9c12225ab49e75�[0m �[33m@astrojs/tailwind:build: �[0mcache hit, suppressing output �[2mc1445cb43838450a�[0m �[33m@astrojs/rss:build: �[0mcache hit, suppressing output �[2m5e63fc06a3b01c24�[0m �[36m@astrojs/vue:build: �[0mcache hit, suppressing output �[2md18ea2f32a71bfcf�[0m �[33m@astrojs/alpinejs:build: �[0mcache hit, suppressing output �[2m4c62414480e7a379�[0m �[32m@astrojs/mdx:build: �[0mcache hit, suppressing output �[2m077e99c99bd4e03d�[0m �[35m@astrojs/image:build: �[0mcache miss, executing �[2m69e7b8595d8b6e1d�[0m �[36mcreate-astro:build: �[0mcache miss, executing �[2maee57a425475aa9e�[0m �[34m@astrojs/vercel:build: �[0mcache miss, executing �[2mb8c09afcbe459aa1�[0m �[36mcreate-astro:build: �[0m �[36mcreate-astro:build: �[0m> create-astro@0.0.0-vercel-code-20221115152330 build /home/runner/work/astro/astro/packages/create-astro �[36mcreate-astro:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36mcreate-astro:build: �[0m �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115152330 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 �[34m@astrojs/vercel:build: �[0m �[34m@astrojs/vercel:build: �[0m> @astrojs/vercel@0.0.0-vercel-code-20221115152330 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 �[35m@astrojs/image:build: �[0m �[35m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115152330 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: 26 successful, 26 total Cached: 23 cached, 26 total Time: 13.665s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--vercel-code 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.6.8 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.3 is already published on npm 🦋 �[36minfo�[39m create-astro is being published because our local version (0.0.0-vercel-code-20221115152330) has not been 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 4.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 2.0.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-vercel-code-20221115152330) 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.6 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 3.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.2.2 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.2.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[36minfo�[39m @astrojs/vercel is being published because our local version (0.0.0-vercel-code-20221115152330) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.1.1 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"create-astro"�[39m at �[32m"0.0.0-vercel-code-20221115152330"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-vercel-code-20221115152330"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/vercel"�[39m at �[32m"0.0.0-vercel-code-20221115152330"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 create-astro@0.0.0-vercel-code-20221115152330 🦋 @astrojs/image@0.0.0-vercel-code-20221115152330 🦋 @astrojs/vercel@0.0.0-vercel-code-20221115152330 🦋 Creating git tags... 🦋 New tag: create-astro@0.0.0-vercel-code-20221115152330 🦋 New tag: @astrojs/image@0.0.0-vercel-code-20221115152330 🦋 New tag: @astrojs/vercel@0.0.0-vercel-code-20221115152330

@matthewp
Copy link
Contributor Author

!preview vercel-code

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--vercel-code" > 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 �[2m236d5752388d8d49�[0m �[34m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf55ed20124926c1c�[0m �[36m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m0510006871c9ab9f�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m61d416e8918f3377�[0m �[33mcreate-astro:build: �[0mcache miss, executing �[2m2fec108a715ddf73�[0m �[32mastro:build: �[0mcache miss, executing �[2md7249495d51c27a3�[0m �[33mcreate-astro:build: �[0m �[33mcreate-astro:build: �[0m> create-astro@0.0.0-vercel-code-20221115163845 build /home/runner/work/astro/astro/packages/create-astro �[33mcreate-astro:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33mcreate-astro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-vercel-code-20221115163845 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-vercel-code-20221115163845 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 �[2ma5be35d3d37a740b�[0m �[32m@astrojs/vercel:build: �[0mcache miss, executing �[2mae795c8a4574f122�[0m �[33m@astrojs/netlify:build: �[0mcache miss, executing �[2m72b54faf3b8e9ac5�[0m �[32m@astrojs/sitemap:build: �[0mcache miss, executing �[2mfb7fa6e39b0d60c0�[0m �[34m@astrojs/prefetch:build: �[0mcache miss, executing �[2mb7ebf3aa7335ef2f�[0m �[33m@astrojs/preact:build: �[0mcache miss, executing �[2m5c02336ea2b39f19�[0m �[34m@astrojs/mdx:build: �[0mcache miss, executing �[2m0d75f02437ca2af8�[0m �[36m@astrojs/lit:build: �[0mcache miss, executing �[2m813071fa9a2c537d�[0m �[35m@astrojs/react:build: �[0mcache miss, executing �[2m169d34395a8a0a2c�[0m �[35m@astrojs/cloudflare:build: �[0mcache miss, executing �[2m09815249c9e38c19�[0m �[32m@astrojs/vercel:build: �[0m �[32m@astrojs/vercel:build: �[0m> @astrojs/vercel@0.0.0-vercel-code-20221115163845 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 �[36m@astrojs/lit:build: �[0m �[36m@astrojs/lit:build: �[0m> @astrojs/lit@1.0.1 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 �[33m@astrojs/preact:build: �[0m �[33m@astrojs/preact:build: �[0m> @astrojs/preact@1.2.0 build /home/runner/work/astro/astro/packages/integrations/preact �[33m@astrojs/preact:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/preact:build: �[0m �[32m@astrojs/sitemap:build: �[0m �[32m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.0.0 build /home/runner/work/astro/astro/packages/integrations/sitemap �[32m@astrojs/sitemap:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/sitemap:build: �[0m �[35m@astrojs/cloudflare:build: �[0m �[35m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@4.0.1 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 �[33m@astrojs/netlify:build: �[0m �[33m@astrojs/netlify:build: �[0m> @astrojs/netlify@1.2.1 build /home/runner/work/astro/astro/packages/integrations/netlify �[33m@astrojs/netlify:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/netlify:build: �[0m �[34m@astrojs/mdx:build: �[0m �[34m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.11.6 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/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115163845 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/prefetch:build: �[0m �[34m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.1.1 build /home/runner/work/astro/astro/packages/integrations/prefetch �[34m@astrojs/prefetch:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/prefetch:build: �[0m �[35m@astrojs/react:build: �[0m �[35m@astrojs/react:build: �[0m> @astrojs/react@1.2.2 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 �[34m@astrojs/partytown:build: �[0mcache miss, executing �[2mb8a1800c7e5f8a4a�[0m �[36m@astrojs/tailwind:build: �[0mcache miss, executing �[2m6eeeec7426c936f7�[0m �[35m@astrojs/alpinejs:build: �[0mcache miss, executing �[2mfa9ae6f89e50870f�[0m �[32m@astrojs/turbolinks:build: �[0mcache miss, executing �[2m737cde5f04db3e55�[0m �[33m@astrojs/rss:build: �[0mcache miss, executing �[2ma929d9fb6a50b4d4�[0m �[34m@astrojs/deno:build: �[0mcache miss, executing �[2m1ff144272b35e7b9�[0m �[36m@astrojs/svelte:build: �[0mcache miss, executing �[2m7f9a93f0cd9f4e6b�[0m �[34m@astrojs/partytown:build: �[0m �[34m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.0.1 build /home/runner/work/astro/astro/packages/integrations/partytown �[34m@astrojs/partytown:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/partytown:build: �[0m �[35m@astrojs/node:build: �[0mcache miss, executing �[2m28bd146abcd5a9c1�[0m �[36m@astrojs/tailwind:build: �[0m �[36m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@2.1.2 build /home/runner/work/astro/astro/packages/integrations/tailwind �[36m@astrojs/tailwind:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/tailwind:build: �[0m �[35m@astrojs/alpinejs:build: �[0m �[35m@astrojs/alpinejs:build: �[0m> @astrojs/alpinejs@0.1.2 build /home/runner/work/astro/astro/packages/integrations/alpinejs �[35m@astrojs/alpinejs:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/alpinejs:build: �[0m �[33m@astrojs/rss:build: �[0m �[33m@astrojs/rss:build: �[0m> @astrojs/rss@1.0.3 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 �[32m@astrojs/turbolinks:build: �[0m �[32m@astrojs/turbolinks:build: �[0m> @astrojs/turbolinks@0.1.4 build /home/runner/work/astro/astro/packages/integrations/turbolinks �[32m@astrojs/turbolinks:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/turbolinks:build: �[0m �[34m@astrojs/deno:build: �[0m �[34m@astrojs/deno:build: �[0m> @astrojs/deno@2.0.0 build /home/runner/work/astro/astro/packages/integrations/deno �[34m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/deno:build: �[0m �[36m@astrojs/svelte:build: �[0m �[36m@astrojs/svelte:build: �[0m> @astrojs/svelte@1.0.2 build /home/runner/work/astro/astro/packages/integrations/svelte �[36m@astrojs/svelte:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[36m@astrojs/svelte:build: �[0m �[35m@astrojs/node:build: �[0m �[35m@astrojs/node:build: �[0m> @astrojs/node@3.0.0 build /home/runner/work/astro/astro/packages/integrations/node �[35m@astrojs/node:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/node:build: �[0m �[32m@astrojs/solid-js:build: �[0mcache miss, executing �[2mdbe16991c58a7279�[0m �[32m@astrojs/solid-js:build: �[0m �[32m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@1.2.3 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/vue:build: �[0mcache miss, executing �[2m34ce7b187af45bd5�[0m �[36m@astrojs/image:build: �[0m �[36m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115163845 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/vue:build: �[0m �[33m@astrojs/vue:build: �[0m> @astrojs/vue@1.2.1 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 Tasks: 26 successful, 26 total Cached: 4 cached, 26 total Time: 1m3.198s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--vercel-code 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-vercel-code-20221115163845) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.3 is already published on npm 🦋 �[36minfo�[39m create-astro is being published because our local version (0.0.0-vercel-code-20221115163845) has not been 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 4.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 2.0.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-vercel-code-20221115163845) 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.6 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 3.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.2.2 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.2.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[36minfo�[39m @astrojs/vercel is being published because our local version (0.0.0-vercel-code-20221115163845) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.1.1 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"astro"�[39m at �[32m"0.0.0-vercel-code-20221115163845"�[39m 🦋 �[36minfo�[39m Publishing �[36m"create-astro"�[39m at �[32m"0.0.0-vercel-code-20221115163845"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-vercel-code-20221115163845"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/vercel"�[39m at �[32m"0.0.0-vercel-code-20221115163845"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-vercel-code-20221115163845 🦋 create-astro@0.0.0-vercel-code-20221115163845 🦋 @astrojs/image@0.0.0-vercel-code-20221115163845 🦋 @astrojs/vercel@0.0.0-vercel-code-20221115163845 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-vercel-code-20221115163845 🦋 New tag: create-astro@0.0.0-vercel-code-20221115163845 🦋 New tag: @astrojs/image@0.0.0-vercel-code-20221115163845 🦋 New tag: @astrojs/vercel@0.0.0-vercel-code-20221115163845

@matthewp
Copy link
Contributor Author

!preview vercel-code

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--vercel-code" > 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 �[2m236d5752388d8d49�[0m �[36m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf55ed20124926c1c�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m0510006871c9ab9f�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m61d416e8918f3377�[0m �[33mcreate-astro:build: �[0mcache miss, executing �[2m88ac9ffacb3026e2�[0m �[32mastro:build: �[0mcache miss, executing �[2mf263fda4f4fd4832�[0m �[33mcreate-astro:build: �[0m �[33mcreate-astro:build: �[0m> create-astro@0.0.0-vercel-code-20221115172023 build /home/runner/work/astro/astro/packages/create-astro �[33mcreate-astro:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33mcreate-astro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-vercel-code-20221115172023 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-vercel-code-20221115172023 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 �[34m@astrojs/node:build: �[0mcache miss, executing �[2m93bb80954c8f7652�[0m �[34m@astrojs/lit:build: �[0mcache miss, executing �[2m0b948fc5066d873d�[0m �[32m@astrojs/vue:build: �[0mcache miss, executing �[2mde73a11bb3d5a6c2�[0m �[33m@astrojs/turbolinks:build: �[0mcache miss, executing �[2m06546cabc7823016�[0m �[33m@astrojs/image:build: �[0mcache miss, executing �[2mfcc3ef05026084a9�[0m �[33m@astrojs/svelte:build: �[0mcache miss, executing �[2m256fd3b526efad06�[0m �[36m@astrojs/cloudflare:build: �[0mcache miss, executing �[2mb66b6b94b182c256�[0m �[36m@astrojs/preact:build: �[0mcache miss, executing �[2m4065ce6cefaef352�[0m �[35m@astrojs/deno:build: �[0mcache miss, executing �[2m4ad6b4b24f962de4�[0m �[32m@astrojs/vercel:build: �[0mcache miss, executing �[2me17d700d12d75711�[0m �[34m@astrojs/node:build: �[0m �[34m@astrojs/node:build: �[0m> @astrojs/node@3.0.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/lit:build: �[0m �[34m@astrojs/lit:build: �[0m> @astrojs/lit@1.0.1 build /home/runner/work/astro/astro/packages/integrations/lit �[34m@astrojs/lit:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/lit:build: �[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 �[32m@astrojs/vue:build: �[0m �[32m@astrojs/vue:build: �[0m> @astrojs/vue@1.2.1 build /home/runner/work/astro/astro/packages/integrations/vue �[32m@astrojs/vue:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[32m@astrojs/vue:build: �[0m �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115172023 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 �[36m@astrojs/preact:build: �[0m �[36m@astrojs/preact:build: �[0m> @astrojs/preact@1.2.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 �[33m@astrojs/svelte:build: �[0m �[33m@astrojs/svelte:build: �[0m> @astrojs/svelte@1.0.2 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 �[36m@astrojs/cloudflare:build: �[0m �[36m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@4.0.1 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 �[32m@astrojs/vercel:build: �[0m �[32m@astrojs/vercel:build: �[0m> @astrojs/vercel@0.0.0-vercel-code-20221115172023 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 �[35m@astrojs/deno:build: �[0m �[35m@astrojs/deno:build: �[0m> @astrojs/deno@2.0.0 build /home/runner/work/astro/astro/packages/integrations/deno �[35m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/deno:build: �[0m �[34m@astrojs/prefetch:build: �[0mcache miss, executing �[2m42b2e493f233f4ed�[0m �[36m@astrojs/partytown:build: �[0mcache miss, executing �[2m33972bac9a63d8f8�[0m �[35m@astrojs/tailwind:build: �[0mcache miss, executing �[2m699987c6afd24085�[0m �[32m@astrojs/alpinejs:build: �[0mcache miss, executing �[2m874b2e03a0156f47�[0m �[33m@astrojs/sitemap:build: �[0mcache miss, executing �[2mde0c0739ba3eb287�[0m �[34m@astrojs/prefetch:build: �[0m �[34m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.1.1 build /home/runner/work/astro/astro/packages/integrations/prefetch �[34m@astrojs/prefetch:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/prefetch:build: �[0m �[36m@astrojs/partytown:build: �[0m �[36m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.0.1 build /home/runner/work/astro/astro/packages/integrations/partytown �[36m@astrojs/partytown:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@astrojs/partytown:build: �[0m �[36m@astrojs/rss:build: �[0mcache miss, executing �[2m8144f404674d8bb2�[0m �[35m@astrojs/netlify:build: �[0mcache miss, executing �[2m3b0971560b4da71f�[0m �[32m@astrojs/solid-js:build: �[0mcache miss, executing �[2m99e4ccd3ad72965c�[0m �[35m@astrojs/tailwind:build: �[0m �[35m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@2.1.2 build /home/runner/work/astro/astro/packages/integrations/tailwind �[35m@astrojs/tailwind:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/tailwind:build: �[0m �[32m@astrojs/alpinejs:build: �[0m �[32m@astrojs/alpinejs:build: �[0m> @astrojs/alpinejs@0.1.2 build /home/runner/work/astro/astro/packages/integrations/alpinejs �[32m@astrojs/alpinejs:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/alpinejs:build: �[0m �[34m@astrojs/react:build: �[0mcache miss, executing �[2mf0f11e7fe1c5055f�[0m �[33m@astrojs/sitemap:build: �[0m �[33m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.0.0 build /home/runner/work/astro/astro/packages/integrations/sitemap �[33m@astrojs/sitemap:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/sitemap:build: �[0m �[36m@astrojs/rss:build: �[0m �[36m@astrojs/rss:build: �[0m> @astrojs/rss@1.0.3 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/netlify:build: �[0m �[35m@astrojs/netlify:build: �[0m> @astrojs/netlify@1.2.1 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/solid-js:build: �[0m �[32m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@1.2.3 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 �[34m@astrojs/react:build: �[0m �[34m@astrojs/react:build: �[0m> @astrojs/react@1.2.2 build /home/runner/work/astro/astro/packages/integrations/react �[34m@astrojs/react:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/react:build: �[0m �[33m@astrojs/mdx:build: �[0mcache miss, executing �[2m573d4e22adb981c0�[0m �[33m@astrojs/image:build: �[0m �[33m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115172023 postbuild /home/runner/work/astro/astro/packages/integrations/image �[33m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[33m@astrojs/image:build: �[0m �[33m@astrojs/mdx:build: �[0m �[33m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.11.6 build /home/runner/work/astro/astro/packages/integrations/mdx �[33m@astrojs/mdx:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/mdx:build: �[0m Tasks: 26 successful, 26 total Cached: 4 cached, 26 total Time: 1m4.174s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--vercel-code 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-vercel-code-20221115172023) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.3 is already published on npm 🦋 �[36minfo�[39m create-astro is being published because our local version (0.0.0-vercel-code-20221115172023) has not been 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 4.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 2.0.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-vercel-code-20221115172023) 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.6 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 3.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.2.2 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.2.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[36minfo�[39m @astrojs/vercel is being published because our local version (0.0.0-vercel-code-20221115172023) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.1.1 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"astro"�[39m at �[32m"0.0.0-vercel-code-20221115172023"�[39m 🦋 �[36minfo�[39m Publishing �[36m"create-astro"�[39m at �[32m"0.0.0-vercel-code-20221115172023"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-vercel-code-20221115172023"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/vercel"�[39m at �[32m"0.0.0-vercel-code-20221115172023"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-vercel-code-20221115172023 🦋 create-astro@0.0.0-vercel-code-20221115172023 🦋 @astrojs/image@0.0.0-vercel-code-20221115172023 🦋 @astrojs/vercel@0.0.0-vercel-code-20221115172023 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-vercel-code-20221115172023 🦋 New tag: create-astro@0.0.0-vercel-code-20221115172023 🦋 New tag: @astrojs/image@0.0.0-vercel-code-20221115172023 🦋 New tag: @astrojs/vercel@0.0.0-vercel-code-20221115172023

@matthewp
Copy link
Contributor Author

!preview vercel-code

@github-actions
Copy link
Contributor

 > root@0.0.0 release /home/runner/work/astro/astro > pnpm run build && changeset publish "--tag" "next--vercel-code" > 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 �[2m236d5752388d8d49�[0m �[34m@astrojs/prism:build: �[0mcache hit, suppressing output �[2m0510006871c9ab9f�[0m �[36m@astrojs/telemetry:build: �[0mcache hit, suppressing output �[2mf55ed20124926c1c�[0m �[35m@astrojs/markdown-remark:build: �[0mcache hit, suppressing output �[2m61d416e8918f3377�[0m �[33mcreate-astro:build: �[0mcache miss, executing �[2mfcfee93c628cff72�[0m �[32mastro:build: �[0mcache miss, executing �[2mbed9b2efa43a3fa0�[0m �[33mcreate-astro:build: �[0m �[33mcreate-astro:build: �[0m> create-astro@0.0.0-vercel-code-20221115191719 build /home/runner/work/astro/astro/packages/create-astro �[33mcreate-astro:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33mcreate-astro:build: �[0m �[32mastro:build: �[0m �[32mastro:build: �[0m> astro@0.0.0-vercel-code-20221115191719 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-vercel-code-20221115191719 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 �[35m@astrojs/rss:build: �[0mcache miss, executing �[2m24d39588afa6091c�[0m �[33m@astrojs/preact:build: �[0mcache miss, executing �[2m2ec39b7a4cf8c07b�[0m �[36m@astrojs/vercel:build: �[0mcache miss, executing �[2ma0bd9b528ce5347f�[0m �[35m@astrojs/sitemap:build: �[0mcache miss, executing �[2mf8cea79df061f5d7�[0m �[34m@astrojs/node:build: �[0mcache miss, executing �[2mb8f40d25a498a56e�[0m �[33m@astrojs/partytown:build: �[0mcache miss, executing �[2m4d83e279b683ab1d�[0m �[36m@astrojs/alpinejs:build: �[0mcache miss, executing �[2m69a8ba0a0e9cb34f�[0m �[32m@astrojs/solid-js:build: �[0mcache miss, executing �[2m7bf9d19236bd1828�[0m �[34m@astrojs/mdx:build: �[0mcache miss, executing �[2m596e1745818e380c�[0m �[32m@astrojs/react:build: �[0mcache miss, executing �[2m9b990cc106e08645�[0m �[35m@astrojs/rss:build: �[0m �[35m@astrojs/rss:build: �[0m> @astrojs/rss@1.0.3 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/sitemap:build: �[0m �[35m@astrojs/sitemap:build: �[0m> @astrojs/sitemap@1.0.0 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 �[36m@astrojs/vercel:build: �[0m �[36m@astrojs/vercel:build: �[0m> @astrojs/vercel@0.0.0-vercel-code-20221115191719 build /home/runner/work/astro/astro/packages/integrations/vercel �[36m@astrojs/vercel:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[36m@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 �[32m@astrojs/react:build: �[0m �[32m@astrojs/react:build: �[0m> @astrojs/react@1.2.2 build /home/runner/work/astro/astro/packages/integrations/react �[32m@astrojs/react:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/react:build: �[0m �[34m@astrojs/node:build: �[0m �[34m@astrojs/node:build: �[0m> @astrojs/node@3.0.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 �[33m@astrojs/partytown:build: �[0m �[33m@astrojs/partytown:build: �[0m> @astrojs/partytown@1.0.1 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 �[33m@astrojs/preact:build: �[0m �[33m@astrojs/preact:build: �[0m> @astrojs/preact@1.2.0 build /home/runner/work/astro/astro/packages/integrations/preact �[33m@astrojs/preact:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[33m@astrojs/preact:build: �[0m �[34m@astrojs/mdx:build: �[0m �[34m@astrojs/mdx:build: �[0m> @astrojs/mdx@0.11.6 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 �[32m@astrojs/solid-js:build: �[0m �[32m@astrojs/solid-js:build: �[0m> @astrojs/solid-js@1.2.3 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/prefetch:build: �[0mcache miss, executing �[2m83c9af2a89bfc3de�[0m �[34m@astrojs/deno:build: �[0mcache miss, executing �[2md831e251d48a4699�[0m �[33m@astrojs/prefetch:build: �[0m �[33m@astrojs/prefetch:build: �[0m> @astrojs/prefetch@0.1.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/vue:build: �[0mcache miss, executing �[2m06c97f8f47ce9c56�[0m �[35m@astrojs/netlify:build: �[0mcache miss, executing �[2m437b2f3d33c5dab1�[0m �[32m@astrojs/tailwind:build: �[0mcache miss, executing �[2m26a7b6dc8482a512�[0m �[33m@astrojs/turbolinks:build: �[0mcache miss, executing �[2mfef0250df12a1b95�[0m �[34m@astrojs/image:build: �[0mcache miss, executing �[2mdf6fdda20de6e5ce�[0m �[34m@astrojs/deno:build: �[0m �[34m@astrojs/deno:build: �[0m> @astrojs/deno@2.0.0 build /home/runner/work/astro/astro/packages/integrations/deno �[34m@astrojs/deno:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[34m@astrojs/deno:build: �[0m �[36m@astrojs/svelte:build: �[0mcache miss, executing �[2m38eba9af51d5c9c3�[0m �[35m@astrojs/lit:build: �[0mcache miss, executing �[2m50ab3cf151ee2230�[0m �[35m@astrojs/netlify:build: �[0m �[35m@astrojs/netlify:build: �[0m> @astrojs/netlify@1.2.1 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 �[36m@astrojs/vue:build: �[0m �[36m@astrojs/vue:build: �[0m> @astrojs/vue@1.2.1 build /home/runner/work/astro/astro/packages/integrations/vue �[36m@astrojs/vue:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[36m@astrojs/vue:build: �[0m �[32m@astrojs/tailwind:build: �[0m �[32m@astrojs/tailwind:build: �[0m> @astrojs/tailwind@2.1.2 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/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 �[34m@astrojs/image:build: �[0m �[34m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115191719 build /home/runner/work/astro/astro/packages/integrations/image �[34m@astrojs/image:build: �[0m> astro-scripts build "src/**/*.ts" && tsc && pnpm run postbuild �[34m@astrojs/image:build: �[0m �[36m@astrojs/svelte:build: �[0m �[36m@astrojs/svelte:build: �[0m> @astrojs/svelte@1.0.2 build /home/runner/work/astro/astro/packages/integrations/svelte �[36m@astrojs/svelte:build: �[0m> astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc �[36m@astrojs/svelte:build: �[0m �[35m@astrojs/lit:build: �[0m �[35m@astrojs/lit:build: �[0m> @astrojs/lit@1.0.1 build /home/runner/work/astro/astro/packages/integrations/lit �[35m@astrojs/lit:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[35m@astrojs/lit:build: �[0m �[32m@astrojs/cloudflare:build: �[0mcache miss, executing �[2m60ce24c68e3aaacd�[0m �[32m@astrojs/cloudflare:build: �[0m �[32m@astrojs/cloudflare:build: �[0m> @astrojs/cloudflare@4.0.1 build /home/runner/work/astro/astro/packages/integrations/cloudflare �[32m@astrojs/cloudflare:build: �[0m> astro-scripts build "src/**/*.ts" && tsc �[32m@astrojs/cloudflare:build: �[0m �[34m@astrojs/image:build: �[0m �[34m@astrojs/image:build: �[0m> @astrojs/image@0.0.0-vercel-code-20221115191719 postbuild /home/runner/work/astro/astro/packages/integrations/image �[34m@astrojs/image:build: �[0m> astro-scripts copy "src/**/*.wasm" �[34m@astrojs/image:build: �[0m Tasks: 26 successful, 26 total Cached: 4 cached, 26 total Time: 1m15.594s 🦋 �[33mwarn�[39m �[31m===============================IMPORTANT!===============================�[39m 🦋 �[33mwarn�[39m Packages will be released under the next--vercel-code 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-vercel-code-20221115191719) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/prism is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/rss is not being published because version 1.0.3 is already published on npm 🦋 �[36minfo�[39m create-astro is being published because our local version (0.0.0-vercel-code-20221115191719) has not been 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 4.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/deno is not being published because version 2.0.0 is already published on npm 🦋 �[36minfo�[39m @astrojs/image is being published because our local version (0.0.0-vercel-code-20221115191719) 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.6 is already published on npm 🦋 �[33mwarn�[39m @astrojs/netlify is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/node is not being published because version 3.0.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/partytown is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/preact is not being published because version 1.2.0 is already published on npm 🦋 �[33mwarn�[39m @astrojs/prefetch is not being published because version 0.1.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/react is not being published because version 1.2.2 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.2.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/svelte is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/tailwind is not being published because version 2.1.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/turbolinks is not being published because version 0.1.4 is already published on npm 🦋 �[36minfo�[39m @astrojs/vercel is being published because our local version (0.0.0-vercel-code-20221115191719) has not been published on npm 🦋 �[33mwarn�[39m @astrojs/vue is not being published because version 1.2.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-component is not being published because version 1.0.2 is already published on npm 🦋 �[33mwarn�[39m @astrojs/markdown-remark is not being published because version 1.1.3 is already published on npm 🦋 �[33mwarn�[39m @astrojs/telemetry is not being published because version 1.0.1 is already published on npm 🦋 �[33mwarn�[39m @astrojs/webapi is not being published because version 1.1.1 is already published on npm 🦋 �[36minfo�[39m Publishing �[36m"astro"�[39m at �[32m"0.0.0-vercel-code-20221115191719"�[39m 🦋 �[36minfo�[39m Publishing �[36m"create-astro"�[39m at �[32m"0.0.0-vercel-code-20221115191719"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/image"�[39m at �[32m"0.0.0-vercel-code-20221115191719"�[39m 🦋 �[36minfo�[39m Publishing �[36m"@astrojs/vercel"�[39m at �[32m"0.0.0-vercel-code-20221115191719"�[39m 🦋 �[32msuccess�[39m packages published successfully: 🦋 astro@0.0.0-vercel-code-20221115191719 🦋 create-astro@0.0.0-vercel-code-20221115191719 🦋 @astrojs/image@0.0.0-vercel-code-20221115191719 🦋 @astrojs/vercel@0.0.0-vercel-code-20221115191719 🦋 Creating git tags... 🦋 New tag: astro@0.0.0-vercel-code-20221115191719 🦋 New tag: create-astro@0.0.0-vercel-code-20221115191719 🦋 New tag: @astrojs/image@0.0.0-vercel-code-20221115191719 🦋 New tag: @astrojs/vercel@0.0.0-vercel-code-20221115191719

@matthewp matthewp marked this pull request as ready for review November 15, 2022 20:11
Copy link
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

This seems reasonable, but it is pretty unfortunate that this has the potential to blow up our bundle. Can't really think of a better option, though.

}
code += '\n};';

console.log(code);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: fix lint warning

}
code += '\n};';

console.log(code);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: fix lint warning

@matthewp
Copy link
Contributor Author

@natemoo-re I don't love it either. If it makes you feel better, these files were all being loaded anyways, they were just being loaded dynamically with fs and not through imports.

Also this only affects sites that use Code, it's not pulled in with all Astro usage.

@natemoo-re
Copy link
Member

That does make me feel better! Seems like the least bad option.

LGTM!

@matthewp matthewp merged commit 9f80a40 into main Nov 16, 2022
@matthewp matthewp deleted the fix-code branch November 16, 2022 13:57
@astrobot-houston astrobot-houston mentioned this pull request Nov 16, 2022
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 BUG: Code Component breaks on Vercel SSR
2 participants