mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 01:41:49 +08:00
Fixed solid project type position inside the project_types file.
This commit is contained in:
parent
8147f26f8a
commit
b25a80d762
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user