Skip to content

Commit

Permalink
fix(storybook): handle @nrwl packages in storybook installed check
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 18, 2023
1 parent fda18e0 commit 657acac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,9 @@ export function checkStorybookInstalled(packageJson): boolean {
(packageJson.dependencies['@storybook/core-server'] ||
packageJson.devDependencies['@storybook/core-server']) &&
(packageJson.dependencies['@nx/storybook'] ||
packageJson.devDependencies['@nx/storybook'])
packageJson.devDependencies['@nx/storybook'] ||
packageJson.dependencies['@nrwl/storybook'] ||
packageJson.devDependencies['@nrwl/storybook'])
);
}

Expand Down

0 comments on commit 657acac

Please sign in to comment.