upgrade dependencies (#184)

* upgrade dependencies

* upgrade dependencies

* format code

* update nextjs

* fixes

* chore: update graphql generator

* fixes

* fixes

* fixes
This commit is contained in:
Ritesh Kumar authored and GitHub committed 2020-06-06 03:50:58 +05:30
1 parent b69461b66e
commit 618bd8d5bc
88 files changed
+3427 -3350

No files matched your search

+2 -2
View File
@@ -21,12 +21,12 @@ export default (req: NextApiRequest, res: NextApiResponse) => {
emitDeclarationOnly: true,
jsx: ts.JsxEmit.React,
skipDefaultLibCheck: true,
skipLibCheck: true
skipLibCheck: true,
};
const host = ts.createCompilerHost(options);
host.getSourceFile = filename => {
host.getSourceFile = (filename) => {
if (filename === "file.ts") {
return ts.createSourceFile(filename, tsCode, undefined);
}
+1 -1
View File
@@ -10,7 +10,7 @@ export default (req: NextApiRequest, res: NextApiResponse) => {
path: filePath,
expose: "all",
jsDoc: "extended",
type: "*"
type: "*",
};
const schema = tsj.createGenerator(config).createSchema(config.type);