From b92c24f4097f264a458c6f5044528c33fc897f01 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 31 Aug 2022 23:49:08 +0200 Subject: [PATCH] Update `astro add` integrations list (#4574) --- .changeset/nice-cups-mix.md | 5 +++++ packages/astro/src/core/add/index.ts | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/nice-cups-mix.md diff --git a/.changeset/nice-cups-mix.md b/.changeset/nice-cups-mix.md new file mode 100644 index 000000000..f29a5bb9f --- /dev/null +++ b/.changeset/nice-cups-mix.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Update `astro add` to list official integrations & adapters with same organisation we use in docs diff --git a/packages/astro/src/core/add/index.ts b/packages/astro/src/core/add/index.ts index 83b52fa29..fa56fa1d2 100644 --- a/packages/astro/src/core/add/index.ts +++ b/packages/astro/src/core/add/index.ts @@ -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')}`,