Commit Graph

723 Commits

Author SHA1 Message Date
Tim Griesser ae22e3ac01 Remove reference to defaultResolver, close #206 2019-11-07 23:11:03 -05:00
Tim Griesser 30968408b4
Update CHANGELOG.md 2019-11-07 17:38:00 -05:00
Tim Griesser 50bf2981e7
feat(epic): 0.12.0 Plugin System and Internal Refactor (#242)
See #242 for a full summary
2019-11-07 16:39:33 -05:00
dependabot[bot] b0848370a8 chore(deps): bump knex from 0.16.3 to 0.19.5 in /examples/ghost (#301)
Bumps [knex](https://github.com/tgriesser/knex) from 0.16.3 to 0.19.5.
- [Release notes](https://github.com/tgriesser/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tgriesser/knex/compare/0.16.3...0.19.5)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-06 10:19:20 -05:00
dependabot[bot] 3b31920819 chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /examples/star-wars (#300)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-06 10:19:08 -05:00
dependabot[bot] 31e92e0649 chore(deps): bump mixin-deep in /examples/kitchen-sink (#299)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-06 10:18:57 -05:00
Tim Griesser 17b9afb8ce
Cleanup codegen from examples to make plugins diff less noisy (#298) 2019-11-04 15:04:06 -05:00
Tim Griesser a190ec2655
Supply stage of builder execution to dynamics, fix #289 (#293) 2019-10-30 09:15:07 -07:00
Tim Griesser 23934b5c5d
chore(codecov): Only use codecov diff coverage (#276)
* chore(codecov): Only use codecov diff coverage
* Add .ts to files run through prettier on pre-commit
2019-10-20 15:21:54 -04:00
Jason Kuhrt e0c5f5458a
docs(example): show nexus + zeit + typescript (#274)
closes #270
2019-10-18 13:51:39 +02:00
Jason Kuhrt 29f558b3a2 v0.12.0-beta.14 2019-10-16 23:08:57 +02:00
Jason Kuhrt bac64560e7
feat(plugins): onInstall hook (#236) 2019-10-16 22:55:53 +02:00
Jason Kuhrt 62a6006c64 tests: remove invalid case
Being able to build with type checking on but without typegen is not
inteded to be supported. The following workflows for example are:

1. --transpile-only development builds
2. IDE feedback based on types + typegen
3. production builds where no --transpile-only check is used, based on types + typegen
2019-10-16 22:41:51 +02:00
Pascal Martineau 25539fd552 Fix comment for node_modules/@types/nexus-typegen (#268) 2019-10-16 10:43:06 +02:00
Jason Kuhrt 62e9ac3161 docs: remove inline nexus-prisma docs
closes prisma-labs/nexus-prisma#380
2019-10-15 23:12:00 +02:00
Jason Kuhrt c404b51067 deps(website): update all breaking 2019-10-15 22:16:52 +02:00
Jason Kuhrt 78d05efec7 deps(website): update to gulp4 2019-10-15 22:12:47 +02:00
Flavian Desverne c0dda7b473
Add slack badge 2019-10-15 19:03:41 +02:00
Tim Griesser 4a6fdcf428
chore: add codecov (#258) 2019-10-10 10:48:23 -04:00
Jason Kuhrt abcb5c845f
feat(deps): add support for TypeScript 3.6 (#255)
closes #241
2019-10-09 08:13:53 -04:00
Jason Kuhrt 9f3ccba94f v0.12.0-beta.13 2019-10-08 22:15:12 -04:00
Johannes Schickling 81a4766dde
Update README.md 2019-10-08 15:38:59 +02:00
Tim Griesser 6d5ea16372 fix(typegen): explicitly await removeFile before write (#254) 2019-10-08 09:13:57 -04:00
Jason Kuhrt b8c1ba5a44 v0.12.0-beta.12 2019-10-07 21:52:33 -04:00
Jason Kuhrt 573096eff9 fix(typegen): correct default typegen @types path! 2019-10-07 21:51:44 -04:00
Jason Kuhrt c29c846c7d v0.12.0-beta.11 2019-10-07 21:40:26 -04:00
Jason Kuhrt 80f1e69f9e chore: fix tests 2019-10-07 21:39:42 -04:00
Jason Kuhrt 45dc5abe82 fix(typegen): correct default typegen @types path 2019-10-07 21:38:10 -04:00
Jason Kuhrt 23801aca59 v0.12.0-beta.10 2019-10-07 21:14:24 -04:00
Jason Kuhrt eb963da09e
feat(config): env var for should-generate-artifacts (#244)
This allows setting the `shouldGenerateArtifacts` config option by env var `NEXUS_SHOULD_GENERATE_ARTIFACTS`
2019-10-07 20:59:15 -04:00
Jason Kuhrt 1635d5ab1b
docs: remove spectrum link (#250) 2019-10-07 20:54:15 -04:00
Jason Kuhrt 9ceb53216a
feat(typegen): nicer generated package name (#248)
* feat(typegen): nicer generated package name

This can impact the end-user when they, for example, are using the `types` TS compiler option. In that situation, expressing a whitelist of TypeScript type-packages, in a Nexus app, it would be important that the user also include typegen or else tsc would stop seeing it (forcing the
user to do Nexus typegen config). To make it easier for users to do that, this change allows them refer to a pretty name, rather than something hard to predict, remember, and ugly looking.
2019-10-07 20:51:28 -04:00
Jason Kuhrt 6a05a6da79
fix(typegen): delete prev file before writing next (#252)
closes #247
2019-10-07 19:26:47 -04:00
Jason Kuhrt 10f5198021
refactor: clean up config processing & tests (#246)
* refactor: clean up config processing & tests

* refactor
2019-10-04 11:09:22 -04:00
Jason Kuhrt aa41026438 fix(config): correct default output paths 2019-10-03 20:34:11 -04:00
Jason Kuhrt 6fe74c49c6 chore: correct code comment 2019-10-03 15:37:28 -04:00
Jason Kuhrt 013a606548
feat: by default typegen as an @types package (#230) 2019-10-03 14:25:01 -04:00
Jason Kuhrt 7a3750b025
chore: simplify tsconfig (#240) 2019-10-03 12:37:46 -04:00
许盛 8cf2d6b3e2 docs(prisma2): fix some api and link error (#231) 2019-10-02 16:16:24 -04:00
Jason Kuhrt 4c80db3e10
chore: dev script for lib work (#235) 2019-10-02 16:13:33 -04:00
Lachlan f37f20b206 core: replace circleci badge link (#233)
QOL change for users of npmjs and such
2019-09-30 13:15:03 -04:00
Jason Kuhrt 9727c0ee86 chore: apply prettier to test code 2019-09-27 09:12:54 -04:00
Jason Kuhrt 8322608eab chore: improve assertion error message 2019-09-26 14:15:42 -04:00
Jason Kuhrt e2b75fc36d
refactor: simplify integration test (#228) 2019-09-23 16:35:34 -04:00
Tim Griesser 79788ba874
Remove file:. from devDependencies (#227) 2019-09-23 15:07:30 -04:00
Tim Griesser 9f4ab9d830
Improving code coverage (#225)
* Improving overall coverage
* Improve jest config
* Remove unused internal builder methods
* Prefer non-inline snapshots
2019-09-22 21:28:27 -04:00
Gabriel Konkle e58664e671 Correct error message about absolute paths (#217) 2019-09-21 16:12:58 -04:00
Brice BERNARD 0a77f622e9 Test examples with CI (#220)
* Update CI config to test examples

* Fix star wars example

* Update yarn.lock of nexus-prisma example

* Fix kitchen-sink example

* Update nexus to beta9 in star wars example

* Upgrade nexus in ts-ast-reader example

* Fix ghost example

* Fix githunt-api example

* Make githunt-api test pass

* Fix nexus-prisma example

* Fix typing in ts-ast-reader

* Use yarn link when nexus deps is already 0.12.0-beta.9

* Remove yarn link from example_ghost

* Make sure generated files are up to date
2019-09-21 16:12:03 -04:00
Jason Kuhrt 03da1ffb76 doc: clarify example
closes prisma/nexus-prisma#360
2019-09-10 14:47:47 -04:00
Jason Kuhrt 32565835a6 v0.12.0-beta.9 2019-09-02 21:23:21 -04:00