Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Node.js (v6.9.5 -> v8.9.1) #520

Merged
merged 5 commits into from
Nov 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Jaeseok Yoon <yjaeseok@gmail.com>
Jinho Bang <zino@chromium.org>
Jongheon Kim <sapzape@gmail.com>
Taeyun Kim <twhy.kim@gmail.com>
Taxoo Kim <taxookim@gmail.com>
Umar Faruk <umar97faruk@gmail.com>
Wuseok Jang <rufia00@gmail.com>
Yeonsu Kim <yeonsuyam@gmail.com>
Expand Down
6 changes: 4 additions & 2 deletions bootstrap/absolute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ set_path_env $(absolute_path)/node_modules/.bin
sync_node
sync_mongodb

# NPM update
if [ ! -f .pkg_timestamp ] || [ package.json -nt .pkg_timestamp ]; then
# NPM install or update
if [ ! -f .pkg_timestamp ]; then
npm install && > .pkg_timestamp
elif [ package.json -nt .pkg_timestamp ]; then
npm update && > .pkg_timestamp
fi

Expand Down
12 changes: 6 additions & 6 deletions bootstrap/common/sync_third_party.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@

function sync_node() {
local target_path="./third_party/node"
local base_url="https://nodejs.org/dist/v6.9.5"
local base_url="https://nodejs.org/dist/v8.9.1"

case $(get_platform_name) in
windows_x86) local target_url="/node-v6.9.5-win-x86.zip" ;;
windows_x86_64) local target_url="/node-v6.9.5-win-x64.zip" ;;
linux_x86) local target_url="/node-v6.9.5-linux-x86.tar.gz" ;;
linux_x86_64) local target_url="/node-v6.9.5-linux-x64.tar.gz" ;;
darwin_x86_64) local target_url="/node-v6.9.5-darwin-x64.tar.gz" ;;
windows_x86) local target_url="/node-v8.9.1-win-x86.zip" ;;
windows_x86_64) local target_url="/node-v8.9.1-win-x64.zip" ;;
linux_x86) local target_url="/node-v8.9.1-linux-x86.tar.gz" ;;
linux_x86_64) local target_url="/node-v8.9.1-linux-x64.tar.gz" ;;
darwin_x86_64) local target_url="/node-v8.9.1-darwin-x64.tar.gz" ;;
esac

sync_third_party $base_url$target_url $target_path
Expand Down