Enable nextjs detection in CLI

This commit is contained in:
Kyle Gach 2022-10-13 11:33:11 -06:00
parent 68c763f6be
commit db3198301c

View File

@ -163,7 +163,7 @@ export const supportedTemplates: TemplateConfiguration[] = [
next: (versionRange) => eqMajor(versionRange, 9) || gtMajor(versionRange, 9),
},
matcherFunction: ({ dependencies }) => {
return process.env.STORYBOOK_REPRO_GENERATOR && dependencies.every(Boolean);
return dependencies.every(Boolean);
},
},
{