Skip to content

Commit

Permalink
move react up in project types order
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jun 23, 2023
1 parent e89a3ad commit c85081b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions code/lib/cli/src/initiate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,6 @@ async function doInitiate(options: CommandOptions, pkg: PackageJson): Promise<vo

const installResult = await installStorybook(projectType as ProjectType, packageManager, options);

console.log({ projectType, installResult });

if (!options.skipInstall) {
await packageManager.installDependencies();
}
Expand Down
2 changes: 1 addition & 1 deletion code/lib/cli/src/project_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export const SUPPORTED_RENDERERS: SupportedRenderers[] = [
export enum ProjectType {
UNDETECTED = 'UNDETECTED',
UNSUPPORTED = 'UNSUPPORTED',
REACT_SCRIPTS = 'REACT_SCRIPTS',
REACT = 'REACT',
REACT_SCRIPTS = 'REACT_SCRIPTS',
REACT_NATIVE = 'REACT_NATIVE',
REACT_PROJECT = 'REACT_PROJECT',
WEBPACK_REACT = 'WEBPACK_REACT',
Expand Down

0 comments on commit c85081b

Please sign in to comment.