@eclipse-che/plugin-registry-generator
Advanced tools
Comparing version 7.36.1 to 7.36.2-b
@@ -199,93 +199,93 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string[]'), | ||
(0, inversify_1.named)('ARGUMENTS'), | ||
inversify_1.inject('string[]'), | ||
inversify_1.named('ARGUMENTS'), | ||
__metadata("design:type", Array) | ||
], Build.prototype, "args", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('PLUGIN_REGISTRY_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('PLUGIN_REGISTRY_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], Build.prototype, "pluginRegistryRootDirectory", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], Build.prototype, "outputRootDirectory", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)('boolean'), | ||
(0, inversify_1.named)('SKIP_DIGEST_GENERATION'), | ||
inversify_1.inject('boolean'), | ||
inversify_1.named('SKIP_DIGEST_GENERATION'), | ||
__metadata("design:type", Boolean) | ||
], Build.prototype, "skipDigests", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(featured_analyzer_1.FeaturedAnalyzer), | ||
inversify_1.inject(featured_analyzer_1.FeaturedAnalyzer), | ||
__metadata("design:type", featured_analyzer_1.FeaturedAnalyzer) | ||
], Build.prototype, "featuredAnalyzer", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator), | ||
inversify_1.inject(che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator), | ||
__metadata("design:type", che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator) | ||
], Build.prototype, "cheTheiaPluginsMetaYamlGenerator", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator), | ||
inversify_1.inject(che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator), | ||
__metadata("design:type", che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator) | ||
], Build.prototype, "cheTheiaPluginsYamlGenerator", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator), | ||
inversify_1.inject(che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator), | ||
__metadata("design:type", che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator) | ||
], Build.prototype, "cheEditorsMetaYamlGenerator", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator), | ||
inversify_1.inject(che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator), | ||
__metadata("design:type", che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator) | ||
], Build.prototype, "chePluginsMetaYamlGenerator", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(meta_yaml_writer_1.MetaYamlWriter), | ||
inversify_1.inject(meta_yaml_writer_1.MetaYamlWriter), | ||
__metadata("design:type", meta_yaml_writer_1.MetaYamlWriter) | ||
], Build.prototype, "metaYamlWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter), | ||
inversify_1.inject(che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter), | ||
__metadata("design:type", che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter) | ||
], Build.prototype, "cheTheiaPluginsYamlWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(external_images_writer_1.ExternalImagesWriter), | ||
inversify_1.inject(external_images_writer_1.ExternalImagesWriter), | ||
__metadata("design:type", external_images_writer_1.ExternalImagesWriter) | ||
], Build.prototype, "externalImagesWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(index_writer_1.IndexWriter), | ||
inversify_1.inject(index_writer_1.IndexWriter), | ||
__metadata("design:type", index_writer_1.IndexWriter) | ||
], Build.prototype, "indexWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(digest_images_helper_1.DigestImagesHelper), | ||
inversify_1.inject(digest_images_helper_1.DigestImagesHelper), | ||
__metadata("design:type", digest_images_helper_1.DigestImagesHelper) | ||
], Build.prototype, "digestImagesHelper", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(featured_writer_1.FeaturedWriter), | ||
inversify_1.inject(featured_writer_1.FeaturedWriter), | ||
__metadata("design:type", featured_writer_1.FeaturedWriter) | ||
], Build.prototype, "featuredWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(recommendations_analyzer_1.RecommendationsAnalyzer), | ||
inversify_1.inject(recommendations_analyzer_1.RecommendationsAnalyzer), | ||
__metadata("design:type", recommendations_analyzer_1.RecommendationsAnalyzer) | ||
], Build.prototype, "recommendationsAnalyzer", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(recommendations_writer_1.RecommendationsWriter), | ||
inversify_1.inject(recommendations_writer_1.RecommendationsWriter), | ||
__metadata("design:type", recommendations_writer_1.RecommendationsWriter) | ||
], Build.prototype, "recommendationsWriter", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(vsix_url_analyzer_1.VsixUrlAnalyzer), | ||
inversify_1.inject(vsix_url_analyzer_1.VsixUrlAnalyzer), | ||
__metadata("design:type", vsix_url_analyzer_1.VsixUrlAnalyzer) | ||
], Build.prototype, "vsixUrlAnalyzer", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer), | ||
inversify_1.inject(che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer), | ||
__metadata("design:type", che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer) | ||
], Build.prototype, "cheTheiaPluginsAnalyzer", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_editors_analyzer_1.CheEditorsAnalyzer), | ||
inversify_1.inject(che_editors_analyzer_1.CheEditorsAnalyzer), | ||
__metadata("design:type", che_editors_analyzer_1.CheEditorsAnalyzer) | ||
], Build.prototype, "cheEditorsAnalyzer", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(che_plugins_analyzer_1.ChePluginsAnalyzer), | ||
inversify_1.inject(che_plugins_analyzer_1.ChePluginsAnalyzer), | ||
__metadata("design:type", che_plugins_analyzer_1.ChePluginsAnalyzer) | ||
], Build.prototype, "chePluginsAnalyzer", void 0); | ||
Build = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], Build); | ||
exports.Build = Build; | ||
//# sourceMappingURL=build.js.map |
@@ -34,5 +34,5 @@ "use strict"; | ||
ChePluginsAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], ChePluginsAnalyzer); | ||
exports.ChePluginsAnalyzer = ChePluginsAnalyzer; | ||
//# sourceMappingURL=che-plugins-analyzer.js.map |
@@ -87,9 +87,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(volume_mount_helper_1.VolumeMountHelper), | ||
inversify_1.inject(volume_mount_helper_1.VolumeMountHelper), | ||
__metadata("design:type", volume_mount_helper_1.VolumeMountHelper) | ||
], ChePluginsMetaYamlGenerator.prototype, "volumeMountHelper", void 0); | ||
ChePluginsMetaYamlGenerator = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], ChePluginsMetaYamlGenerator); | ||
exports.ChePluginsMetaYamlGenerator = ChePluginsMetaYamlGenerator; | ||
//# sourceMappingURL=che-plugins-meta-yaml-generator.js.map |
@@ -34,5 +34,5 @@ "use strict"; | ||
CheTheiaPluginsAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheTheiaPluginsAnalyzer); | ||
exports.CheTheiaPluginsAnalyzer = CheTheiaPluginsAnalyzer; | ||
//# sourceMappingURL=che-theia-plugins-analyzer.js.map |
@@ -236,9 +236,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(sidecar_1.Sidecar), | ||
inversify_1.inject(sidecar_1.Sidecar), | ||
__metadata("design:type", sidecar_1.Sidecar) | ||
], CheTheiaPluginsMetaYamlGenerator.prototype, "sidecar", void 0); | ||
CheTheiaPluginsMetaYamlGenerator = CheTheiaPluginsMetaYamlGenerator_1 = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheTheiaPluginsMetaYamlGenerator); | ||
exports.CheTheiaPluginsMetaYamlGenerator = CheTheiaPluginsMetaYamlGenerator; | ||
//# sourceMappingURL=che-theia-plugins-meta-yaml-generator.js.map |
@@ -149,9 +149,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(sidecar_1.Sidecar), | ||
inversify_1.inject(sidecar_1.Sidecar), | ||
__metadata("design:type", sidecar_1.Sidecar) | ||
], CheTheiaPluginsYamlGenerator.prototype, "sidecar", void 0); | ||
CheTheiaPluginsYamlGenerator = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheTheiaPluginsYamlGenerator); | ||
exports.CheTheiaPluginsYamlGenerator = CheTheiaPluginsYamlGenerator; | ||
//# sourceMappingURL=che-theia-plugins-yaml-generator.js.map |
@@ -101,15 +101,15 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], CheTheiaPluginsYamlWriter.prototype, "outputRootDirectory", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)('boolean'), | ||
(0, inversify_1.named)('EMBED_VSIX'), | ||
inversify_1.inject('boolean'), | ||
inversify_1.named('EMBED_VSIX'), | ||
__metadata("design:type", Boolean) | ||
], CheTheiaPluginsYamlWriter.prototype, "embedVsix", void 0); | ||
CheTheiaPluginsYamlWriter = CheTheiaPluginsYamlWriter_1 = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheTheiaPluginsYamlWriter); | ||
exports.CheTheiaPluginsYamlWriter = CheTheiaPluginsYamlWriter; | ||
//# sourceMappingURL=che-theia-plugins-yaml-writer.js.map |
@@ -55,9 +55,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(volume_mount_helper_1.VolumeMountHelper), | ||
inversify_1.inject(volume_mount_helper_1.VolumeMountHelper), | ||
__metadata("design:type", volume_mount_helper_1.VolumeMountHelper) | ||
], ContainerHelper.prototype, "volumeMountHelper", void 0); | ||
ContainerHelper = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], ContainerHelper); | ||
exports.ContainerHelper = ContainerHelper; | ||
//# sourceMappingURL=container-helper.js.map |
@@ -37,5 +37,5 @@ "use strict"; | ||
EndpointsHelper = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], EndpointsHelper); | ||
exports.EndpointsHelper = EndpointsHelper; | ||
//# sourceMappingURL=endpoints-helper.js.map |
@@ -33,5 +33,5 @@ "use strict"; | ||
VolumeMountHelper = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], VolumeMountHelper); | ||
exports.VolumeMountHelper = VolumeMountHelper; | ||
//# sourceMappingURL=volume-mount-helper.js.map |
@@ -64,3 +64,3 @@ "use strict"; | ||
components.unshift(component); | ||
return components; | ||
return components.map(iteratingComponent => JSON.parse(JSON.stringify(iteratingComponent).replace(/127\.0\.0\.1/g, '0.0.0.0'))); | ||
} | ||
@@ -133,2 +133,5 @@ convert(inputMetaYaml) { | ||
} | ||
components = components.filter(function (item, pos, self) { | ||
return self.findIndex(value => value.name === item.name) === pos; | ||
}); | ||
devfileYaml.components = components; | ||
@@ -139,5 +142,5 @@ return devfileYaml; | ||
MetaYamlToDevfileYaml = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], MetaYamlToDevfileYaml); | ||
exports.MetaYamlToDevfileYaml = MetaYamlToDevfileYaml; | ||
//# sourceMappingURL=meta-yaml-to-devfile-yaml.js.map |
@@ -34,5 +34,5 @@ "use strict"; | ||
CheEditorsAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheEditorsAnalyzer); | ||
exports.CheEditorsAnalyzer = CheEditorsAnalyzer; | ||
//# sourceMappingURL=che-editors-analyzer.js.map |
@@ -93,13 +93,13 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(endpoints_helper_1.EndpointsHelper), | ||
inversify_1.inject(endpoints_helper_1.EndpointsHelper), | ||
__metadata("design:type", endpoints_helper_1.EndpointsHelper) | ||
], CheEditorsMetaYamlGenerator.prototype, "endpointsHelper", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(container_helper_1.ContainerHelper), | ||
inversify_1.inject(container_helper_1.ContainerHelper), | ||
__metadata("design:type", container_helper_1.ContainerHelper) | ||
], CheEditorsMetaYamlGenerator.prototype, "containerHelper", void 0); | ||
CheEditorsMetaYamlGenerator = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], CheEditorsMetaYamlGenerator); | ||
exports.CheEditorsMetaYamlGenerator = CheEditorsMetaYamlGenerator; | ||
//# sourceMappingURL=che-editors-meta-yaml-generator.js.map |
@@ -55,10 +55,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('DOWNLOAD_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('DOWNLOAD_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], VsixDownload.prototype, "downloadRootDirectory", void 0); | ||
VsixDownload = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], VsixDownload); | ||
exports.VsixDownload = VsixDownload; | ||
//# sourceMappingURL=vsix-download.js.map |
@@ -50,5 +50,5 @@ "use strict"; | ||
VsixReadInfo = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], VsixReadInfo); | ||
exports.VsixReadInfo = VsixReadInfo; | ||
//# sourceMappingURL=vsix-read-info.js.map |
@@ -63,10 +63,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('UNPACKED_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('UNPACKED_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], VsixUnpack.prototype, "unpackedRootDirectory", void 0); | ||
VsixUnpack = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], VsixUnpack); | ||
exports.VsixUnpack = VsixUnpack; | ||
//# sourceMappingURL=vsix-unpack.js.map |
@@ -49,15 +49,15 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(vsix_download_1.VsixDownload), | ||
inversify_1.inject(vsix_download_1.VsixDownload), | ||
__metadata("design:type", vsix_download_1.VsixDownload) | ||
], VsixUrlAnalyzer.prototype, "vsixDownload", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(vsix_unpack_1.VsixUnpack), | ||
inversify_1.inject(vsix_unpack_1.VsixUnpack), | ||
__metadata("design:type", vsix_unpack_1.VsixUnpack) | ||
], VsixUrlAnalyzer.prototype, "vsixUnpack", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(vsix_read_info_1.VsixReadInfo), | ||
inversify_1.inject(vsix_read_info_1.VsixReadInfo), | ||
__metadata("design:type", vsix_read_info_1.VsixReadInfo) | ||
], VsixUrlAnalyzer.prototype, "vsixReadInfo", void 0); | ||
VsixUrlAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)(), | ||
inversify_1.injectable(), | ||
__metadata("design:paramtypes", []) | ||
@@ -64,0 +64,0 @@ ], VsixUrlAnalyzer); |
@@ -71,5 +71,5 @@ "use strict"; | ||
FeaturedAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], FeaturedAnalyzer); | ||
exports.FeaturedAnalyzer = FeaturedAnalyzer; | ||
//# sourceMappingURL=featured-analyzer.js.map |
@@ -36,10 +36,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], FeaturedWriter.prototype, "outputRootDirectory", void 0); | ||
FeaturedWriter = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], FeaturedWriter); | ||
exports.FeaturedWriter = FeaturedWriter; | ||
//# sourceMappingURL=featured-writer.js.map |
@@ -31,5 +31,3 @@ "use strict"; | ||
catch (error) { | ||
if (error instanceof Error) { | ||
console.error('stack=' + error.stack); | ||
} | ||
console.error('stack=' + error.stack); | ||
console.error('Unable to start', error); | ||
@@ -36,0 +34,0 @@ return false; |
@@ -43,9 +43,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(registry_helper_1.RegistryHelper), | ||
inversify_1.inject(registry_helper_1.RegistryHelper), | ||
__metadata("design:type", registry_helper_1.RegistryHelper) | ||
], DigestImagesHelper.prototype, "registryHelper", void 0); | ||
DigestImagesHelper = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], DigestImagesHelper); | ||
exports.DigestImagesHelper = DigestImagesHelper; | ||
//# sourceMappingURL=digest-images-helper.js.map |
@@ -51,10 +51,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], ExternalImagesWriter.prototype, "outputRootDirectory", void 0); | ||
ExternalImagesWriter = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], ExternalImagesWriter); | ||
exports.ExternalImagesWriter = ExternalImagesWriter; | ||
//# sourceMappingURL=external-images-writer.js.map |
@@ -60,10 +60,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], IndexWriter.prototype, "outputRootDirectory", void 0); | ||
IndexWriter = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], IndexWriter); | ||
exports.IndexWriter = IndexWriter; | ||
//# sourceMappingURL=index-writer.js.map |
@@ -157,19 +157,19 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], MetaYamlWriter.prototype, "outputRootDirectory", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)('boolean'), | ||
(0, inversify_1.named)('EMBED_VSIX'), | ||
inversify_1.inject('boolean'), | ||
inversify_1.named('EMBED_VSIX'), | ||
__metadata("design:type", Boolean) | ||
], MetaYamlWriter.prototype, "embedVsix", void 0); | ||
__decorate([ | ||
(0, inversify_1.inject)(meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml), | ||
inversify_1.inject(meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml), | ||
__metadata("design:type", meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml) | ||
], MetaYamlWriter.prototype, "metaYamlToDevfileYaml", void 0); | ||
MetaYamlWriter = MetaYamlWriter_1 = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], MetaYamlWriter); | ||
exports.MetaYamlWriter = MetaYamlWriter; | ||
//# sourceMappingURL=meta-yaml-writer.js.map |
@@ -91,5 +91,5 @@ "use strict"; | ||
RecommendationsAnalyzer = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], RecommendationsAnalyzer); | ||
exports.RecommendationsAnalyzer = RecommendationsAnalyzer; | ||
//# sourceMappingURL=recommendations-analyzer.js.map |
@@ -47,10 +47,10 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)('string'), | ||
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'), | ||
inversify_1.inject('string'), | ||
inversify_1.named('OUTPUT_ROOT_DIRECTORY'), | ||
__metadata("design:type", String) | ||
], RecommendationsWriter.prototype, "outputRootDirectory", void 0); | ||
RecommendationsWriter = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], RecommendationsWriter); | ||
exports.RecommendationsWriter = RecommendationsWriter; | ||
//# sourceMappingURL=recommendations-writer.js.map |
@@ -29,3 +29,3 @@ "use strict"; | ||
constructor() { | ||
this.git = (0, simple_git_1.default)({ maxConcurrentProcesses: 1 }); | ||
this.git = simple_git_1.default({ maxConcurrentProcesses: 1 }); | ||
} | ||
@@ -50,3 +50,3 @@ init() { | ||
} | ||
const dockerImageName = (0, docker_image_name_parser_1.parse)(imageName); | ||
const dockerImageName = docker_image_name_parser_1.parse(imageName); | ||
if (dockerImageName.tag === 'nightly' || dockerImageName.tag === 'next') { | ||
@@ -93,3 +93,3 @@ return imageName; | ||
__decorate([ | ||
(0, inversify_1.postConstruct)(), | ||
inversify_1.postConstruct(), | ||
__metadata("design:type", Function), | ||
@@ -100,3 +100,3 @@ __metadata("design:paramtypes", []), | ||
RegistryHelper = __decorate([ | ||
(0, inversify_1.injectable)(), | ||
inversify_1.injectable(), | ||
__metadata("design:paramtypes", []) | ||
@@ -103,0 +103,0 @@ ], RegistryHelper); |
@@ -28,3 +28,3 @@ "use strict"; | ||
constructor() { | ||
this.git = (0, simple_git_1.default)({ maxConcurrentProcesses: 1 }); | ||
this.git = simple_git_1.default({ maxConcurrentProcesses: 1 }); | ||
} | ||
@@ -59,3 +59,3 @@ init() { | ||
__decorate([ | ||
(0, inversify_1.postConstruct)(), | ||
inversify_1.postConstruct(), | ||
__metadata("design:type", Function), | ||
@@ -66,3 +66,3 @@ __metadata("design:paramtypes", []), | ||
SidecarDockerImage = SidecarDockerImage_1 = __decorate([ | ||
(0, inversify_1.injectable)(), | ||
inversify_1.injectable(), | ||
__metadata("design:paramtypes", []) | ||
@@ -69,0 +69,0 @@ ], SidecarDockerImage); |
@@ -43,9 +43,9 @@ "use strict"; | ||
__decorate([ | ||
(0, inversify_1.inject)(sidecar_docker_image_1.SidecarDockerImage), | ||
inversify_1.inject(sidecar_docker_image_1.SidecarDockerImage), | ||
__metadata("design:type", sidecar_docker_image_1.SidecarDockerImage) | ||
], Sidecar.prototype, "sidecarDockerImage", void 0); | ||
Sidecar = __decorate([ | ||
(0, inversify_1.injectable)() | ||
inversify_1.injectable() | ||
], Sidecar); | ||
exports.Sidecar = Sidecar; | ||
//# sourceMappingURL=sidecar.js.map |
{ | ||
"name": "@eclipse-che/plugin-registry-generator", | ||
"version": "7.36.1", | ||
"version": "7.36.2b", | ||
"description": "Generator of yaml files exposed by the plug-in registry.", | ||
@@ -27,7 +27,7 @@ "main": "lib/entrypoint.js", | ||
"dependencies": { | ||
"axios": "^0.21.4", | ||
"axios": "^0.21.1", | ||
"decompress": "^4.2.1", | ||
"docker-image-name-parser": "^0.1.0", | ||
"fs-extra": "^10.0.0", | ||
"glob": "^7.1.7", | ||
"fs-extra": "^9.1.0", | ||
"glob": "^7.1.6", | ||
"handlebars": "^4.7.7", | ||
@@ -40,21 +40,21 @@ "inversify": "^5.1.1", | ||
"semver": "^7.3.5", | ||
"simple-git": "^2.45.1", | ||
"tslib": "^2.3.1" | ||
"simple-git": "^2.38.0", | ||
"tslib": "^2.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/decompress": "^4.2.4", | ||
"@types/fs-extra": "^9.0.12", | ||
"@types/glob": "^7.1.4", | ||
"@types/jest": "^27.0.1", | ||
"@types/decompress": "^4.2.3", | ||
"@types/fs-extra": "^9.0.11", | ||
"@types/glob": "^7.1.3", | ||
"@types/jest": "^26.0.23", | ||
"@types/js-yaml": "^3.12.6", | ||
"@types/semver": "^7.3.8", | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
"@typescript-eslint/parser": "^4.31.1", | ||
"concurrently": "^6.2.1", | ||
"@types/semver": "^7.3.5", | ||
"@typescript-eslint/eslint-plugin": "^4.22.0", | ||
"@typescript-eslint/parser": "^4.22.0", | ||
"concurrently": "^6.0.2", | ||
"cpx": "^1.5.0", | ||
"eslint": "^7.32.0", | ||
"eslint": "^7.25.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-deprecation": "^1.2.1", | ||
"eslint-plugin-deprecation": "^1.2.0", | ||
"eslint-plugin-header": "^3.1.1", | ||
"eslint-plugin-jest": "^24.4.2", | ||
"eslint-plugin-jest": "^24.3.6", | ||
"eslint-plugin-no-null": "^1.0.2", | ||
@@ -64,10 +64,10 @@ "eslint-plugin-no-unsanitized": "^3.1.5", | ||
"import-sort-style-eslint": "^6.0.0", | ||
"jest": "^27.2.0", | ||
"prettier": "^2.4.1", | ||
"prettier-plugin-import-sort": "^0.0.7", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"prettier-plugin-import-sort": "^0.0.6", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.5", | ||
"ts-jest": "^26.5.5", | ||
"ts-mockito": "^2.6.1", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.4.3" | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.2.4" | ||
}, | ||
@@ -74,0 +74,0 @@ "jest": { |
@@ -81,3 +81,6 @@ /********************************************************************** | ||
return components; | ||
// replace 127.0.0.1 by 0.0.0.0 | ||
return components.map(iteratingComponent => | ||
JSON.parse(JSON.stringify(iteratingComponent).replace(/127\.0\.0\.1/g, '0.0.0.0')) | ||
); | ||
} | ||
@@ -183,2 +186,10 @@ | ||
} | ||
// remove duplicated components, e.g. plugins | ||
// container and init container may provide two volumes with the same name | ||
// and it is enough to have in components list only one volume definition | ||
components = components.filter(function (item, pos, self) { | ||
return self.findIndex(value => value.name === item.name) === pos; | ||
}); | ||
devfileYaml.components = components; | ||
@@ -185,0 +196,0 @@ return devfileYaml; |
#!/usr/bin/env node | ||
/********************************************************************** | ||
@@ -11,4 +12,2 @@ * Copyright (c) 2020-2021 Red Hat, Inc. | ||
***********************************************************************/ | ||
// prettier-ignore | ||
import 'reflect-metadata'; | ||
@@ -15,0 +14,0 @@ |
@@ -27,5 +27,3 @@ /********************************************************************** | ||
} catch (error) { | ||
if (error instanceof Error) { | ||
console.error('stack=' + error.stack); | ||
} | ||
console.error('stack=' + error.stack); | ||
console.error('Unable to start', error); | ||
@@ -32,0 +30,0 @@ return false; |
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
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
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
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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
552347
183
5970
1
2
+ Addedat-least-node@1.0.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
- Removedfs-extra@10.1.0(transitive)
Updatedaxios@^0.21.1
Updatedfs-extra@^9.1.0
Updatedglob@^7.1.6
Updatedsimple-git@^2.38.0
Updatedtslib@^2.2.0