diff --git a/install/storybook-install.sh b/install/storybook-install.sh index 83037a24..dab2ef86 100644 --- a/install/storybook-install.sh +++ b/install/storybook-install.sh @@ -20,7 +20,7 @@ mkdir -p /opt/storybook cd /opt/storybook msg_ok "Important: Interactive configuration will start now." -npx -y storybook@latest init --yes +npx -y storybook@latest init --yes --no-dev PROJECT_PATH=$(find /opt/storybook -maxdepth 2 -name ".storybook" -type d 2>/dev/null | head -n1 | xargs dirname) if [[ -z "$PROJECT_PATH" ]]; then