From a25cba5c8b70f4d30add5158bd7dc2b77eaa2edd Mon Sep 17 00:00:00 2001 From: delucis Date: Wed, 31 Aug 2022 21:31:27 +0200 Subject: [PATCH] Overhaul section titles and include missing integrations --- .changeset/nice-cups-mix.md | 2 +- packages/astro/src/core/add/index.ts | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.changeset/nice-cups-mix.md b/.changeset/nice-cups-mix.md index 2685b7a59d67..f29a5bb9f153 100644 --- a/.changeset/nice-cups-mix.md +++ b/.changeset/nice-cups-mix.md @@ -2,4 +2,4 @@ 'astro': patch --- -Remove duplicate hosting output in `astro add` +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 4fcb29e5b45d..fa56fa1d261f 100644 --- a/packages/astro/src/core/add/index.ts +++ b/packages/astro/src/core/add/index.ts @@ -66,24 +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: Integrations': [ - ['tailwind', 'astro add tailwind'], - ['partytown', 'astro add partytown'], - ['sitemap', 'astro add sitemap'], - ], - 'Example: Add an SSR Adapter': [ + 'SSR Adapters': [ ['netlify', 'astro add netlify'], ['vercel', 'astro add vercel'], ['deno', 'astro add deno'], ['cloudflare', 'astro add cloudflare'], + ['node', 'astro add node'], + ], + Others: [ + ['tailwind', 'astro add tailwind'], + ['image', 'astro add image'], + ['mdx', 'astro add mdx'], + ['partytown', 'astro add partytown'], + ['sitemap', 'astro add sitemap'], + ['prefetch', 'astro add prefetch'], ], }, description: `For more integrations, check out: ${cyan('https://astro.build/integrations')}`,