mgr/dashboard: Update node version

Updated node version to the latest LTS.

Updated 'HACKING.rst' to reflect the current node/npm version requirements.

Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Tiago Melo 2018-06-20 10:25:24 +01:00
parent 391a45a249
commit e7bcb3bf94
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ add_custom_command(
OUTPUT "${mgr-dashboard-nodeenv}/bin/npm"
COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv}
COMMAND ${mgr-dashboard-nodeenv}/bin/pip install nodeenv
COMMAND ${mgr-dashboard-nodeenv}/bin/nodeenv -p -n 8.10.0
COMMAND ${mgr-dashboard-nodeenv}/bin/nodeenv -p -n 8.11.3
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "dashboard nodeenv is being installed"
)

View File

@ -15,8 +15,8 @@ The build process is based on `Node.js <https://nodejs.org/>`_ and requires the
Prerequisites
~~~~~~~~~~~~~
* Node 6.9.0 or higher
* NPM 3 or higher
* Node 8.9.0 or higher
* NPM 5.5.1 or higher
nodeenv:
During Ceph's build we create a virtualenv with ``node`` and ``npm``