diff --git a/packages/graphql-playground-electron/package.json b/packages/graphql-playground-electron/package.json index 287abc533..5754869de 100644 --- a/packages/graphql-playground-electron/package.json +++ b/packages/graphql-playground-electron/package.json @@ -4,7 +4,7 @@ "homepage": "https://github.com/graphcool/graphql-playground", "repository": "graphcool/graphql-playground", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)", - "version": "1.8.2", + "version": "1.8.3", "author": { "name": "Graphcool", "email": "hello@graph.cool", @@ -88,7 +88,6 @@ "electron-is-dev": "^0.3.0", "electron-localshortcut": "^3.1.0", "electron-log": "^2.2.14", - "electron-squirrel-startup": "^1.0.0", "electron-updater": "^3.2.3", "find-up": "^2.1.0", "graphcool-styles": "0.2.7", @@ -98,7 +97,7 @@ "graphql-config-extension-graphcool": "1.0.8", "graphql-config-extension-prisma": "^0.2.2", "graphql-playground-html": "^1.6.0", - "graphql-playground-react": "^1.7.9", + "graphql-playground-react": "^1.7.10", "immutable": "4.0.0-rc.9", "js-yaml": "^3.11.0", "lodash.merge": "^4.6.1", diff --git a/packages/graphql-playground-electron/src/main/index.ts b/packages/graphql-playground-electron/src/main/index.ts index 816aaff2f..cb00ec4aa 100644 --- a/packages/graphql-playground-electron/src/main/index.ts +++ b/packages/graphql-playground-electron/src/main/index.ts @@ -15,7 +15,6 @@ import { buildTemplate } from './menu' import { createWindow } from './createWindow' import { WindowContext } from './types' import { startUpdates } from './updates' -import squirrelStartup = require('electron-squirrel-startup') import * as Raven from 'raven' Raven.config( 'https://cce868d3730e473e9350f1436da7d908:ff5d65389e404b28b5af1d97d8024414@sentry.io/297194', @@ -24,10 +23,6 @@ Raven.config( log.transports.file.level = 'info' log.transports.console.level = 'debug' -// Immediately quit the app if squirrel is launching it -if (squirrelStartup) { - app.quit() -} const windowContext: WindowContext = { readyWindowsPromises: {}, diff --git a/packages/graphql-playground-electron/yarn.lock b/packages/graphql-playground-electron/yarn.lock index 79bb145cc..d5d60f2c2 100644 --- a/packages/graphql-playground-electron/yarn.lock +++ b/packages/graphql-playground-electron/yarn.lock @@ -1931,14 +1931,7 @@ code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" -codemirror-graphql@^0.6.11: - version "0.6.12" - resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.12.tgz#91a273fe5188857524a30221d06e645b4ca41f00" - dependencies: - graphql-language-service-interface "^1.0.16" - graphql-language-service-parser "^0.1.14" - -"codemirror-graphql@github:timsuchanek/codemirror-graphql#details-fix": +codemirror-graphql@^0.6.11, codemirror-graphql@timsuchanek/codemirror-graphql#details-fix: version "0.6.12" resolved "https://codeload.github.com/timsuchanek/codemirror-graphql/tar.gz/801ec32683c38d6dc0f8f7bc19014a111edc9ebd" dependencies: @@ -2816,12 +2809,6 @@ electron-publish@20.33.2: lazy-val "^1.0.3" mime "^2.3.1" -electron-squirrel-startup@^1.0.0: - version "1.0.0" - resolved "http://registry.npmjs.org/electron-squirrel-startup/-/electron-squirrel-startup-1.0.0.tgz#19b4e55933fa0ef8f556784b9c660f772546a0b8" - dependencies: - debug "^2.2.0" - electron-to-chromium@^1.2.7: version "1.3.84" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.84.tgz#2e55df59e818f150a9f61b53471ebf4f0feecc65" @@ -3745,7 +3732,7 @@ graphql-import@^0.7.1: lodash "^4.17.4" resolve-from "^4.0.0" -graphql-language-service-interface@^1.0.16, graphql-language-service-interface@^1.0.18: +graphql-language-service-interface@^1.0.18: version "1.3.2" resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-1.3.2.tgz#4bd5d49e23766c3d2ab65d110f26f10e321cc000" dependencies: @@ -3754,12 +3741,6 @@ graphql-language-service-interface@^1.0.16, graphql-language-service-interface@^ graphql-language-service-types "^1.2.2" graphql-language-service-utils "^1.2.2" -graphql-language-service-parser@^0.1.14: - version "0.1.14" - resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.1.14.tgz#dd25abda5dcff4f2268c9a19e026004271491661" - dependencies: - graphql-language-service-types "^0.1.14" - graphql-language-service-parser@^1.0.18, graphql-language-service-parser@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-1.2.2.tgz#010c8a5fdfae4726c8e15714137eee822753d3ea" @@ -3767,10 +3748,6 @@ graphql-language-service-parser@^1.0.18, graphql-language-service-parser@^1.2.2: graphql-config "2.0.1" graphql-language-service-types "^1.2.2" -graphql-language-service-types@^0.1.14: - version "0.1.14" - resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.1.14.tgz#e6112785fc23ea8222f59a7f00e61b359f263c88" - graphql-language-service-types@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-1.2.2.tgz#078e0abc7936a593968c946a039502af136a9743" @@ -3788,9 +3765,10 @@ graphql-playground-html@^1.6.0: version "1.6.5" resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.5.tgz#0de1a68db891f7356312cf03dcf371d67388e95a" -graphql-playground-react@^1.7.9: - version "1.7.9" - resolved "https://registry.yarnpkg.com/graphql-playground-react/-/graphql-playground-react-1.7.9.tgz#6a6a1c4b1e7f12c3a1235eb3ca7039a6fb595a5c" +graphql-playground-react@^1.7.10: + version "1.7.10" + resolved "https://registry.yarnpkg.com/graphql-playground-react/-/graphql-playground-react-1.7.10.tgz#12e1f7397524e9c05db224ddb4215f5435a36654" + integrity sha512-AQbBlL3Gtyuw5hxS9QC67dIc1dj1uqEB6IrD5Lh7uuQ+i6jUVFlI+ACXsKEvNiRYldYUk4Lfa6fIXV9nPZkuHQ== dependencies: apollo-link "^1.0.7" apollo-link-http "^1.3.2" diff --git a/packages/graphql-playground-html/package.json b/packages/graphql-playground-html/package.json index c3f119b64..1a51d690b 100644 --- a/packages/graphql-playground-html/package.json +++ b/packages/graphql-playground-html/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-html", - "version": "1.6.5", + "version": "1.6.6", "homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", "contributors": [ diff --git a/packages/graphql-playground-middleware-express/package.json b/packages/graphql-playground-middleware-express/package.json index 68f7bf2f4..a72c7bdc2 100644 --- a/packages/graphql-playground-middleware-express/package.json +++ b/packages/graphql-playground-middleware-express/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-middleware-express", - "version": "1.7.7", + "version": "1.7.8", "homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", "contributors": [ @@ -34,7 +34,7 @@ "typescript": "2.6.2" }, "dependencies": { - "graphql-playground-html": "1.6.5" + "graphql-playground-html": "1.6.6" }, "typings": "dist/index.d.ts", "typescript": { diff --git a/packages/graphql-playground-middleware-express/yarn.lock b/packages/graphql-playground-middleware-express/yarn.lock index 81b2c7d39..5665c1cef 100644 --- a/packages/graphql-playground-middleware-express/yarn.lock +++ b/packages/graphql-playground-middleware-express/yarn.lock @@ -36,9 +36,10 @@ glob@^7.0.5: once "^1.3.0" path-is-absolute "^1.0.0" -graphql-playground-html@1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.5.tgz#0de1a68db891f7356312cf03dcf371d67388e95a" +graphql-playground-html@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.6.tgz#f4efe0915a01dc79154b836fe3c980cebb7b56d2" + integrity sha512-VfCnMK24BwOAGhFzjknlboK0qs92d+1sHUDGQUgIAjOsTSNWmqfgNkDZsONZqUajfuVjOYRd0PxCDkCkaJs7Rw== inflight@^1.0.4: version "1.0.6" diff --git a/packages/graphql-playground-middleware-hapi/package.json b/packages/graphql-playground-middleware-hapi/package.json index 35c62386f..a69c7fb35 100644 --- a/packages/graphql-playground-middleware-hapi/package.json +++ b/packages/graphql-playground-middleware-hapi/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-middleware-hapi", - "version": "1.7.6", + "version": "1.7.7", "homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-hapi", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", "contributors": [ @@ -40,6 +40,6 @@ "definition": "dist/index.d.ts" }, "dependencies": { - "graphql-playground-html": "1.6.5" + "graphql-playground-html": "1.6.6" } } diff --git a/packages/graphql-playground-middleware-hapi/yarn.lock b/packages/graphql-playground-middleware-hapi/yarn.lock index 81b2c7d39..5665c1cef 100644 --- a/packages/graphql-playground-middleware-hapi/yarn.lock +++ b/packages/graphql-playground-middleware-hapi/yarn.lock @@ -36,9 +36,10 @@ glob@^7.0.5: once "^1.3.0" path-is-absolute "^1.0.0" -graphql-playground-html@1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.5.tgz#0de1a68db891f7356312cf03dcf371d67388e95a" +graphql-playground-html@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.6.tgz#f4efe0915a01dc79154b836fe3c980cebb7b56d2" + integrity sha512-VfCnMK24BwOAGhFzjknlboK0qs92d+1sHUDGQUgIAjOsTSNWmqfgNkDZsONZqUajfuVjOYRd0PxCDkCkaJs7Rw== inflight@^1.0.4: version "1.0.6" diff --git a/packages/graphql-playground-middleware-koa/package.json b/packages/graphql-playground-middleware-koa/package.json index fef5da70a..93123db97 100644 --- a/packages/graphql-playground-middleware-koa/package.json +++ b/packages/graphql-playground-middleware-koa/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-middleware-koa", - "version": "1.6.7", + "version": "1.6.8", "homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", "contributors": [ @@ -40,6 +40,6 @@ "definition": "dist/index.d.ts" }, "dependencies": { - "graphql-playground-html": "1.6.5" + "graphql-playground-html": "1.6.6" } } diff --git a/packages/graphql-playground-middleware-koa/yarn.lock b/packages/graphql-playground-middleware-koa/yarn.lock index 32aa73c31..02d566af2 100644 --- a/packages/graphql-playground-middleware-koa/yarn.lock +++ b/packages/graphql-playground-middleware-koa/yarn.lock @@ -108,9 +108,10 @@ glob@^7.0.5: once "^1.3.0" path-is-absolute "^1.0.0" -graphql-playground-html@1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.5.tgz#0de1a68db891f7356312cf03dcf371d67388e95a" +graphql-playground-html@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.6.tgz#f4efe0915a01dc79154b836fe3c980cebb7b56d2" + integrity sha512-VfCnMK24BwOAGhFzjknlboK0qs92d+1sHUDGQUgIAjOsTSNWmqfgNkDZsONZqUajfuVjOYRd0PxCDkCkaJs7Rw== http-assert@^1.1.0: version "1.3.0" diff --git a/packages/graphql-playground-middleware-lambda/package.json b/packages/graphql-playground-middleware-lambda/package.json index 8d6bd1222..45268a30e 100644 --- a/packages/graphql-playground-middleware-lambda/package.json +++ b/packages/graphql-playground-middleware-lambda/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-middleware-lambda", - "version": "1.7.7", + "version": "1.7.8", "homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-lambada", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", "contributors": [ @@ -39,6 +39,6 @@ "definition": "dist/index.d.ts" }, "dependencies": { - "graphql-playground-html": "1.6.5" + "graphql-playground-html": "1.6.6" } } diff --git a/packages/graphql-playground-middleware-lambda/yarn.lock b/packages/graphql-playground-middleware-lambda/yarn.lock index 81b2c7d39..5665c1cef 100644 --- a/packages/graphql-playground-middleware-lambda/yarn.lock +++ b/packages/graphql-playground-middleware-lambda/yarn.lock @@ -36,9 +36,10 @@ glob@^7.0.5: once "^1.3.0" path-is-absolute "^1.0.0" -graphql-playground-html@1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.5.tgz#0de1a68db891f7356312cf03dcf371d67388e95a" +graphql-playground-html@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.6.tgz#f4efe0915a01dc79154b836fe3c980cebb7b56d2" + integrity sha512-VfCnMK24BwOAGhFzjknlboK0qs92d+1sHUDGQUgIAjOsTSNWmqfgNkDZsONZqUajfuVjOYRd0PxCDkCkaJs7Rw== inflight@^1.0.4: version "1.0.6" diff --git a/packages/graphql-playground-react/package.json b/packages/graphql-playground-react/package.json index 3c4b0d6b6..2a84f6ba6 100644 --- a/packages/graphql-playground-react/package.json +++ b/packages/graphql-playground-react/package.json @@ -1,6 +1,6 @@ { "name": "graphql-playground-react", - "version": "1.7.9", + "version": "1.7.10", "main": "./lib/lib.js", "typings": "./lib/lib.d.ts", "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", diff --git a/scripts/release-html.sh b/scripts/release-html.sh index dd9cbf737..c7bf58a6f 100755 --- a/scripts/release-html.sh +++ b/scripts/release-html.sh @@ -18,8 +18,8 @@ middlewares=( cd graphql-playground-html echo "Releasing graphql-playground-html..." -npm version patch --no-git-tag-version -npm publish +yarn version --no-git-tag-version --new-version patch +yarn publish --non-interactive version=$(cat package.json | jq -r '.version') cd .. @@ -28,7 +28,7 @@ do cd $middleware echo "Releasing ${middleware}..." yarn add graphql-playground-html@$version - npm version patch --no-git-tag-version - npm publish + yarn version --no-git-tag-version --new-version patch + yarn publish --non-interactive cd .. done diff --git a/scripts/release-react.sh b/scripts/release-react.sh index 4c32f20cd..ee49880e5 100755 --- a/scripts/release-react.sh +++ b/scripts/release-react.sh @@ -19,8 +19,8 @@ middlewares=( cd graphql-playground-react yarn install echo "Releasing graphql-playground-react..." -npm version patch --no-git-tag-version -npm publish +yarn version --no-git-tag-version --new-version patch +yarn publish --non-interactive export version=$(cat package.json | jq -r '.version') cd .. @@ -36,20 +36,20 @@ curl -X POST \ ] }' -for middleware in "${middlewares[@]}" -do - cd $middleware - yarn install - echo "Releasing ${middleware}..." - cat package.json | jq ".playgroundVersion = \"$version\"" > package.tmp.json - mv package.tmp.json package.json - npm version patch --no-git-tag-version - npm publish - cd .. -done +# for middleware in "${middlewares[@]}" +# do +# cd $middleware +# yarn install +# echo "Releasing ${middleware}..." +# cat package.json | jq ".playgroundVersion = \"$version\"" > package.tmp.json +# mv package.tmp.json package.json +# npm version patch --no-git-tag-version +# npm publish +# cd .. +# done cd graphql-playground-electron echo "Updating dependency & version in graphql-playground-electron..." yarn add graphql-playground-react@$version -npm version patch --no-git-tag-version +yarn version --no-git-tag-version --new-version patch cd ..