Use Node.js version 10

Update instructions, Dockerfile and Travis CI to use Node.js 10.
Specify that Node.js version 10 or greater is needed in the engines
section of package.json (note that this is only advisory.)  And document
this as a breaking change in CHANGELOG.md.
This commit is contained in:
Hornwitser committed 2019-08-23 14:50:22 +02:00
1 parent e4386d57e8
commit 69a1ff7817
5 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- "9" - 10
before_install: before_install:
- curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 - curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64
- tar -xf factorio.tar.gz - tar -xf factorio.tar.gz
+6
View File
@@ -0,0 +1,6 @@
Version 2.0.0
=============
Breaking Changes
----------------
- Node.js versions below 10 are no longer supported.
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:9.11.2 FROM node:10
RUN apt-get update && apt install git curl tar -y RUN apt-get update && apt install git curl tar -y
RUN mkdir factorioClusterio RUN mkdir factorioClusterio
+2 -2
View File
@@ -88,7 +88,7 @@ NodeJS does not support EOL ubuntu releases. Make sure you are on the most recen
Master and all slaves: Master and all slaves:
sudo curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs python-dev git wget curl tar build-essential sudo apt install -y nodejs python-dev git wget curl tar build-essential
sudo npm install pm2 -g sudo npm install pm2 -g
git clone https://github.com/clusterio/factorioClusterio.git git clone https://github.com/clusterio/factorioClusterio.git
@@ -159,7 +159,7 @@ Game Client = The people connecting to the server
**Requirements** **Requirements**
download and install nodeJS 8 or 9 from http://nodejs.org download and install nodeJS 10 from http://nodejs.org
download and install git from https://git-scm.com/ download and install git from https://git-scm.com/
+3
View File
@@ -17,6 +17,9 @@
], ],
"author": "Danielv123", "author": "Danielv123",
"license": "ISC", "license": "ISC",
"engines": {
"node": ">=10"
},
"dependencies": { "dependencies": {
"as-table": "^1.0.31", "as-table": "^1.0.31",
"averaged-timeseries": "^1.4.0", "averaged-timeseries": "^1.4.0",