diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f32b5ba..5a95fbbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## master +## 1.0.5 (July 22, 2016) +- Added typeStorage. If you create resolver in second time, it should reuse existed internal types + ## 1.0.4 (July 20, 2016) * expose `fieldsConverter` methods * fix filterHelper: if `filter` InputType without fields, then do not add it to args diff --git a/package.json b/package.json index 15e1801f..d4341ad9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-compose-mongoose", - "version": "1.0.4", + "version": "1.0.5", "description": "Plugin for `graphql-compose` which derive a graphql type from a mongoose model.", "files": [ "es", @@ -62,7 +62,7 @@ "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\\/src\\\//\\\/lib\\\//g'`.flow; done", "lint": "eslint src test *.js", - "prepublish": "npm run build", + "prepublish": "npm run test && npm run build", "test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", "watch": "babel-node ./resources/watch.js" }