From 451ce9642c7be8cb2feb789105473d22909a0964 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 Jan 2018 09:42:42 +0100 Subject: [PATCH] Add commander in dependencies instead of dev dep --- package.json | 2 +- scripts/release.sh | 1 + support/doc/production.md | 2 +- yarn.lock | 4 ++++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fcac1c7c2..12bf4a2a6 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "@types/webtorrent": "^0.98.4", "@types/ws": "^3.0.2", "chai": "^4.1.1", - "commander": "^2.9.0", + "commander": "^2.13.0", "mocha": "^4.0.1", "nodemon": "^1.11.0", "source-map-support": "^0.5.0", diff --git a/scripts/release.sh b/scripts/release.sh index 0e288a49c..1b240ea38 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -53,6 +53,7 @@ zip -r "PeerTube/$zip_name" "$directory_name/CREDITS.md" "$directory_name/FAQ.md "$directory_name/dist" "$directory_name/package.json" \ "$directory_name/scripts" "$directory_name/support" \ "$directory_name/tsconfig.json" "$directory_name/yarn.lock" \ + "$directory_name/server/" \ || exit -1 rm "$directory_name" || exit -1 diff --git a/support/doc/production.md b/support/doc/production.md index d1ebbd291..49569dad4 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -234,7 +234,7 @@ The administrator password is automatically generated and can be found in the logs. You can set another password with: ``` -$ cd /home/peertube/peertube-latest && NODE_ENV=production npm run reset-password -- -u root +$ cd /home/peertube/peertube-latest && NODE_CONFIG_DIR=/home/peertube/config NODE_ENV=production npm run reset-password -- -u root ``` ## Upgrade diff --git a/yarn.lock b/yarn.lock index 7b8950435..35f372fc4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -953,6 +953,10 @@ commander@2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" +commander@^2.13.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" + compact2string@^1.2.0: version "1.4.0" resolved "https://registry.yarnpkg.com/compact2string/-/compact2string-1.4.0.tgz#a99cd96ea000525684b269683ae2222d6eea7b49" -- 2.25.1