From b4cf6dd6a35baa5896c74a5355ffb9f0039243b2 Mon Sep 17 00:00:00 2001 From: timsuchanek Date: Fri, 22 Dec 2017 21:50:55 +0100 Subject: [PATCH] v0.11.4 --- cli/packages/graphcool-cli-core/package.json | 2 +- .../commands/local/docker/docker-compose.yml | 4 +- .../graphcool-cli-engine/package.json | 3 +- cli/packages/graphcool-cli-engine/src/CLI.ts | 4 + .../graphcool-cli-engine/src/Output/index.ts | 2 + cli/packages/graphcool-cli/package.json | 6 +- cli/yarn.lock | 90 +++++++------------ 7 files changed, 47 insertions(+), 64 deletions(-) diff --git a/cli/packages/graphcool-cli-core/package.json b/cli/packages/graphcool-cli-core/package.json index 533b359d1c..c703e1ead4 100644 --- a/cli/packages/graphcool-cli-core/package.json +++ b/cli/packages/graphcool-cli-core/package.json @@ -1,6 +1,6 @@ { "name": "graphcool-cli-core", - "version": "1.10.3-framework", + "version": "1.10.5-framework", "main": "dist/index.js", "files": ["dist"], "typings": "dist/index.d.ts", diff --git a/cli/packages/graphcool-cli-core/src/commands/local/docker/docker-compose.yml b/cli/packages/graphcool-cli-core/src/commands/local/docker/docker-compose.yml index d4f691170d..274b1adefc 100644 --- a/cli/packages/graphcool-cli-core/src/commands/local/docker/docker-compose.yml +++ b/cli/packages/graphcool-cli-core/src/commands/local/docker/docker-compose.yml @@ -13,7 +13,7 @@ services: - db-persistence:/var/lib/mysql localfaas: - image: graphcool/localfaas:0.11.0 + image: graphcool/localfaas:0.11.1 networks: - graphcool restart: always @@ -25,7 +25,7 @@ services: - faas-persistence:/var/faas graphcool: - image: graphcool/graphcool-dev:0.11.0 + image: graphcool/graphcool-dev:0.11.1 restart: always ports: - "0.0.0.0:${PORT}:${PORT}" diff --git a/cli/packages/graphcool-cli-engine/package.json b/cli/packages/graphcool-cli-engine/package.json index d5030560fa..450577b2eb 100644 --- a/cli/packages/graphcool-cli-engine/package.json +++ b/cli/packages/graphcool-cli-engine/package.json @@ -1,6 +1,6 @@ { "name": "graphcool-cli-engine", - "version": "0.5.5-framework", + "version": "0.5.6-framework", "main": "dist/index.js", "files": [ "dist" @@ -106,6 +106,7 @@ "marked-terminal": "^2.0.0", "memfs": "^2.5.3", "opn": "^5.1.0", + "raven": "^2.3.0", "replaceall": "^0.1.6", "rwlockfile": "^1.4.8", "scuid": "^1.0.2", diff --git a/cli/packages/graphcool-cli-engine/src/CLI.ts b/cli/packages/graphcool-cli-engine/src/CLI.ts index 475e864524..bccb2017da 100644 --- a/cli/packages/graphcool-cli-engine/src/CLI.ts +++ b/cli/packages/graphcool-cli-engine/src/CLI.ts @@ -9,6 +9,10 @@ import { NotFound } from './NotFound' import fs from './fs' import { getCommandId } from './util' import { StatusChecker } from './StatusChecker' +import * as Raven from 'raven' +Raven.config( + 'https://337bd4ced421443282b2693709387a98:59e523cc610444919c3c38fb86bd430a@sentry.io/263237', +).install() const debug = require('debug')('cli') const handleEPIPE = err => { diff --git a/cli/packages/graphcool-cli-engine/src/Output/index.ts b/cli/packages/graphcool-cli-engine/src/Output/index.ts index 0c9cfbe13a..f8b89e29cf 100644 --- a/cli/packages/graphcool-cli-engine/src/Output/index.ts +++ b/cli/packages/graphcool-cli-engine/src/Output/index.ts @@ -22,6 +22,7 @@ import * as Charm from 'charm' import { padEnd, repeat, set, uniqBy, values } from 'lodash' import { Project } from '../types/common' import { Targets } from '../types/rc' +import * as Raven from 'raven' marked.setOptions({ renderer: new TerminalRenderer(), @@ -153,6 +154,7 @@ export class Output { } error(err: Error | string, exitCode: number | false = 1) { + Raven.captureException(err) if ( (this.mock && typeof err !== 'string' && exitCode !== false) || process.env.NODE_ENV === 'test' diff --git a/cli/packages/graphcool-cli/package.json b/cli/packages/graphcool-cli/package.json index e7e8df7c34..50b2ca13bd 100644 --- a/cli/packages/graphcool-cli/package.json +++ b/cli/packages/graphcool-cli/package.json @@ -1,6 +1,6 @@ { "name": "graphcool-framework", - "version": "0.11.3", + "version": "0.11.4", "main": "dist/index.js", "bin": { "graphcool-framework": "dist/index.js", @@ -49,8 +49,8 @@ }, "dependencies": { "fs-extra": "^4.0.1", - "graphcool-cli-core": "1.10.3-framework", - "graphcool-cli-engine": "0.5.5-framework", + "graphcool-cli-core": "1.10.5-framework", + "graphcool-cli-engine": "0.5.6-framework", "semver": "^5.4.1", "source-map-support": "^0.4.18" }, diff --git a/cli/yarn.lock b/cli/yarn.lock index a6e9b928f7..6a3723f0d5 100644 --- a/cli/yarn.lock +++ b/cli/yarn.lock @@ -737,6 +737,10 @@ convert-source-map@^1.4.0, convert-source-map@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" +cookie@0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" + core-js@^2.4.0, core-js@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" @@ -1366,9 +1370,9 @@ graceful-fs@~3.0.2: dependencies: natives "^1.1.0" -graphcool-cli-core@1.10.2-framework: - version "1.10.2-framework" - resolved "https://registry.yarnpkg.com/graphcool-cli-core/-/graphcool-cli-core-1.10.2-framework.tgz#3896b5a54411c81376720605b0575cd6f3f15a6f" +graphcool-cli-core@1.10.4-framework: + version "1.10.4-framework" + resolved "https://registry.yarnpkg.com/graphcool-cli-core/-/graphcool-cli-core-1.10.4-framework.tgz#8bf9aff8ee23f04e8411b72ac8f0d238598d8d92" dependencies: archiver "^2.1.0" callsites "^2.0.0" @@ -1404,60 +1408,6 @@ graphcool-cli-core@1.10.2-framework: validator "^8.2.0" yauzl "^2.9.1" -graphcool-cli-engine@0.5.4-framework: - version "0.5.4-framework" - resolved "https://registry.yarnpkg.com/graphcool-cli-engine/-/graphcool-cli-engine-0.5.4-framework.tgz#b6c65f092c07b00c75ff5ec2efa43d5e73666511" - dependencies: - "@heroku/linewrap" "^1.0.0" - "@types/fs-extra" "^4.0.2" - ajv "^5.2.2" - ansi-escapes "^3.0.0" - ansi-styles "^3.2.0" - bluebird "^3.5.0" - cache-require-paths "^0.3.0" - callsites "^2.0.0" - cardinal "^1.0.0" - chalk "^2.2.0" - charm "^1.0.2" - debug "^3.0.1" - directory-tree "^2.0.0" - find-up "^2.1.0" - fs-extra "^4.0.2" - graphcool-inquirer "^1.0.3" - graphcool-json-schema "^0.4.1" - graphql-request "^1.3.4" - isomorphic-fetch "^2.2.1" - klaw-sync "^3.0.0" - lodash "^4.17.4" - lodash.ary "^4.1.1" - lodash.defaults "^4.2.0" - lodash.flatten "^4.4.0" - lodash.get "^4.4.2" - lodash.groupby "^4.6.0" - lodash.identity "^3.0.0" - lodash.keys "^4.2.0" - lodash.maxby "4.x" - lodash.merge "4.x" - lodash.partial "^4.2.1" - lodash.property "^4.4.2" - lodash.result "^4.5.2" - lodash.uniqby "^4.7.0" - marked "^0.3.6" - marked-terminal "^2.0.0" - memfs "^2.5.3" - opn "^5.1.0" - replaceall "^0.1.6" - rwlockfile "^1.4.8" - scuid "^1.0.2" - source-map-support "^0.4.18" - string "3.x" - string-similarity "^1.2.0" - strip-ansi "^4.0.0" - supports-color "^4.4.0" - treeify "^1.0.1" - validator "^8.2.0" - yaml-ast-parser "^0.0.34" - graphcool-inquirer@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/graphcool-inquirer/-/graphcool-inquirer-1.0.3.tgz#4ab8e28b4b9371eabb8ad0ad3c59754a35431633" @@ -2507,6 +2457,10 @@ lru-cache@^4.0.1: pseudomap "^1.0.2" yallist "^2.1.2" +lsmod@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lsmod/-/lsmod-1.0.0.tgz#9a00f76dca36eb23fa05350afe1b585d4299e64b" + make-error@^1.1.1: version "1.3.0" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" @@ -3079,6 +3033,16 @@ randomatic@^1.1.3: is-number "^3.0.0" kind-of "^4.0.0" +raven@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/raven/-/raven-2.3.0.tgz#96f15346bdaa433b3b6d47130804506155833d69" + dependencies: + cookie "0.3.1" + lsmod "1.0.0" + stack-trace "0.0.9" + timed-out "4.0.1" + uuid "3.0.0" + rc@^1.1.7: version "1.2.2" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" @@ -3495,6 +3459,10 @@ sshpk@^1.7.0: jsbn "~0.1.0" tweetnacl "~0.14.0" +stack-trace@0.0.9: + version "0.0.9" + resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.9.tgz#a8f6eaeca90674c333e7c43953f275b451510695" + staged-git-files@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" @@ -3720,6 +3688,10 @@ through@2, "through@>=2.2.7 <3", through@^2.3.6, through@~2.3, through@~2.3.1: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" +timed-out@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -3906,6 +3878,10 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +uuid@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.0.tgz#6728fc0459c450d796a99c31837569bdf672d728" + uuid@^3.0.0, uuid@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"