mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
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:
parent
391a45a249
commit
e7bcb3bf94
@ -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"
|
||||
)
|
||||
|
@ -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``
|
||||
|
Loading…
Reference in New Issue
Block a user