Evans Hauser
9af856c2c8
Typescript Improvements and esModuleInterop fix ( #1210 )
...
* add string input to gql tag
* remove esModuleInterop, tested locally
* change IMPORT_FUNCTION to something real
* fix the rest of the tests
2018-06-20 16:21:50 -07:00
Martijn Walraven
685d3399db
Apollo Server 2.0 - Caching + RESTDataSource ( #1163 )
...
* Enable declarationMap in tsconfig.json
See http://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html
* Add apollo-server-caching package and improve typings
* Remove superfluous test steps
* Add .npmignore to apollo-server-caching
* Add apollo-server-env and apollo-datasource-rest packages
* Fix broken imports
* Use prepublish instead of prepare
* cache is now passed to data sources from ApolloServer constructor
* fix Object.values to use the object passed in rather than this
* add initial datasource test
* docs: initial data source documentation
* docs: initial data source documentation
* compiles and documentation now highlights code in data-sources.md
* Some changes to the data source docs
2018-06-14 23:13:33 -07:00
Evans Hauser
e66f6db413
fix: support Node 6 ( #1171 )
2018-06-13 14:56:09 -07:00
Martijn Walraven
e4164c8892
Enable esModuleInterop and fix imports
...
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html
2018-06-11 14:25:59 +02:00
Martijn Walraven
0aff6c8c40
Update compilation target to ES2017 and fix issus
2018-06-11 13:06:31 +02:00
David Glasser
836616bd04
Turn on noUnusedLocals and noUnusedParameters ( #1126 )
2018-06-01 15:16:16 -07:00
Evans Hauser
072aef410b
tsconfig: remove typeRoots from tsconfig and automatic retreival of node types
2018-05-21 15:29:37 -07:00
Evans Hauser
04006e4bb4
build: skipLibraryChecks when compiling
2018-05-20 21:05:52 -07:00
Evans Hauser
138a0b55f2
build: readd @types/node and type configuration for tsconfig
2018-05-20 21:05:11 -07:00
Evans Hauser
aad7c39001
build: update dependencies and remove extra node typings
2018-05-20 03:52:54 -07:00
James Baxley
68dec79529
clean up and move pieces around
2018-05-11 15:53:14 -07:00
Laurin Quast
df51fd90da
Setup prettier ( #724 )
...
* Setup prettier and precommit hooks
* Format code with prettier
* Use husky because it works...
* Move prettier config to .prettierrc file
* Implement fixing markdown file formatting when running lint-fix script
* Format markdown files
* Add .json file formatting
* Fixes json file formatting
* Add pretteir linting step
* Remove tslint
* Use gitignore for prettier
* Fix linting errors
* Ignore submodule folder
2018-01-08 15:08:01 -08:00
Mikhail Novikov
c51fc65da8
Add ability to provide default field resolvers ( #482 )
2017-08-02 12:20:10 +02:00
Kamil Kisiela
924d13c970
Use one central typescript configuration
2017-01-25 13:54:11 +01:00
Hagai Cohen
0c3ba91964
chore(monorepo): refactor files locations and reference
2016-10-18 09:14:32 +03:00
Nick Nance
f6f25c611e
Core refactor hapi ( #36 )
...
* Revert "get supertest working for TS"
This reverts commit 300b32fa5a
.
* initial hapi plugin
* working hapi server
* update exports for es6 support
2016-06-18 10:19:51 -07:00
Nick Nance
4e9bf5cc61
update tsc build to use es5
2016-06-14 12:04:28 -07:00
nnance
1f26bbaecc
improve typings config
2016-06-12 22:28:36 -07:00
James Baxley
b7df901124
adjusted target environment, added chai typings, and fixed a couple typescript bugs
2016-06-10 20:47:22 -04:00
Jonas Helfer
d19f31331d
initial attempt at core refactor with typescript
2016-06-10 17:05:39 -07:00