diff --git a/lerna.json b/lerna.json index 3463405506e..2d6704be764 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.0.0-beta.38", - "version": "0.5.1", + "version": "0.6.0", "changelog": { "repo": "apollostack/graphql-server", "labels": { diff --git a/package.json b/package.json index 9f1bafe23fd..bfbb14ae3c5 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,11 @@ "travis": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace ./test/tests.js", "posttravis": "npm run lint", "postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info", - "check-updates": "lerna exec ./node_modules/.bin/npm-check-updates -- -u" + "check-updates": "ncu -u && lerna exec ../../node_modules/.bin/ncu -- -u", + "postcheck-updates": "npm test && npm run commit-updates", + "commit-updates": "git add \"packages/*/package.json\" package.json; git commit -m \"Update dependencies\" || exit 0", + "prerelease": "npm run check-updates", + "release": "lerna publish" }, "devDependencies": { "@types/chai": "^3.4.34", diff --git a/packages/graphql-server-core/package.json b/packages/graphql-server-core/package.json index d8a1919599e..396b8e66534 100644 --- a/packages/graphql-server-core/package.json +++ b/packages/graphql-server-core/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-core", - "version": "0.5.1", + "version": "0.6.0", "description": "Core engine for Apollo GraphQL server", "main": "dist/index.js", "scripts": { diff --git a/packages/graphql-server-express/package.json b/packages/graphql-server-express/package.json index 9c93ec518c1..435eb064150 100644 --- a/packages/graphql-server-express/package.json +++ b/packages/graphql-server-express/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-express", - "version": "0.5.1", + "version": "0.6.0", "description": "Production-ready Node.js GraphQL server for Express and Connect", "main": "dist/index.js", "scripts": { @@ -30,15 +30,15 @@ "graphql-server-module-graphiql": "^0.6.0" }, "devDependencies": { - "@types/body-parser": "0.0.33", + "@types/body-parser": "1.16.1", "@types/connect": "^3.4.30", "@types/express": "^4.0.35", "@types/multer": "0.0.33", "body-parser": "^1.16.0", "connect": "^3.5.0", - "connect-query": "^0.2.0", + "connect-query": "^1.0.0", "express": "^4.14.0", - "graphql-server-integration-testsuite": "^0.5.1", + "graphql-server-integration-testsuite": "^0.6.0", "multer": "^1.2.1" }, "peerDependencies": { diff --git a/packages/graphql-server-hapi/package.json b/packages/graphql-server-hapi/package.json index 69e29497da6..9d4eb22df92 100644 --- a/packages/graphql-server-hapi/package.json +++ b/packages/graphql-server-hapi/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-hapi", - "version": "0.5.1", + "version": "0.6.0", "description": "Production-ready Node.js GraphQL server for Hapi", "main": "dist/index.js", "scripts": { @@ -32,7 +32,7 @@ "devDependencies": { "@types/boom": "0.0.33", "@types/hapi": "^16.0.0", - "graphql-server-integration-testsuite": "^0.5.1", + "graphql-server-integration-testsuite": "^0.6.0", "hapi": "^16.1.0", "@types/graphql": "^0.8.5" }, diff --git a/packages/graphql-server-integration-testsuite/package.json b/packages/graphql-server-integration-testsuite/package.json index b8987968cb2..b3db2661d17 100644 --- a/packages/graphql-server-integration-testsuite/package.json +++ b/packages/graphql-server-integration-testsuite/package.json @@ -1,7 +1,7 @@ { "name": "graphql-server-integration-testsuite", "private": true, - "version": "0.5.1", + "version": "0.6.0", "description": "Apollo Server Integrations testsuite", "main": "dist/index.js", "scripts": { diff --git a/packages/graphql-server-koa/package.json b/packages/graphql-server-koa/package.json index 084f7f0a667..80794532f29 100644 --- a/packages/graphql-server-koa/package.json +++ b/packages/graphql-server-koa/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-koa", - "version": "0.5.1", + "version": "0.6.0", "description": "Production-ready Node.js GraphQL server for Koa", "main": "dist/index.js", "scripts": { @@ -32,9 +32,9 @@ "@types/koa": "^2.0.33", "@types/koa-bodyparser": "^3.0.19", "@types/koa-router": "^7.0.21", - "graphql-server-integration-testsuite": "^0.5.1", + "graphql-server-integration-testsuite": "^0.6.0", "koa": "^2.0.0-alpha.4", - "koa-bodyparser": "^3.0.0", + "koa-bodyparser": "^3.2.0", "koa-router": "^7.0.1" }, "peerDependencies": { diff --git a/packages/graphql-server-lambda/package.json b/packages/graphql-server-lambda/package.json index 69f32c8d565..0eed919514a 100644 --- a/packages/graphql-server-lambda/package.json +++ b/packages/graphql-server-lambda/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-lambda", - "version": "0.5.1", + "version": "0.6.0", "description": "Production-ready Node.js GraphQL server for AWS Lambda", "main": "dist/index.js", "scripts": { @@ -29,9 +29,9 @@ "graphql-server-module-graphiql": "^0.6.0" }, "devDependencies": { - "@types/aws-lambda": "0.0.6", + "@types/aws-lambda": "0.0.9", "@types/graphql": "^0.8.6", - "graphql-server-integration-testsuite": "^0.5.1" + "graphql-server-integration-testsuite": "^0.6.0" }, "peerDependencies": { "graphql": "^0.8.0 || ^0.9.0" diff --git a/packages/graphql-server-module-graphiql/package.json b/packages/graphql-server-module-graphiql/package.json index b1151bac0f8..6cf38cf5ca8 100644 --- a/packages/graphql-server-module-graphiql/package.json +++ b/packages/graphql-server-module-graphiql/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-module-graphiql", - "version": "0.4.4", + "version": "0.6.0", "description": "GraphiQL renderer for Apollo GraphQL Server", "main": "dist/index.js", "scripts": { diff --git a/packages/graphql-server-module-operation-store/package.json b/packages/graphql-server-module-operation-store/package.json index b935891fd6d..9466fd4d942 100644 --- a/packages/graphql-server-module-operation-store/package.json +++ b/packages/graphql-server-module-operation-store/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-module-operation-store", - "version": "0.5.0", + "version": "0.6.0", "description": "Persisted operation store module for Apollo GraphQL Servers", "main": "dist/index.js", "scripts": { diff --git a/packages/graphql-server-restify/package.json b/packages/graphql-server-restify/package.json index 58a66e59a44..58d3349edde 100644 --- a/packages/graphql-server-restify/package.json +++ b/packages/graphql-server-restify/package.json @@ -1,6 +1,6 @@ { "name": "graphql-server-restify", - "version": "0.5.1", + "version": "0.6.0", "description": "Production-ready Node.js GraphQL server for Restify", "main": "dist/index.js", "scripts": { @@ -30,7 +30,7 @@ }, "devDependencies": { "@types/restify": "^2.0.38", - "graphql-server-integration-testsuite": "^0.5.1", + "graphql-server-integration-testsuite": "^0.6.0", "restify": "^4.1.1" }, "peerDependencies": {