mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
node8: require nodejs >= 8.9.0, npm >= 6.4
Next version will be Etherpad 1.8. As planned in #3424, we are going to require NodeJS >=8.9.0 and npm >= 6.4. This commit implements that change and updates documentation and scripts. Subsequent changes will get rid of old idioms, dating back to node < 0.7, that still survive in the code. Once migrated to NodeJS 8, we will be able to start working on migrating the code base from callbacks to async/await, greatly simplifying legibility (see #3540). Closes #3557
This commit is contained in:
parent
9d9b7c9faf
commit
9d35d15ae3
5 changed files with 13 additions and 11 deletions
|
@ -1,12 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# minimum required node version
|
||||
REQUIRED_NODE_MAJOR=6
|
||||
REQUIRED_NODE_MAJOR=8
|
||||
REQUIRED_NODE_MINOR=9
|
||||
|
||||
# minimum required npm version
|
||||
REQUIRED_NPM_MAJOR=3
|
||||
REQUIRED_NPM_MINOR=10
|
||||
REQUIRED_NPM_MAJOR=6
|
||||
REQUIRED_NPM_MINOR=4
|
||||
|
||||
require_minimal_version() {
|
||||
PROGRAM_LABEL="$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue