@teleporthq/teleport-component-generator
Advanced tools
Comparing version 0.32.3 to 0.32.4
@@ -66,3 +66,5 @@ "use strict"; | ||
var generateComponent = function (input, options) { | ||
if (options === void 0) { options = {}; } | ||
if (options === void 0) { options = { | ||
extractedResources: {}, | ||
}; } | ||
return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -69,0 +71,0 @@ var cleanedUIDL, schemaValidator, schemaValidationResult, componentUIDL, valid, uidl, contentValidationResult, resolvedUIDL, _a, chunks, externalDependencies, codeChunks, fileName, styleFileName, templateFileName, files; |
@@ -60,3 +60,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
var generateComponent = function (input, options) { | ||
if (options === void 0) { options = {}; } | ||
if (options === void 0) { options = { | ||
extractedResources: {}, | ||
}; } | ||
return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -63,0 +65,0 @@ var cleanedUIDL, schemaValidator, schemaValidationResult, componentUIDL, valid, uidl, contentValidationResult, resolvedUIDL, _a, chunks, externalDependencies, codeChunks, fileName, styleFileName, templateFileName, files; |
{ | ||
"name": "@teleporthq/teleport-component-generator", | ||
"version": "0.32.3", | ||
"version": "0.32.4", | ||
"description": "Bare-bone component generator on top of which you can add plugins, mappings and post processing functions", | ||
@@ -30,8 +30,8 @@ "author": "teleportHQ", | ||
"@starptech/prettyhtml-hast-to-html": "^0.10.0", | ||
"@teleporthq/teleport-shared": "^0.32.3", | ||
"@teleporthq/teleport-types": "^0.32.3", | ||
"@teleporthq/teleport-uidl-resolver": "^0.32.3", | ||
"@teleporthq/teleport-uidl-validator": "^0.32.3" | ||
"@teleporthq/teleport-shared": "^0.32.4", | ||
"@teleporthq/teleport-types": "^0.32.4", | ||
"@teleporthq/teleport-uidl-resolver": "^0.32.4", | ||
"@teleporthq/teleport-uidl-validator": "^0.32.4" | ||
}, | ||
"gitHead": "891708b576d816bfd3d47c8d894f64f654ccc903" | ||
"gitHead": "3cd81f19b5358e1b5f71e7c9ef610258fc3f0210" | ||
} |
@@ -29,3 +29,5 @@ import { Validator, Parser } from '@teleporthq/teleport-uidl-validator' | ||
input: Record<string, unknown>, | ||
options: GeneratorOptions = {} | ||
options: GeneratorOptions = { | ||
extractedResources: {}, | ||
} | ||
): Promise<CompiledComponent> => { | ||
@@ -32,0 +34,0 @@ let cleanedUIDL = input |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
138828
1202