Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e86f1c1

Browse files
committed
chore(*): update Node.js from 8 to 12, update some dependencies
Node.js 8 ends its support at the end of 2019. Node 12 will be supported until April 2022 which is way past AngularJS end of support. Some dependencies needed to be updated to make them work in Node.js 12.
1 parent add78e6 commit e86f1c1

File tree

5 files changed

+248
-345
lines changed

5 files changed

+248
-345
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8
1+
12

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '8'
4+
- '12'
55

66
cache:
77
yarn: true
@@ -27,7 +27,7 @@ env:
2727
- secure: oTBjhnOKhs0qDSKTf7fE4f6DYiNDPycvB7qfSF5QRIbJK/LK/J4UtFwetXuXj79HhUZG9qnoT+5e7lPaiaMlpsIKn9ann7ffqFWN1E8TMtpJF+AGigx3djYElwfgf5nEnFUFhwjFzvbfpZNnxVGgX5YbIZpe/WUbHkP4ffU0Wks=
2828

2929
before_install:
30-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
30+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.19.1
3131
- export PATH="$HOME/.yarn/bin:$PATH"
3232

3333
before_script:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"url": "https://github.com/angular/angular.js.git"
1010
},
1111
"engines": {
12-
"node": ">=8.12.0",
13-
"yarn": ">=1.10.1",
12+
"node": ">=12.13.0",
13+
"yarn": ">=1.19.1",
1414
"grunt-cli": "^1.2.0"
1515
},
1616
"scripts": {

scripts/jenkins/init-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nvm install
88

99
# clean out and install yarn
1010
rm -rf ~/.yarn
11-
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
11+
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.19.1
1212
export PATH="$HOME/.yarn/bin:$PATH"
1313

1414
# Ensure that we have the local dependencies installed

0 commit comments

Comments
 (0)