Update astro add integrations list (#4574)

This commit is contained in:
Chris Swithinbank 2022-08-31 23:49:08 +02:00 committed by GitHub
parent b5f3c0d735
commit b92c24f409
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 9 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Update `astro add` to list official integrations & adapters with same organisation we use in docs

View file

@ -66,29 +66,29 @@ export default async function add(names: string[], { cwd, flags, logging, teleme
['--yes', 'Accept all prompts.'],
['--help', 'Show this help message.'],
],
'Recommended: UI Frameworks': [
'UI Frameworks': [
['react', 'astro add react'],
['preact', 'astro add preact'],
['vue', 'astro add vue'],
['svelte', 'astro add svelte'],
['solid-js', 'astro add solid-js'],
['lit', 'astro add lit'],
['alpine', 'astro add alpine'],
],
'Recommended: Hosting': [
'SSR Adapters': [
['netlify', 'astro add netlify'],
['vercel', 'astro add vercel'],
['cloudflare', 'astro add cloudflare'],
['deno', 'astro add deno'],
['cloudflare', 'astro add cloudflare'],
['node', 'astro add node'],
],
'Recommended: Integrations': [
Others: [
['tailwind', 'astro add tailwind'],
['image', 'astro add image'],
['mdx', 'astro add mdx'],
['partytown', 'astro add partytown'],
['sitemap', 'astro add sitemap'],
],
'Example: Add an SSR Adapter': [
['netlify', 'astro add netlify'],
['vercel', 'astro add vercel'],
['deno', 'astro add deno'],
['prefetch', 'astro add prefetch'],
],
},
description: `For more integrations, check out: ${cyan('https://astro.build/integrations')}`,