Trying to fix npm run build on default.gbui.
This commit is contained in:
parent
6b12bdca27
commit
34b7bb4572
1 changed files with 4 additions and 4 deletions
|
@ -96,7 +96,7 @@ call :SelectNodeVersion
|
||||||
:: 3. Install npm packages
|
:: 3. Install npm packages
|
||||||
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
|
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
|
||||||
pushd "%DEPLOYMENT_TARGET%"
|
pushd "%DEPLOYMENT_TARGET%"
|
||||||
echo GUARIBASDEPLOYER ------------------ Installing packages for server.
|
echo [GUARIBASDEPLOYER] Installing packages for server.
|
||||||
call :ExecuteCmd !NPM_CMD! install --production
|
call :ExecuteCmd !NPM_CMD! install --production
|
||||||
IF !ERRORLEVEL! NEQ 0 goto error
|
IF !ERRORLEVEL! NEQ 0 goto error
|
||||||
popd
|
popd
|
||||||
|
@ -106,16 +106,16 @@ IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
|
||||||
IF EXIST "%DEPLOYMENT_TARGET%\deploy\default.gbui\package.json" (
|
IF EXIST "%DEPLOYMENT_TARGET%\deploy\default.gbui\package.json" (
|
||||||
call :ExecuteCmd !NPM_CMD! config set scripts-prepend-node-path true
|
call :ExecuteCmd !NPM_CMD! config set scripts-prepend-node-path true
|
||||||
pushd "%DEPLOYMENT_TARGET%\deploy\default.gbui"
|
pushd "%DEPLOYMENT_TARGET%\deploy\default.gbui"
|
||||||
echo GUARIBASDEPLOYER ------------------ Installing packages for default.gbui.
|
echo [GUARIBASDEPLOYER] Installing packages for default.gbui.
|
||||||
call :ExecuteCmd !NPM_CMD! install
|
call :ExecuteCmd !NPM_CMD! install
|
||||||
echo GUARIBASDEPLOYER ------------------ Building default.gbui.
|
echo [GUARIBASDEPLOYER] Building default.gbui.
|
||||||
call :ExecuteCmd !NPM_CMD! run build
|
call :ExecuteCmd !NPM_CMD! run build
|
||||||
IF !ERRORLEVEL! NEQ 0 goto error
|
IF !ERRORLEVEL! NEQ 0 goto error
|
||||||
popd
|
popd
|
||||||
)
|
)
|
||||||
|
|
||||||
:: 4. Install typescript
|
:: 4. Install typescript
|
||||||
echo GUARIBASDEPLOYER ------------------ Transpiling...
|
echo [GUARIBASDEPLOYER] Transpiling...
|
||||||
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -p "%DEPLOYMENT_TARGET%"
|
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -p "%DEPLOYMENT_TARGET%"
|
||||||
|
|
||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
|
|
Loading…
Add table
Reference in a new issue