Fixed solid project type position inside the project_types file.

This commit is contained in:
Mauricio Rivera 2023-02-07 09:34:07 -05:00
parent 8147f26f8a
commit b25a80d762

View File

@ -296,6 +296,13 @@ export const supportedTemplates: TemplateConfiguration[] = [
return dependencies.every(Boolean);
},
},
{
preset: ProjectType.SOLID,
dependencies: ['solid-js'],
matcherFunction: ({ dependencies }) => {
return dependencies.every(Boolean);
},
},
// DO NOT MOVE ANY TEMPLATES BELOW THIS LINE
// React is part of every Template, after Storybook is initialized once
{
@ -312,13 +319,6 @@ export const supportedTemplates: TemplateConfiguration[] = [
return dependencies.every(Boolean);
},
},
{
preset: ProjectType.SOLID,
dependencies: ['solid-js'],
matcherFunction: ({ dependencies }) => {
return dependencies.every(Boolean);
},
},
];
// A TemplateConfiguration that matches unsupported frameworks