mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-25 00:23:12 +09:00
Merge pull request #210 from Hornwitser/update-node
Update Node.js and dependencies
This commit is contained in:
5 files changed
+27
-18
No files matched your search
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
Version 2.0.0
|
||||||
|
=============
|
||||||
|
|
||||||
|
Breaking Changes
|
||||||
|
----------------
|
||||||
|
- Node.js versions below 10 are no longer supported.
|
||||||
+1
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|
||||||
|
|||||||
+17
-14
@@ -5,7 +5,7 @@
|
|||||||
"repository": "https://github.com/clusterio/factorioClusterio",
|
"repository": "https://github.com/clusterio/factorioClusterio",
|
||||||
"main": "master.js",
|
"main": "master.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha -R spec -- \"./{,!(node_modules)/**/}*.spec.js\" || true",
|
"test": "mocha --exit -R spec \"./{,!(node_modules)/**/}*.spec.js\" || true",
|
||||||
"cover": "nyc npm run-script test",
|
"cover": "nyc npm run-script test",
|
||||||
"ci-cover": "nyc --reporter=lcovonly npm run-script test",
|
"ci-cover": "nyc --reporter=lcovonly npm run-script test",
|
||||||
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
|
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
|
||||||
@@ -17,24 +17,27 @@
|
|||||||
],
|
],
|
||||||
"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",
|
||||||
"base64url": "^3.0.0",
|
"base64url": "^3.0.0",
|
||||||
"bcrypt": "^2.0.1",
|
"bcrypt": "^3.0.6",
|
||||||
"bcrypt-promise": "^2.0.0",
|
"bcrypt-promise": "^2.0.0",
|
||||||
"body-parser": "^1.18.2",
|
"body-parser": "^1.18.2",
|
||||||
"cli": "^1.0.1",
|
"cli": "^1.0.1",
|
||||||
"cli-interact": "^0.1.9",
|
"cli-interact": "^0.1.9",
|
||||||
"compression": "^1.7.2",
|
"compression": "^1.7.2",
|
||||||
"cookie-parser": "^1.4.3",
|
"cookie-parser": "^1.4.3",
|
||||||
"deepmerge": "^1.5.2",
|
"deepmerge": "^4.0.0",
|
||||||
"ejs": "^2.5.7",
|
"ejs": "^2.5.7",
|
||||||
"express": "^4.16.2",
|
"express": "^4.16.2",
|
||||||
"express-fileupload": "0.0.6",
|
"express-fileupload": "1.1.5",
|
||||||
"express-prometheus-request-metrics": "github:burnash/express-prometheus-request-metrics",
|
"express-prometheus-request-metrics": "github:burnash/express-prometheus-request-metrics",
|
||||||
"follow-redirects": "^1.5.0",
|
"follow-redirects": "^1.5.0",
|
||||||
"fs-extra": "^6.0.1",
|
"fs-extra": "^8.1.0",
|
||||||
"getmac": "^1.4.0",
|
"getmac": "^1.4.0",
|
||||||
"ini": "^1.3.5",
|
"ini": "^1.3.5",
|
||||||
"jsonwebtoken": "^8.2.1",
|
"jsonwebtoken": "^8.2.1",
|
||||||
@@ -45,7 +48,7 @@
|
|||||||
"mkdirp-promise": "^5.0.1",
|
"mkdirp-promise": "^5.0.1",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.22.2",
|
||||||
"ncp": "^2.0.0",
|
"ncp": "^2.0.0",
|
||||||
"needle": "^2.2.4",
|
"needle": "^2.4.0",
|
||||||
"node-factorio-api": "^0.3.5",
|
"node-factorio-api": "^0.3.5",
|
||||||
"node-forge": "^0.7.1",
|
"node-forge": "^0.7.1",
|
||||||
"prom-client": "^10.2.3",
|
"prom-client": "^10.2.3",
|
||||||
@@ -55,21 +58,21 @@
|
|||||||
"sanitizer": "^0.1.3",
|
"sanitizer": "^0.1.3",
|
||||||
"simple-git": "^1.96.0",
|
"simple-git": "^1.96.0",
|
||||||
"single-line-log": "^1.1.2",
|
"single-line-log": "^1.1.2",
|
||||||
"socket.io": "^2.0.4",
|
"socket.io": "^2.2.0",
|
||||||
"socket.io-client": "^2.0.4",
|
"socket.io-client": "^2.2.0",
|
||||||
"socket.io-prometheus": "^0.2.1",
|
"socket.io-prometheus": "^0.2.1",
|
||||||
"sync-request": "^4.0.1",
|
"sync-request": "^4.0.1",
|
||||||
"tail": "^2.0.2",
|
"tail": "^2.0.2",
|
||||||
"typescript-collections": "^1.3.2"
|
"typescript-collections": "^1.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"html5-validator": "^1.0.7",
|
"html5-validator": "^1.2.1",
|
||||||
"mocha": "^3.5.3",
|
"mocha": "^6.2.0",
|
||||||
"mocha-sinon": "^2.0.0",
|
"mocha-sinon": "^2.1.0",
|
||||||
"mocha.parallel": "^0.15.5",
|
"mocha.parallel": "^0.15.5",
|
||||||
"nock": "^9.1.6",
|
"nock": "^11.3.0",
|
||||||
"nyc": "^14.1.1",
|
"nyc": "^14.1.1",
|
||||||
"sinon": "^2.4.1",
|
"sinon": "^7.4.1",
|
||||||
"supertest": "^3.0.0"
|
"supertest": "^4.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user