Commit Graph

160 Commits

Author SHA1 Message Date
Tim Griesser 4d8e37177b
feat: better esm support, remove top-level node imports (#1112)
* test for esm/esbuild use of nexus

* refactor: add nodeImports, remove top-level references

* Don't minify the esbuild test script

* A bit more explicit of a check on the process being node
2022-07-02 16:08:16 -04:00
Tim Griesser df9cb700a9 chore: update the dripip workflow, bump lint-staged 2022-05-15 14:50:03 -04:00
Tim Griesser 6c1530a3d5 v1.3.0 2022-03-05 15:26:42 -05:00
Tim Griesser 0d06f26b12
feat: add GraphQL 16 support (#977) 2022-02-17 12:47:40 -05:00
Tim Griesser 7e744aa0d3
refactor: Internal type cleanup (#980)
* refactor: Internal type cleanup
* chore: Remove prettier-plugin-jsdoc as its output is non-determinstic
2021-09-03 14:04:28 +00:00
Jason Kuhrt df7d1370f9
feat: field config with name (#938) 2021-06-23 16:27:02 -04:00
Jason Kuhrt 4c52f594fe chore: update package git repo url 2020-12-16 08:59:33 -05:00
Flavian Desverne 80ad53135c
improve!: rename package to nexus (#699)
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>

COMPLETES INITIAL DEVELOPMENT

BREAKING CHANGE:

You will now need to install Nexus Schema from the npm package `nexus` instead of `@nexus/schema`.
2020-12-14 09:41:29 -05:00
Tim Griesser 96368ab5c1
feat: allow arbitrary extensions on nexus types (#684)
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
2020-12-07 09:10:15 -05:00
Tim Griesser 0cff2205c3
feat: Don't force async if connection resolvers are sync (#707) 2020-12-06 19:23:57 -05:00
Tim Griesser 439864aabb
chore: Prettier on the codebase for JSDoc formatting (#706) 2020-12-06 15:47:58 -05:00
Jason Kuhrt 2c8102b37e
docs: cover objectType with jsdocs (#703) 2020-12-04 13:53:57 -05:00
Tim Griesser fae8aeb722 chore: bump jest testTimeout, seems to flake on unionTooComplexToRepresent 2020-11-27 14:40:49 -05:00
Tim Griesser cf5b2695dc
feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
Jason Kuhrt 506b61b2a8
deps: update to latest (#649)
* deps: update to latest

* update docs
2020-11-23 09:27:11 -05:00
Tim Griesser ab4b627acb
chore: Restore integration codegen removed in #629 and #630 (#654) 2020-11-21 17:02:58 -05:00
Tim Griesser 481e2c77fe
feat: Allow contextType to specify an TypingImport config (#606)
Co-authored-by: Flavian DESVERNE <flavian.desverne@epitech.eu>
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
2020-11-20 11:00:18 -05:00
Flavian Desverne 5a8fcae3bd
chore: run integration tests separately (#630) 2020-11-17 18:31:13 +01:00
Tim Griesser cc12ec16fb
fix: add deprecated, description, nullable to connectionField (#578) 2020-10-27 14:21:30 -04:00
Jason Kuhrt 083c1ad981 test: capture union too large error 2020-10-22 16:08:00 -04:00
Tim Griesser a8df05ced2
chore: Use codecov/codecov-action GH action (#534) 2020-10-04 09:21:16 -04:00
Tim Griesser 85bf467cde
chore: Restoring codecov (#532) 2020-10-03 17:31:01 -04:00
Tim Griesser 8f3189c069
chore: Keep prettier config local to the project (#531) 2020-10-03 16:26:50 -04:00
Tim Griesser 2bceeb915f
chore: Bumping deps & adding scripts for running examples (#530) 2020-10-03 15:50:56 -04:00
Jan Piotrowski 27d5b82e0b
chore: update url in package.json (#524) 2020-10-01 09:42:37 -04:00
Jan Piotrowski efa96cb113
feat: new docs site (#500)
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
2020-09-30 12:25:39 +02:00
Jason Kuhrt ddb1211d45 chore: upgrade dripip 2020-09-22 09:24:22 -04:00
Jason Kuhrt 0ee644b234
feat(deps)!: upgrade to graphql v15 (#486)
closes #410

BREAKING CHANGE:

The graphql peer dep requirement has been bumped to v15.

No graphql v15 exclusive features have been shipped yet. But this update
sets us up to begin that work.

Support for graphql v14 and lower has been dropped. It may technically work
still (the test suite did not show any major reasons why it won't, for
now/currently) but there is no guarantee about that remaining so in the
future. Internally we are only testing against v15. Certain new grpahqljs
v15 features like interfaces being able to implement other interfaces will
be released in the future.

If you absolutely cannot upgrade from graphql v14 right now then stay with
@nexus/schema v15. But if you also really need a new @nexus/schema feature
on v16+ (future) then you can try your luck with it an older version of
graphqljs.
2020-08-07 16:12:15 -04:00
Jason Kuhrt 61eccca200
fix: MaybePromiseDeep case of null with .then (#475)
closes #470
closes #474 (thanks @Sytten)
2020-08-03 16:56:44 -04:00
Jason Kuhrt 78af75686d
chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
Jason Kuhrt ee7c37118c
feat: use prettier api to load config (#460) 2020-07-01 23:23:17 -04:00
Jason Kuhrt 9c8e7762fa
feat: support typescript 3.9 (#459)
One internal type error was raised with 3.9 that wasn't before.

This might have led to end-users having to enable skipLibCheck?

For the uncertainty, treating this as a feature as opposed to a chore.
2020-07-01 23:06:45 -04:00
Jason Kuhrt bf0df64ebd
tests: add windows to os matrix (#405) 2020-06-10 10:02:04 -04:00
Jason Kuhrt b3abdb9391 chore: dripip managed version 2020-06-03 16:11:57 -04:00
Jason Kuhrt 8c7b047a7b chore: setup dripip for release scripts 2020-06-03 16:09:38 -04:00
Jason Kuhrt d597086177 v0.14.0-next.2 2020-05-12 14:00:47 -04:00
Jason Kuhrt 133c4a4705
feat: publish esm builds (#438) 2020-05-12 13:58:58 -04:00
Jason Kuhrt 63e9ea0fbf v0.14.0-next.1 2020-04-07 11:39:12 -04:00
Jason Kuhrt 7da4bb18a4 v0.13.1 2020-03-30 16:38:01 -04:00
Jason Kuhrt 3816e0511d fix: remove transition postinstall message 2020-03-30 16:37:26 -04:00
Jason Kuhrt 51703e19e0 v0.13.0 2020-03-30 16:32:28 -04:00
Jason Kuhrt 8b1a760019 feat: switch over to component package 2020-03-30 14:47:35 -04:00
Jason Kuhrt 1d326ee401 v0.12.0 2020-03-30 14:23:24 -04:00
Jason Kuhrt 60aea51c66 v0.12.0-rc.14 2020-03-19 20:36:56 -04:00
Jason Kuhrt aa85aca4a8
improve: add post-install framework notice (#398) 2020-03-19 18:32:58 -04:00
Jason Kuhrt 5b0b231387 v0.12.0-rc.13 2020-02-18 11:56:25 -05:00
Jason Kuhrt 9c60bcbb36 v0.12.0-rc.12 2020-02-18 10:17:44 -05:00
Tim Griesser c59c0acc2d v0.12.0-rc.11 2020-02-11 11:57:20 -05:00
Tim Griesser 98c4ab4cdf
fix: remove graphql-query-complexity import, closes #376 (#377)
* fix: remove graphql-query-complexity import, closes #376

* Remove unneeded graphql-query-complexity from devDependencies
2020-02-11 11:54:25 -05:00
Tim Griesser 7d9e0748e8 v0.12.0-rc.10 2020-02-10 19:13:49 -05:00