Skip to content

Commit

Permalink
fix(cli): Install React typings when adding ui extensions
Browse files Browse the repository at this point in the history
Closes #2857
  • Loading branch information
michaelbromley committed Jun 3, 2024
1 parent 8a78a70 commit 94b6dcf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ async function addUiExtensions(options?: AddUiExtensionsOptions): Promise<CliCom
isDevDependency: true,
version,
},
{
pkg: '@types/react',
isDevDependency: true,
},
]);
} catch (e: any) {
log.error(`Failed to install dependencies: ${e.message as string}.`);
Expand Down

0 comments on commit 94b6dcf

Please sign in to comment.