Skip to content

Commit 0abb61c

Browse files
committed
chore: released new versions react & html
1 parent 2ee16d1 commit 0abb61c

File tree

6 files changed

+42
-15
lines changed

6 files changed

+42
-15
lines changed

packages/graphql-playground-electron/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage": "https://github.com/graphcool/graphql-playground",
55
"repository": "graphcool/graphql-playground",
66
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)",
7-
"version": "v1.3.17",
7+
"version": "1.3.18",
88
"author": {
99
"name": "Graphcool",
1010
"email": "[email protected]",
@@ -95,6 +95,7 @@
9595
"graphcool-ui": "^0.0.13",
9696
"graphql-config": "^1.1.2",
9797
"graphql-config-extension-graphcool": "1.0.0",
98+
"graphql-playground-react": "1.3.18",
9899
"js-yaml": "^3.10.0",
99100
"lodash.merge": "^4.6.0",
100101
"minimist": "^1.2.0",

packages/graphql-playground-html/package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"name": "graphql-playground-html",
3-
"version": "1.4.0",
4-
"homepage":
5-
"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html",
6-
"description":
7-
"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
3+
"version": "1.4.1",
4+
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html",
5+
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
86
"contributors": [
97
"Tim Suchanek <[email protected]>",
108
"Johannes Schickling <[email protected]>",
@@ -13,12 +11,19 @@
1311
"repository": "http://github.com/graphcool/graphql-playground.git",
1412
"license": "SEE LICENSE IN LICENSE",
1513
"main": "dist/index.js",
16-
"files": ["dist"],
14+
"files": [
15+
"dist"
16+
],
1717
"scripts": {
1818
"build": "rimraf dist && tsc",
1919
"prepare": "npm run build"
2020
},
21-
"keywords": ["graphql", "graphiql", "playground", "graphcool"],
21+
"keywords": [
22+
"graphql",
23+
"graphiql",
24+
"playground",
25+
"graphcool"
26+
],
2227
"devDependencies": {
2328
"@types/node": "^8.5.2",
2429
"typescript": "^2.6.1"

packages/graphql-playground-middleware-express/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-playground-middleware-express",
3-
"version": "1.4.0",
3+
"version": "1.4.2",
44
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express",
55
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
66
"contributors": [
@@ -33,8 +33,9 @@
3333
"typescript": "^2.6.2"
3434
},
3535
"dependencies": {
36-
"graphql-playground-html": "^1.4.0",
37-
"graphql-playground-middleware": "^1.2.1-beta.6"
36+
"graphql-playground-html": "1.4.1",
37+
"graphql-playground-middleware": "^1.2.1-beta.6",
38+
"graphql-playground-react": "1.3.18"
3839
},
3940
"typings": "dist/index.d.ts",
4041
"typescript": {

packages/graphql-playground-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-playground-react",
3-
"version": "1.3.17",
3+
"version": "1.3.18",
44
"main": "./lib/lib.js",
55
"typings": "./lib/lib.d.ts",
66
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",

scripts/release-html.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ cd graphql-playground-html
1515
echo "Releasing graphql-playground-html..."
1616
npm version patch --no-git-tag-version
1717
npm publish
18+
version=$(cat package.json | jq -r '.version')
1819
cd ..
1920

2021
for middleware in "${middlewares[@]}"
2122
do
2223
cd $middleware
2324
echo "Releasing ${middleware}..."
24-
yarn add graphql-playground-html
25+
yarn add graphql-playground-html@$version
2526
npm version patch --no-git-tag-version
2627
npm publish
2728
cd ..

scripts/release-react.sh

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,37 @@ middlewares=(
1111
# graphql-playground-middleware-lambda
1212
)
1313

14-
cd graphql-playground-html
14+
cd graphql-playground-react
1515
echo "Releasing graphql-playground-react..."
1616
npm version patch --no-git-tag-version
1717
npm publish
18+
version=$(cat package.json | jq -r '.version')
1819
cd ..
1920

2021
for middleware in "${middlewares[@]}"
2122
do
2223
cd $middleware
2324
echo "Releasing ${middleware}..."
24-
yarn add graphql-playground-react
25+
yarn add graphql-playground-react@$version
2526
npm version patch --no-git-tag-version
2627
npm publish
2728
cd ..
2829
done
30+
31+
cd graphql-playground-electron
32+
echo "Updating dependency & version in graphql-playground-electron..."
33+
yarn add graphql-playground-react@$version
34+
npm version patch --no-git-tag-version
35+
cd ..
36+
37+
echo "Updating JSDeliver cache..."
38+
curl -X POST \
39+
http://purge.jsdelivr.net/ \
40+
-H 'cache-control: no-cache' \
41+
-H 'content-type: application/json' \
42+
-d '{
43+
"path": [
44+
"/npm/graphql-playground-react/middleware-build/static/css/main.css",
45+
"/npm/graphql-playground-react/middleware-build/static/js/main.js"
46+
]
47+
}'

0 commit comments

Comments
 (0)