Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Dec 1, 2017
1 parent a8f471f commit 88e88d1
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 44 deletions.
4 changes: 2 additions & 2 deletions packages/graphql-playground-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"homepage": "https://github.com/graphcool/graphql-playground",
"repository": "graphcool/graphql-playground",
"description": "Playground app",
"version": "1.3.0-beta.4",
"version": "1.3.0",
"author": {
"name": "Graphcool",
"email": "contact@graph.cool",
Expand Down Expand Up @@ -138,7 +138,7 @@
"extract-text-webpack-plugin": "^2.0.0-beta.3",
"file-loader": "^0.11.2",
"fork-ts-checker-webpack-plugin": "^0.1.5",
"graphql-playground": "^1.3.0-beta.4",
"graphql-playground": "^1.3.0",
"happypack": "^3.1.0",
"html-webpack-plugin": "^2.30.1",
"identity-obj-proxy": "^3.0.0",
Expand Down
34 changes: 23 additions & 11 deletions packages/graphql-playground-electron/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3248,23 +3248,23 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6,
version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"

graphcool-styles@^0.1.31:
version "0.1.31"
resolved "https://registry.yarnpkg.com/graphcool-styles/-/graphcool-styles-0.1.31.tgz#efb04329a0e5d2788023e45e43925a85664e83dd"
graphcool-styles@0.2.4:
version "0.2.4"
resolved "https://registry.yarnpkg.com/graphcool-styles/-/graphcool-styles-0.2.4.tgz#c04aa8a440280e910e4c9cfa1ef97052d1060198"
dependencies:
html-webpack-plugin "^2.24.1"
interactive "^0.1.9"
isomorphic-fetch "^2.2.1"
object-assign "^4.1.0"
react-dom "^15.3.2"
webpack-dev-server "^1.16.2"

graphcool-styles@^0.2.5:
version "0.2.5"
resolved "https://registry.yarnpkg.com/graphcool-styles/-/graphcool-styles-0.2.5.tgz#4cc151afb39e29b46f31f44a9b531d970d9d4cf8"
graphcool-styles@^0.1.31:
version "0.1.31"
resolved "https://registry.yarnpkg.com/graphcool-styles/-/graphcool-styles-0.1.31.tgz#efb04329a0e5d2788023e45e43925a85664e83dd"
dependencies:
html-webpack-plugin "^2.24.1"
interactive "^0.1.9"
isomorphic-fetch "^2.2.1"
object-assign "^4.1.0"
react-dom "^15.3.2"
webpack-dev-server "^1.16.2"
Expand Down Expand Up @@ -3338,15 +3338,15 @@ graphql-language-service-utils@0.0.17:
graphql "^0.10.1"
graphql-language-service-types "0.0.21"

graphql-playground@^1.3.0-beta.4:
version "1.3.0-beta.4"
resolved "https://registry.yarnpkg.com/graphql-playground/-/graphql-playground-1.3.0-beta.4.tgz#1deff93286d39aaf7fe98947949b53b71364c7df"
graphql-playground@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/graphql-playground/-/graphql-playground-1.3.0.tgz#373f6e74ca399739c913dfc69d0a0c3c0bd660bd"
dependencies:
calculate-size "^1.1.1"
classnames "^2.2.5"
codemirror "^5.27.4"
cuid "^1.3.8"
graphcool-styles "^0.2.5"
graphcool-styles "0.2.4"
graphcool-tmp-ui "^0.0.11"
graphiql "^0.11.2"
graphql "^0.10.5"
Expand Down Expand Up @@ -6719,6 +6719,18 @@ styled-components@^2.2.3:
postcss-load-plugins "^2.2.0"
styled-jsx "^0.5.7"

"styled-jsx-postcss@git+https://github.com/timsuchanek/styled-jsx-postcss.git#build3":
version "0.2.0"
uid "677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
resolved "git+https://github.com/timsuchanek/styled-jsx-postcss.git#677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
dependencies:
babel-traverse "^6.21.0"
babylon "^6.14.1"
deasync "^0.1.9"
postcss "^5.2.8"
postcss-load-plugins "^2.2.0"
styled-jsx "^0.5.7"

styled-jsx@0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-0.5.2.tgz#59740216c3db371636f9beec02149f9da5ea02e5"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-playground-middleware-express",
"version": "1.3.0-beta.3",
"version": "1.3.0",
"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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-playground-middleware-hapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-playground-middleware-hapi",
"version": "1.3.0-beta.3",
"version": "1.3.0",
"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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-playground-middleware-koa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-playground-middleware-koa",
"version": "1.3.0-beta.3",
"version": "1.3.0",
"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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-playground-middleware-lambda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-playground-middleware-lambda",
"version": "1.3.0-beta.3",
"version": "1.3.0",
"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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-playground",
"version": "1.3.0-beta.4",
"version": "1.3.0",
"main": "./lib/lib.js",
"typings": "./lib/lib.d.ts",
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
Expand Down
52 changes: 26 additions & 26 deletions packages/graphql-playground/src/middlewareIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ if (process.env.NODE_ENV !== 'production') {
init(element: HTMLElement, options) {
ReactDOM.render(
<MiddlewareApp
configString={exampleYmlConfig}
folderName={folderName}
// configString={exampleYmlConfig}
// folderName={folderName}
setTitle={true}
showNewWorkspace={false}
env={env}
Expand Down Expand Up @@ -46,31 +46,31 @@ if (process.env.NODE_ENV !== 'production') {
// }
// }`

const folderName = `airbnb`
// const folderName = `airbnb`

const exampleYmlConfig = `\
schemaPath: schema.graphql
projects:
privateCluster:
extensions:
endpoints:
default:
url: 'https://tim.graph.cool/system'
gateway:
extensions:
endpoints:
default:
url: 'https://airbnb.now.sh'
subscription: 'wss://airbnb.now.sh'
dev:
url: 'http://localhost:4000'
subscription: 'ws://localhost:4000'
database:
extensions:
endpoints:
dev:
url: 'https://api.graph.cool/simple/v1/\${env:SERVICE_ID}'
`
// const exampleYmlConfig = `\
// schemaPath: schema.graphql
// projects:
// privateCluster:
// extensions:
// endpoints:
// default:
// url: 'https://tim.graph.cool/system'
// gateway:
// extensions:
// endpoints:
// default:
// url: 'https://airbnb.now.sh'
// subscription: 'wss://airbnb.now.sh'
// dev:
// url: 'http://localhost:4000'
// subscription: 'ws://localhost:4000'
// database:
// extensions:
// endpoints:
// dev:
// url: 'https://api.graph.cool/simple/v1/\${env:SERVICE_ID}'
// `

// const exampleYmlConfig = `\
// schemaPath: schema.graphql
Expand Down

0 comments on commit 88e88d1

Please sign in to comment.