Skip to content

Commit

Permalink
Upgrade dependencies (GoogleCloudPlatform#69)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Fix key.
  • Loading branch information
jmdobry authored Aug 11, 2016
1 parent 2b36082 commit b1e8214
Show file tree
Hide file tree
Showing 13 changed files with 180 additions and 164 deletions.
25 changes: 8 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,16 @@ cache:

env:
global:
- PATH=$PATH:$HOME/gcloud/google-cloud-sdk/bin
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/test/encrypted/nodejs-docs-samples.json
- CLOUD_BUCKET=nodejs-docs-samples
- GCLOUD_PROJECT=nodejs-docs-samples
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/key.json
- CLOUD_BUCKET=nodejs-getting-started-tests
- GCLOUD_PROJECT=nodejs-getting-started-tests

before_install:
- if [ ! -d $HOME/gcloud/google-cloud-sdk ]; then
mkdir -p $HOME/gcloud &&
wget https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz --directory-prefix=$HOME/gcloud &&
cd $HOME/gcloud &&
tar xzf google-cloud-sdk.tar.gz &&
printf '\ny\n\ny\ny\n' | ./google-cloud-sdk/install.sh &&
source $HOME/.bashrc &&
cd $TRAVIS_BUILD_DIR;
fi
- openssl aes-256-cbc -K $encrypted_06352980ac5c_key -iv $encrypted_06352980ac5c_iv -in test/encrypted/nodejs-docs-samples.json.enc -out test/encrypted/nodejs-docs-samples.json -d
- if [ -a test/encrypted/nodejs-docs-samples.json ]; then
gcloud auth activate-service-account --key-file test/encrypted/nodejs-docs-samples.json;
fi
- openssl aes-256-cbc -K $encrypted_06352980ac5c_key -iv $encrypted_06352980ac5c_iv -in key.json.enc -out key.json -d
- npm set progress=false

before_script:
- node scripts/install

after_success:
- npm run codecov
13 changes: 5 additions & 8 deletions 1-hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy app.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha"
"deploy": "gcloud app deploy app.yaml",
"test": "mocha test/index.js -t 30000"
},
"author": "Google Inc.",
"contributors": [
Expand Down Expand Up @@ -39,13 +37,12 @@
]
},
"dependencies": {
"express": "^4.13.4"
"express": "^4.14.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"semistandard": "^7.0.5",
"supertest": "^1.2.0"
"supertest": "^2.0.0"
},
"engines": {
"node": ">=0.12.7"
Expand Down
28 changes: 12 additions & 16 deletions 2-structured-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy app.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha",
"deploy": "gcloud app deploy app.yaml",
"test": "mocha test/index.js -t 30000",
"init-cloudsql": "node books/model-cloudsql.js"
},
"author": "Google Inc.",
Expand Down Expand Up @@ -40,24 +38,22 @@
]
},
"dependencies": {
"body-parser": "^1.15.0",
"express": "^4.13.4",
"gcloud": "~0.31.0",
"body-parser": "^1.15.2",
"express": "^4.14.0",
"gcloud": "~0.37.0",
"jade": "^1.11.0",
"kerberos": "^0.0.19",
"lodash": "^4.11.1",
"mongodb": "^2.1.16",
"mysql": "^2.10.2",
"kerberos": "^0.0.21",
"lodash": "^4.14.2",
"mongodb": "^2.2.5",
"mysql": "^2.11.1",
"nconf": "^0.8.4",
"prompt": "^1.0.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"proxyquire": "^1.7.4",
"semistandard": "^7.0.5",
"sinon": "^1.17.3",
"supertest": "^1.2.0"
"proxyquire": "^1.7.10",
"sinon": "^1.17.5"
},
"engines": {
"node": ">=0.12.7"
Expand Down
30 changes: 13 additions & 17 deletions 3-binary-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy app.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha",
"deploy": "gcloud app deploy app.yaml",
"test": "mocha test/index.js -t 30000",
"init-cloudsql": "node books/model-cloudsql.js"
},
"author": "Google Inc.",
Expand Down Expand Up @@ -40,25 +38,23 @@
]
},
"dependencies": {
"body-parser": "^1.15.0",
"express": "^4.13.4",
"gcloud": "~0.31.0",
"body-parser": "^1.15.2",
"express": "^4.14.0",
"gcloud": "~0.37.0",
"jade": "^1.11.0",
"kerberos": "^0.0.19",
"lodash": "^4.11.1",
"mongodb": "^2.1.16",
"multer": "^1.1.0",
"mysql": "^2.10.2",
"kerberos": "^0.0.21",
"lodash": "^4.14.2",
"mongodb": "^2.2.5",
"multer": "^1.2.0",
"mysql": "^2.11.1",
"nconf": "^0.8.4",
"prompt": "^1.0.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"proxyquire": "^1.7.4",
"semistandard": "^7.0.5",
"sinon": "^1.17.3",
"supertest": "^1.2.0"
"proxyquire": "^1.7.10",
"sinon": "^1.17.5"
},
"engines": {
"node": ">=0.12.7"
Expand Down
34 changes: 15 additions & 19 deletions 4-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy app.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha",
"deploy": "gcloud app deploy app.yaml",
"test": "mocha test/index.js -t 30000",
"init-cloudsql": "node books/model-cloudsql.js"
},
"author": "Google Inc.",
Expand Down Expand Up @@ -40,30 +38,28 @@
]
},
"dependencies": {
"async": "^1.5.2",
"body-parser": "^1.15.0",
"body-parser": "^1.15.2",
"connect-memcached": "^0.2.0",
"express": "^4.13.4",
"express-session": "^1.13.0",
"gcloud": "~0.31.0",
"express": "^4.14.0",
"express-session": "^1.14.0",
"gcloud": "~0.37.0",
"jade": "^1.11.0",
"kerberos": "^0.0.19",
"lodash": "^4.11.1",
"mongodb": "^2.1.16",
"multer": "^1.1.0",
"mysql": "^2.10.2",
"kerberos": "^0.0.21",
"lodash": "^4.14.2",
"mongodb": "^2.2.5",
"multer": "^1.2.0",
"mysql": "^2.11.1",
"nconf": "^0.8.4",
"passport": "^0.3.2",
"passport-google-oauth20": "^1.0.0",
"prompt": "^1.0.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"proxyquire": "^1.7.4",
"semistandard": "^7.0.5",
"sinon": "^1.17.3",
"supertest": "^1.2.0"
"proxyquire": "^1.7.10",
"sinon": "^1.17.5",
"supertest": "^2.0.0"
},
"engines": {
"node": ">=0.12.7"
Expand Down
40 changes: 18 additions & 22 deletions 5-logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy app.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha",
"deploy": "gcloud app deploy app.yaml",
"test": "mocha test/index.js -t 30000",
"init-cloudsql": "node books/model-cloudsql.js"
},
"author": "Google Inc.",
Expand Down Expand Up @@ -40,34 +38,32 @@
]
},
"dependencies": {
"@google/cloud-debug": "^0.8.1",
"@google/cloud-trace": "^0.5.1",
"async": "^1.5.2",
"body-parser": "^1.15.0",
"@google/cloud-debug": "^0.8.3",
"@google/cloud-trace": "^0.5.5",
"body-parser": "^1.15.2",
"connect-memcached": "^0.2.0",
"express": "^4.13.4",
"express-session": "^1.13.0",
"express-winston": "^1.3.1",
"gcloud": "~0.31.0",
"express": "^4.14.0",
"express-session": "^1.14.0",
"express-winston": "^2.0.0",
"gcloud": "~0.37.0",
"jade": "^1.11.0",
"kerberos": "^0.0.19",
"lodash": "^4.11.1",
"mongodb": "^2.1.16",
"multer": "^1.1.0",
"mysql": "^2.10.2",
"kerberos": "^0.0.21",
"lodash": "^4.14.2",
"mongodb": "^2.2.5",
"multer": "^1.2.0",
"mysql": "^2.11.1",
"nconf": "^0.8.4",
"passport": "^0.3.2",
"passport-google-oauth20": "^1.0.0",
"prompt": "^1.0.0",
"winston": "^2.2.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"proxyquire": "^1.7.4",
"semistandard": "^7.0.5",
"sinon": "^1.17.3",
"supertest": "^1.2.0"
"proxyquire": "^1.7.10",
"sinon": "^1.17.5",
"supertest": "^2.0.0"
},
"engines": {
"node": ">=0.12.7"
Expand Down
43 changes: 20 additions & 23 deletions 6-pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"scripts": {
"start": "node ${SCRIPT:-app.js}",
"monitor": "nodemon ${SCRIPT:-app.js}",
"deploy": "gcloud preview app deploy app.yaml worker.yaml",
"mocha": "mocha test/index.js -t 30000",
"lint": "semistandard \"**/*.js\"",
"test": "npm run lint && npm run mocha",
"deploy": "gcloud app deploy app.yaml worker.yaml",
"test": "mocha test/index.js -t 30000",
"init-cloudsql": "node books/model-cloudsql.js"
},
"author": "Google Inc.",
Expand Down Expand Up @@ -40,35 +38,34 @@
]
},
"dependencies": {
"@google/cloud-debug": "^0.8.1",
"@google/cloud-trace": "^0.5.1",
"async": "^1.5.2",
"body-parser": "^1.15.0",
"@google/cloud-debug": "^0.8.3",
"@google/cloud-trace": "^0.5.5",
"async": "^2.0.1",
"body-parser": "^1.15.2",
"connect-memcached": "^0.2.0",
"express": "^4.13.4",
"express-session": "^1.13.0",
"express-winston": "^1.3.1",
"gcloud": "~0.31.0",
"express": "^4.14.0",
"express-session": "^1.14.0",
"express-winston": "^2.0.0",
"gcloud": "~0.37.0",
"jade": "^1.11.0",
"kerberos": "^0.0.19",
"lodash": "^4.11.1",
"mongodb": "^2.1.16",
"multer": "^1.1.0",
"mysql": "^2.10.2",
"kerberos": "^0.0.21",
"lodash": "^4.14.2",
"mongodb": "^2.2.5",
"multer": "^1.2.0",
"mysql": "^2.11.1",
"nconf": "^0.8.4",
"passport": "^0.3.2",
"passport-google-oauth20": "^1.0.0",
"prompt": "^1.0.0",
"request": "^2.72.0",
"request": "^2.74.0",
"winston": "^2.2.0"
},
"devDependencies": {
"mocha": "^2.4.5",
"mocha": "^3.0.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#21daa823090c43fb667157c8b5b0c3b7f45a8357",
"proxyquire": "^1.7.4",
"semistandard": "^7.0.5",
"sinon": "^1.17.3",
"supertest": "^1.2.0"
"proxyquire": "^1.7.10",
"sinon": "^1.17.5",
"supertest": "^2.0.0"
},
"engines": {
"node": ">=0.12.7"
Expand Down
Loading

0 comments on commit b1e8214

Please sign in to comment.