From f9fe9daa4899245ad9e2c8331ce3e2157fb5130b Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Thu, 18 Jul 2019 12:17:28 +0300 Subject: [PATCH] build: Added removing npm-local and coping node_modules --- build/build.bat | 4 ++++ build/rebuild.bat | 1 + 2 files changed, 5 insertions(+) diff --git a/build/build.bat b/build/build.bat index 1144d59c3d..3633ae8cbf 100644 --- a/build/build.bat +++ b/build/build.bat @@ -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" diff --git a/build/rebuild.bat b/build/rebuild.bat index dcae96c36b..870ff7e26c 100644 --- a/build/rebuild.bat +++ b/build/rebuild.bat @@ -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"