@kubb/parser
Advanced tools
Comparing version 0.0.0-canary-20240304192744 to 0.0.0-canary-20240304201505
@@ -1,4 +0,3 @@ | ||
import ts from 'typescript'; | ||
// src/factory.ts | ||
import ts from "typescript"; | ||
var { factory } = ts; | ||
@@ -343,5 +342,29 @@ var modifiers = { | ||
var createIdentifier = factory.createIdentifier; | ||
export { appendJSDocToNode, createArrayTypeNode, createEnumDeclaration, createExportDeclaration, createIdentifier, createImportDeclaration, createIndexSignature, createIntersectionDeclaration, createJSDoc, createLiteralTypeNode, createNamespaceDeclaration, createNull, createNumericLiteral, createOmitDeclaration, createParameterSignature, createPropertySignature, createQuestionToken, createStringLiteral, createTupleDeclaration, createTypeAliasDeclaration, createTypeLiteralNode, createTypeReferenceNode, createUnionDeclaration, keywordTypeNodes, modifiers }; | ||
//# sourceMappingURL=out.js.map | ||
export { | ||
appendJSDocToNode, | ||
createArrayTypeNode, | ||
createEnumDeclaration, | ||
createExportDeclaration, | ||
createIdentifier, | ||
createImportDeclaration, | ||
createIndexSignature, | ||
createIntersectionDeclaration, | ||
createJSDoc, | ||
createLiteralTypeNode, | ||
createNamespaceDeclaration, | ||
createNull, | ||
createNumericLiteral, | ||
createOmitDeclaration, | ||
createParameterSignature, | ||
createPropertySignature, | ||
createQuestionToken, | ||
createStringLiteral, | ||
createTupleDeclaration, | ||
createTypeAliasDeclaration, | ||
createTypeLiteralNode, | ||
createTypeReferenceNode, | ||
createUnionDeclaration, | ||
keywordTypeNodes, | ||
modifiers | ||
}; | ||
//# sourceMappingURL=factory.js.map |
@@ -1,5 +0,4 @@ | ||
import path from 'path'; | ||
import ts2 from 'typescript'; | ||
// src/api.ts | ||
import path from "path"; | ||
import ts from "typescript"; | ||
function getExports(filePath) { | ||
@@ -10,3 +9,3 @@ const rootName = path.extname(filePath) ? filePath : `${filePath}.ts`; | ||
} | ||
const program = ts2.createProgram({ | ||
const program = ts.createProgram({ | ||
rootNames: [rootName], | ||
@@ -34,2 +33,5 @@ options: {} | ||
} | ||
// src/print.ts | ||
import ts2 from "typescript"; | ||
var { factory } = ts2; | ||
@@ -62,5 +64,7 @@ var escapeNewLines = (code) => code.replace(/\n\n/g, "\n/* :newline: */"); | ||
} | ||
export { getExports, parse, print }; | ||
//# sourceMappingURL=out.js.map | ||
export { | ||
getExports, | ||
parse, | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@kubb/parser", | ||
"version": "0.0.0-canary-20240304192744", | ||
"version": "0.0.0-canary-20240304201505", | ||
"description": "Generator parser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
123579
1502