build: Added removing npm-local and coping node_modules

This commit is contained in:
Alexey Safronov 2019-07-18 12:17:28 +03:00
parent 973ea1cee7
commit f9fe9daa48
2 changed files with 5 additions and 0 deletions

View File

@ -2,8 +2,12 @@ PUSHD %~dp0
call start\stop.bat
PUSHD %~dp0..
del /s /q web\npm-local
echo "ASC.Web.Components"
call yarn install --cwd web/ASC.Web.Components --frozen-lockfile > build\ASC.Web.Components.log
xcopy web\ASC.Web.Components\node_modules web\npm-local\asc-web-components\node_modules\ /E /R /Y >> build\ASC.Web.Components.log
call yarn link --cwd web/npm-local/asc-web-components
echo "ASC.Web.Storybook"

View File

@ -7,6 +7,7 @@ del /s /q web\npm-local
echo "ASC.Web.Components"
call yarn install --cwd web/ASC.Web.Components > build\ASC.Web.Components.log
xcopy web\ASC.Web.Components\node_modules web\npm-local\asc-web-components\node_modules\ /E /R /Y >> build\ASC.Web.Components.log
call yarn link --cwd web/npm-local/asc-web-components
echo "ASC.Web.Storybook"