diff options
author | 2022-08-31 23:49:08 +0200 | |
---|---|---|
committer | 2022-08-31 23:49:08 +0200 | |
commit | b92c24f4097f264a458c6f5044528c33fc897f01 (patch) | |
tree | 26d3dd8787875fa3f490223e0f8963ca64341129 | |
parent | b5f3c0d735618ca5892b9a274d192103f51d3ba6 (diff) | |
download | astro-b92c24f4097f264a458c6f5044528c33fc897f01.tar.gz astro-b92c24f4097f264a458c6f5044528c33fc897f01.tar.zst astro-b92c24f4097f264a458c6f5044528c33fc897f01.zip |
Update `astro add` integrations list (#4574)
-rw-r--r-- | .changeset/nice-cups-mix.md | 5 | ||||
-rw-r--r-- | packages/astro/src/core/add/index.ts | 18 |
2 files changed, 14 insertions, 9 deletions
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')}`, |