Adding support for npm-check-updates within Workspace container.
This commit is contained in:
parent
66b86963ae
commit
e680ad7361
@ -122,6 +122,7 @@ WORKSPACE_INSTALL_NPM_GULP=true
|
||||
WORKSPACE_INSTALL_NPM_BOWER=false
|
||||
WORKSPACE_INSTALL_NPM_VUE_CLI=true
|
||||
WORKSPACE_INSTALL_NPM_ANGULAR_CLI=false
|
||||
WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI=false
|
||||
WORKSPACE_INSTALL_PHPREDIS=true
|
||||
WORKSPACE_INSTALL_WORKSPACE_SSH=false
|
||||
WORKSPACE_INSTALL_SUBVERSION=false
|
||||
|
@ -1981,7 +1981,19 @@ To install NPM ANGULAR CLI in the Workspace container
|
||||
3 - Re-build the container `docker-compose build workspace`
|
||||
|
||||
|
||||
<br>
|
||||
<a name="Install-npm-check-updates"></a>
|
||||
## Install npm-check-updates CLI
|
||||
|
||||
To install npm-check-updates CLI [here](https://www.npmjs.com/package/npm-check-updates) in the Workspace container
|
||||
|
||||
1 - Open the `.env` file
|
||||
|
||||
2 - Make sure Node is also being installed (`WORKSPACE_INSTALL_NODE` set to `true`)
|
||||
|
||||
3 - Search for the `WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI` argument under the Workspace Container and set it to `true`
|
||||
|
||||
4 - Re-build the container `docker-compose build workspace`
|
||||
|
||||
|
||||
|
||||
|
@ -738,6 +738,7 @@ ARG INSTALL_NPM_GULP=false
|
||||
ARG INSTALL_NPM_BOWER=false
|
||||
ARG INSTALL_NPM_VUE_CLI=false
|
||||
ARG INSTALL_NPM_ANGULAR_CLI=false
|
||||
ARG WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI=false
|
||||
ARG NPM_REGISTRY
|
||||
ENV NPM_REGISTRY ${NPM_REGISTRY}
|
||||
ARG NPM_FETCH_RETRIES
|
||||
@ -780,6 +781,9 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
|
||||
&& if [ ${INSTALL_NPM_ANGULAR_CLI} = true ]; then \
|
||||
npm install -g @angular/cli \
|
||||
;fi \
|
||||
&& if [ ${WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI} = true ]; then \
|
||||
npm install -g npm-check-updates \
|
||||
;fi \
|
||||
;fi
|
||||
|
||||
# Wouldn't execute when added to the RUN statement in the above block
|
||||
|
Loading…
Reference in New Issue
Block a user