Skip to content

Commit

Permalink
change @astrojs/solid to @astrojs/solid-js (#5971)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Jan 25, 2023
1 parent 9d4bfc7 commit 883e0cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-turtles-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

improve error message: change @astrojs/solid to @astrojs/solid-js
4 changes: 2 additions & 2 deletions packages/astro/src/runtime/server/render/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ function guessRenderers(componentUrl?: string): string[] {
return ['@astrojs/vue'];
case 'jsx':
case 'tsx':
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid', '@astrojs/vue (jsx)'];
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid-js', '@astrojs/vue (jsx)'];
default:
return [
'@astrojs/react',
'@astrojs/preact',
'@astrojs/solid',
'@astrojs/solid-js',
'@astrojs/vue',
'@astrojs/svelte',
];
Expand Down

0 comments on commit 883e0cc

Please sign in to comment.