contentful-typescript-codegen
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -266,3 +266,2 @@ #!/usr/bin/env node | ||
typingsSource = [ | ||
renderContentfulImports(localization), | ||
renderAllContentTypes(sortedContentTypes, localization), | ||
@@ -274,3 +273,6 @@ renderAllContentTypeIds(sortedContentTypes), | ||
].join("\n\n"); | ||
source = [renderContentfulImports(), renderNamespace(typingsSource, namespace)].join("\n\n"); | ||
source = [ | ||
renderContentfulImports(localization), | ||
renderNamespace(typingsSource, namespace), | ||
].join("\n\n"); | ||
return [4 /*yield*/, prettier.resolveConfig(process.cwd())]; | ||
@@ -277,0 +279,0 @@ case 1: |
@@ -67,3 +67,2 @@ "use strict"; | ||
typingsSource = [ | ||
renderContentfulImports_1.default(localization), | ||
renderAllContentTypes(sortedContentTypes, localization), | ||
@@ -75,3 +74,6 @@ renderAllContentTypeIds(sortedContentTypes), | ||
].join("\n\n"); | ||
source = [renderContentfulImports_1.default(), renderNamespace_1.default(typingsSource, namespace)].join("\n\n"); | ||
source = [ | ||
renderContentfulImports_1.default(localization), | ||
renderNamespace_1.default(typingsSource, namespace), | ||
].join("\n\n"); | ||
return [4 /*yield*/, prettier_1.resolveConfig(process.cwd())]; | ||
@@ -78,0 +80,0 @@ case 1: |
@@ -10,3 +10,3 @@ { | ||
}, | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"main": "dist/contentful-typescript-codegen.js", | ||
@@ -13,0 +13,0 @@ "bin": "./dist/contentful-typescript-codegen.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1141
109100