0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

change @astrojs/solid to @astrojs/solid-js (#5971)

* change @astrojs/solid to @astrojs/solid-js

@astrojs/solid package doesn't exist

* Create serious-turtles-explode.md

* Update .changeset/serious-turtles-explode.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
This commit is contained in:
Yaroslav Lapin 2023-01-25 15:21:03 -08:00 committed by GitHub
parent 9d4bfc76e8
commit 883e0cc299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
improve error message: change @astrojs/solid to @astrojs/solid-js

View file

@ -31,12 +31,12 @@ function guessRenderers(componentUrl?: string): string[] {
return ['@astrojs/vue']; return ['@astrojs/vue'];
case 'jsx': case 'jsx':
case 'tsx': case 'tsx':
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid', '@astrojs/vue (jsx)']; return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid-js', '@astrojs/vue (jsx)'];
default: default:
return [ return [
'@astrojs/react', '@astrojs/react',
'@astrojs/preact', '@astrojs/preact',
'@astrojs/solid', '@astrojs/solid-js',
'@astrojs/vue', '@astrojs/vue',
'@astrojs/svelte', '@astrojs/svelte',
]; ];