v0.12.0-beta.10

This commit is contained in:
Jason Kuhrt 2019-10-07 21:03:25 -04:00
parent eb963da09e
commit 23801aca59
2 changed files with 31 additions and 3 deletions

View File

@ -1,5 +1,33 @@
# Changelog
### 0.12.0 (next)
#### beta.10
- feat(config): env var for should-generate-artifacts (#244)
You can now set the `shouldGenerateArtifacts` config option by env var
`NEXUS_SHOULD_GENERATE_ARTIFACTS=true|false`.
- fix(typegen): delete prev file before writing next (#252)
Before, sometimes, you would have to open the typegen file to make VSCode pick
up its changed version. This change should reduce/remove the need for this
workaround.
* feat: by default typegen as an @types package (#230)
BREAKING CHANGE
You should not have to configure typegen manually anymore. We
generate by default into `node_modules/@types/nexus-typegen` which TypeScript
will automatically pick up. If you use the `types` `tsc` compiler option
however, make sure to include `nexus-typegen`.
This is a breaking change because typegen is enabled even when config
`outputs` have not been configured (before, they were required). The
heuristics of `shouldGenerateArtifacts` remain unchanged.
### 0.11.7
- Types: Allow Promise return value for subscriptions

View File

@ -1,6 +1,6 @@
{
"name": "nexus",
"version": "0.12.0-beta.9",
"version": "0.12.0-beta.10",
"main": "dist",
"types": "dist/index.d.ts",
"license": "MIT",
@ -41,14 +41,14 @@
},
"devDependencies": {
"@types/graphql": "14.0.7",
"@types/graphql-iso-date": "^3.3.3",
"@types/jest": "^23.3.7",
"@types/node": "^10.12.2",
"@types/prettier": "^1.15.2",
"@types/graphql-iso-date": "^3.3.3",
"graphql": "^14.0.2",
"graphql-iso-date": "^3.6.1",
"husky": "^1.1.2",
"jest": "^24",
"graphql-iso-date": "^3.6.1",
"jest-watch-typeahead": "^0.3.1",
"lint-staged": "^7.3.0",
"prettier": "^1.16.0",