mirror of
https://github.com/ritz078/transform.git
synced 2026-11-28 11:54:24 +03:00
upgrade dependencies (#184)
* upgrade dependencies * upgrade dependencies * format code * update nextjs * fixes * chore: update graphql generator * fixes * fixes * fixes
This commit is contained in:
1 parent
b69461b66e
commit
618bd8d5bc
88 files changed
+3427
-3350
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user