diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-22 09:42:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-22 09:42:42 +0100 |
commit | 451ce9642c7be8cb2feb789105473d22909a0964 (patch) | |
tree | be2290df1ce807b7ca26073670b7c914e47d08b6 | |
parent | 2af4fa4d8ba69424a279402e1e3f9e09a90c7e45 (diff) | |
download | PeerTube-451ce9642c7be8cb2feb789105473d22909a0964.tar.gz PeerTube-451ce9642c7be8cb2feb789105473d22909a0964.tar.zst PeerTube-451ce9642c7be8cb2feb789105473d22909a0964.zip |
Add commander in dependencies instead of dev dep
-rw-r--r-- | package.json | 2 | ||||
-rwxr-xr-x | scripts/release.sh | 1 | ||||
-rw-r--r-- | support/doc/production.md | 2 | ||||
-rw-r--r-- | 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 @@ | |||
116 | "@types/webtorrent": "^0.98.4", | 116 | "@types/webtorrent": "^0.98.4", |
117 | "@types/ws": "^3.0.2", | 117 | "@types/ws": "^3.0.2", |
118 | "chai": "^4.1.1", | 118 | "chai": "^4.1.1", |
119 | "commander": "^2.9.0", | 119 | "commander": "^2.13.0", |
120 | "mocha": "^4.0.1", | 120 | "mocha": "^4.0.1", |
121 | "nodemon": "^1.11.0", | 121 | "nodemon": "^1.11.0", |
122 | "source-map-support": "^0.5.0", | 122 | "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 | |||
53 | "$directory_name/dist" "$directory_name/package.json" \ | 53 | "$directory_name/dist" "$directory_name/package.json" \ |
54 | "$directory_name/scripts" "$directory_name/support" \ | 54 | "$directory_name/scripts" "$directory_name/support" \ |
55 | "$directory_name/tsconfig.json" "$directory_name/yarn.lock" \ | 55 | "$directory_name/tsconfig.json" "$directory_name/yarn.lock" \ |
56 | "$directory_name/server/" \ | ||
56 | || exit -1 | 57 | || exit -1 |
57 | rm "$directory_name" || exit -1 | 58 | rm "$directory_name" || exit -1 |
58 | 59 | ||
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 | |||
234 | logs. You can set another password with: | 234 | logs. You can set another password with: |
235 | 235 | ||
236 | ``` | 236 | ``` |
237 | $ cd /home/peertube/peertube-latest && NODE_ENV=production npm run reset-password -- -u root | 237 | $ cd /home/peertube/peertube-latest && NODE_CONFIG_DIR=/home/peertube/config NODE_ENV=production npm run reset-password -- -u root |
238 | ``` | 238 | ``` |
239 | 239 | ||
240 | ## Upgrade | 240 | ## Upgrade |
@@ -953,6 +953,10 @@ commander@2.6.0: | |||
953 | version "2.6.0" | 953 | version "2.6.0" |
954 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" | 954 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" |
955 | 955 | ||
956 | commander@^2.13.0: | ||
957 | version "2.13.0" | ||
958 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" | ||
959 | |||
956 | compact2string@^1.2.0: | 960 | compact2string@^1.2.0: |
957 | version "1.4.0" | 961 | version "1.4.0" |
958 | resolved "https://registry.yarnpkg.com/compact2string/-/compact2string-1.4.0.tgz#a99cd96ea000525684b269683ae2222d6eea7b49" | 962 | resolved "https://registry.yarnpkg.com/compact2string/-/compact2string-1.4.0.tgz#a99cd96ea000525684b269683ae2222d6eea7b49" |