From 649a0702fc4fccceed646f5d4ca51dab577a5dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Wed, 6 Dec 2017 20:03:00 +0100 Subject: [PATCH] chore(*): update Node from 6 to 8, update Yarn Angular (2+) switched to Node 8 and so should we. Ref angular/angular#20807 Ref angular/angular#20832 --- .nvmrc | 2 +- .travis.yml | 4 ++-- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.nvmrc b/.nvmrc index 1e8b31496214..45a4fb75db86 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -6 +8 diff --git a/.travis.yml b/.travis.yml index 6d59cf07affd..9748e1317f30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js sudo: false node_js: - - '6' + - '8' cache: yarn: true @@ -28,7 +28,7 @@ env: - secure: oTBjhnOKhs0qDSKTf7fE4f6DYiNDPycvB7qfSF5QRIbJK/LK/J4UtFwetXuXj79HhUZG9qnoT+5e7lPaiaMlpsIKn9ann7ffqFWN1E8TMtpJF+AGigx3djYElwfgf5nEnFUFhwjFzvbfpZNnxVGgX5YbIZpe/WUbHkP4ffU0Wks= before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5 + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2 - export PATH="$HOME/.yarn/bin:$PATH" before_script: diff --git a/package.json b/package.json index 6ca57a1193c5..74335fb4705f 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "url": "https://github.com/angular/angular.js.git" }, "engines": { - "node": "^6.9.1", - "yarn": ">=0.21.3", + "node": "^8.9.1", + "yarn": ">=1.3.2", "grunt": "^1.2.0" }, "scripts": {