build: Added removing npm-local and coping node_modules
This commit is contained in:
parent
973ea1cee7
commit
f9fe9daa48
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user