summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius2019-05-12 10:01:38 +0200
committerClaudius2019-05-13 19:37:21 +0200
commit806ebe6e1abea47583ec57b6811b67958a2b3369 (patch)
tree88277eada4ae763feed35e2ca38f1616a280314b
parent4833f300c527b96cc5d6d16c605df8cf04d06c1d (diff)
drop node 6 support
We will no longer test on node6 and instead focus on 8+. This won't break node6 immediately, but we will no longer go out of our way supporting a version that does not receive security updates. Signed-off-by: Claudius <opensource@amenthes.de>
-rw-r--r--.babelrc2
-rw-r--r--.travis.yml8
-rw-r--r--docs/setup/manual-setup.md2
-rw-r--r--package.json4
4 files changed, 8 insertions, 8 deletions
diff --git a/.babelrc b/.babelrc
index 26e5c924..ad37aa75 100644
--- a/.babelrc
+++ b/.babelrc
@@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
- "node": "6",
+ "node": "8",
"uglify": true
}
}]
diff --git a/.travis.yml b/.travis.yml
index a2fce834..a5c50dee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,25 +4,25 @@ cache: yarn
env:
global:
- CXX=g++-4.8
- - YARN_VERSION=1.15.2
+ - YARN_VERSION=1.16.0
jobs:
include:
- env: task=npm-test
node_js:
- - 6
+ - 8
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- export PATH="$HOME/.yarn/bin:$PATH"
- env: task=npm-test
node_js:
- - 8
+ - 10
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- export PATH="$HOME/.yarn/bin:$PATH"
- env: task=npm-test
node_js:
- - 10
+ - 12
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- export PATH="$HOME/.yarn/bin:$PATH"
diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md
index b6128531..e15e624a 100644
--- a/docs/setup/manual-setup.md
+++ b/docs/setup/manual-setup.md
@@ -3,7 +3,7 @@ Manual Installation
## Requirements on your server
-- Node.js 6.x or up (test up to 7.5.0) and <10.x
+- Node.js 8.5 or up
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
- npm (and its dependencies, [node-gyp](https://github.com/nodejs/node-gyp#installation))
- yarn
diff --git a/package.json b/package.json
index 374a047e..490fe5a0 100644
--- a/package.json
+++ b/package.json
@@ -119,7 +119,7 @@
"socket.io": "~2.1.1",
"socket.io-client": "~2.1.1",
"spin.js": "^2.3.2",
- "sqlite3": "^4.0.1",
+ "sqlite3": "^4.0.7",
"store": "^2.0.12",
"string": "^3.3.3",
"tedious": "^1.14.0",
@@ -141,7 +141,7 @@
"**/request": "^2.88.0"
},
"engines": {
- "node": ">=6.x"
+ "node": ">=8.x"
},
"bugs": "https://github.com/codimd/server/issues",
"keywords": [