@jsonpang/openapi-react-query-code-generator
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "@jsonpang/openapi-react-query-code-generator", | ||
"description": "Uses openapi-typescript-codegen under the hood, and then analyzes the TypeScript AST of the generated files to create TanStack React Query hooks. Supports server-sided rendering w/ NextJS by using client instances of openapi-typescript-codegen.", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "@tanstack/react-query": "^5.17.15", |
@@ -93,3 +93,2 @@ "use strict"; | ||
async function generateReactQueryHooksFile({ methods, outputPath, }) { | ||
console.log("Methods:", methods); | ||
const project = new ts_morph_1.Project({ | ||
@@ -96,0 +95,0 @@ compilerOptions: { |
{ | ||
"name": "@jsonpang/openapi-react-query-code-generator", | ||
"description": "Uses openapi-typescript-codegen under the hood, and then analyzes the TypeScript AST of the generated files to create TanStack React Query hooks. Supports server-sided rendering w/ NextJS by using client instances of openapi-typescript-codegen.", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "@tanstack/react-query": "^5.17.15", |
@@ -144,3 +144,2 @@ import { generate as openapiTypescriptCodegenWriter } from "openapi-typescript-codegen"; | ||
}) { | ||
console.log("Methods:", methods); | ||
const project = new Project({ | ||
@@ -147,0 +146,0 @@ compilerOptions: { |
Sorry, the diff of this file is not supported yet
31171
699