feat(storybook): add one-click Windows launcher

This commit is contained in:
shkim4 committed 2026-10-08 19:57:26 +09:00
1 parent d537926417
commit c86d12bebc
3 files changed
+116

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
@echo off
setlocal EnableExtensions DisableDelayedExpansion
chcp 65001 >nul
title HMDesign - Storybook
pushd "%~dp0"
if errorlevel 1 goto root_error
node scripts\start-storybook.mjs
if errorlevel 1 goto fail
popd
endlocal
exit /b 0
:fail
echo.
echo ERROR: Storybook could not start. Review the error above.
echo Check Node.js/npm, dependency installation, and port availability.
popd
pause
endlocal
exit /b 1
:root_error
echo ERROR: Cannot access the launcher folder.
pause
endlocal
exit /b 1