code: function indexTranslations() {
    const { translations = {} } = getComponentsSettings();
  
    return index({
      file: 'translations.js',
      config: {
        type: TYPE_TRANSLATIONS,
        config: translations,
      },
      defaultContent: 'export default null;\n',
      ...getIndexLogTranslations(TYPE_TRANSLATIONS),
    });
  }
docs: Indexes the translations from extensions.
  @return {Promise}